Advertisement
Alex_Fomin

Untitled

Dec 24th, 2015
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.31 KB | None | 0 0
  1. var
  2.   alpha, x, y: real;
  3.  
  4. begin
  5.   alpha := 4.345;
  6.   x := Sin(alpha) * (Sin(alpha) / Cos(alpha));
  7.   if x < 0 then y := Ln(x + alpha)
  8.            else if (0 <= x) and (x <= 1) then y := 1 / Ln(x + alpha)
  9.                                          else y := 2 - Ln(x + alpha);
  10.   WriteLn('Ответ: ', y:8:5);
  11. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement