Advertisement
Alex_Fomin

Untitled

Dec 21st, 2015
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.29 KB | None | 0 0
  1. begin
  2.   var a := ReadLnReal('Введите число A:');
  3.   var b := ReadLnReal('Введите число B:');
  4.   var x := ReadLnReal('Введите число X:');
  5.   WriteLn('Ответ: Y=',x >= 1 ? Exp(x) + 1 : (0 < x) and (x < 1) ? (1+Cos(2*Sqrt(a*x)))/2 : Ln(b + Sqrt(Abs(x))));
  6. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement