Advertisement
Guest User

Untitled

a guest
Oct 19th, 2015
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XBasic 0.33 KB | None | 0 0
  1. while y <= 19.75
  2. x = 0
  3. for x = xmin to xmax step x step
  4. print "x =";
  5. print x;
  6. if y < 1 then
  7.     to4ka = x-1
  8.     print "   y = ";
  9.     print to4ka
  10.     else
  11.     if x < 3 then
  12.         to4ka = sqrt(1-(x-2)^2)
  13.         print "   y = ";
  14.         print to4ka
  15.         else
  16.         if x = 3 then
  17.             print "   y = От 0 до -1"
  18.             else
  19.             if x < 4 then
  20.             print "    y = -1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement