fork download
  1. <?php
  2. // This is my PHP code*/
  3.  
  4. // Вхідні значення
  5. $x1 = 2.6;
  6. $x2 = 2.8;
  7. $a = 3.0;
  8. $b = 6.0;
  9.  
  10. // Обчислення
  11. $c = (pow($x1, 2) + pow($x2, 2) - $a) / ($x1 + $b);
  12.  
  13. // Виведення результату
  14. echo "Final result c = " . round($c, 4);
  15. ?>
Success #stdin #stdout 0.03s 25924KB
stdin
Standard input is empty
stdout
Final result c = 1.3488