Advertisement
Alex_Fomin

Untitled

Dec 22nd, 2015
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.43 KB | None | 0 0
  1. function f(a: real; b: real; i: integer): real;
  2. begin
  3.   Result := (Power(a - Power(-1, i + 1) * a * b * Power(i, 3), 3) * (Sin(Sqr(a) + Sqr(b)) / Cos(Sqr(a) + Sqr(b)))) / Sqrt(Sqr(a) + Sqr(b)) + (a * b * i - a) / Sqrt(Sqr(a) + Sqr(b));
  4. end;
  5.  
  6. begin
  7.   WriteLn('Результат: ', f(ReadLnReal('Введите число A:'), ReadLnReal('Введите число B:'), ReadLnInteger('Введите число i:')):8:5);
  8. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement