Advertisement
CyberPascal

Untitled

Mar 24th, 2014
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.28 KB | None | 0 0
  1. Program Lab8_22; uses crt;
  2.  
  3. const v=3.14; t=0.25;
  4.  
  5. var x,y:real;
  6.  
  7. Begin clrscr;
  8. X:=Sin(V*T)/Cos(V*T);
  9. if (X < 0) then Y:=4
  10.            else if (X < 1) then Y:=Sqr(X)+3*X+4
  11.                            else Y:=Sqr(Sqr(X)+3*X+4);
  12. Writeln(' Ответ: ',Y:8:5);
  13. Readln;
  14. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement