Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. Cx as float
  2. Cy as float
  3. Zx as float
  4. Zy as float
  5. Zxt as float
  6. Zyt as float
  7. do
  8. input "Cx> ",Cx
  9. input "Cy> ",Cy
  10. zx = 0
  11. zy = 0
  12. for t=1 to 5
  13. Zxt = Cx + Zx^2 - Zy^2
  14. Zyt = Cy + 2 * Zx * Zy
  15. Zx = Zxt
  16. Zy = Zyt
  17. print "Résultat ",t," : ",Zx," + ",Zy,"i"
  18. next t
  19. loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement