hozer

Delphi - lab1

Mar 17th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.26 KB | None | 0 0
  1. program lab1;
  2. Uses Math;
  3.  
  4. var a, b, f: real;
  5. begin
  6.   writeln('Input a: ');
  7.   readln(a);
  8.   writeln('input b: ');
  9.   readln(b);
  10.   f := (8.15*power(b, 1/3)*Ln(a))/(24.38*cos(b)*(exp(a)+power(a, a)));
  11.   writeln('f = ', f:10:6);
  12.   readln;
  13. end.
Advertisement
Add Comment
Please, Sign In to add comment