Added lot of junk laying around on harvie.cz
[mirrors/Programs.git] / php / skripty / pico.php
1 <?php
2
3 //Settings:
4 $c = 999; //Higher number = better PI
5
6 //Code:
7 $pico = 0;
8
9 $c1 = (180 / $c);
10 echo ("Debug1: ".$c1."\n");
11
12 $c2 = sin($c1);
13 echo ("Debug2: ".$c2."\n");
14
15 $pico = ( $c * $c2 );
16 echo("Short PI: " . PI() . "\n Counted PI:\n");
17 echo($pico);
18
19 ?>
This page took 0.394921 seconds and 4 git commands to generate.