fork download
  1. <?php
  2. // This is my PHP program for variant 07
  3.  
  4. // Константи
  5. $x1 = 2.6;
  6. $x2 = 2.8;
  7. $a = 3;
  8. $b = 6;
  9.  
  10. $y1 = pow($x1, 2);
  11. $y2 = pow($x2, 2);
  12. $y3 = $y1 + $y2;
  13. $y4 = $y3 - $a;
  14. $y5 = $x1 + $b;
  15. $c = $y4 / $y5;
  16.  
  17. echo "Результат c = " . round($c, 4) . "\n";
  18. ?>
  19.  
Success #stdin #stdout 0.02s 26168KB
stdin
Standard input is empty
stdout
Результат c = 1.3488