Advertisement
Guest User

Untitled

a guest
Dec 13th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. program zaloopa;
  2. uses math;
  3. const
  4. a = -5.2;
  5. b = 4.83;
  6. c = 2;
  7. var x: real;
  8. begin
  9. x:=8.15;
  10. write('x = ',x:0:2,' f = ');
  11. writeln(sqrt(abs(a+b*power(x,3)))+c:0:5);
  12. x:=-1.5;
  13. write('x = ',x:0:1,' f = ');
  14. writeln(exp(a*sin(x)):0:5);
  15. x:=2.2;
  16. write('x = ',x:0:1,' f = ');
  17. writeln(a*ln(abs(b+c/(2*x))):0:5);
  18. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement