fork download
  1. <?php
  2. /*This is my PHP code*/
  3. $u=0.0;
  4. $v=0.0;
  5. $b=0.0;
  6. echo("Please enter value for u,v\n");
  7. $u=(float)readline();
  8. echo("u=".$u."\n<br>");
  9. $v=(float)readline();
  10. echo("v=".$v."\n<br>");
  11. $b=sqrt(pow(sin(atan($u)),2)+cos($v));
  12. echo("Final result is b=".$b);
  13. ?>
Success #stdin #stdout 0.04s 26332KB
stdin
10.05
0.35
stdout
Please enter value for u,v
u=10.05
<br>v=0.35
<br>Final result is b=1.3890892813513