Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. (a) Briefly describe how you would check that the curve transformation works properly.
  2. (b) Write your definition of Curve-Transform reflect_through_y_axis.
  3.  
  4. def rotate_90(curve):
  5. def rotated_curve(t):
  6. pt = curve(t)
  7. return make_point(-y_of(pt), x_of(pt))
  8. return rotated_curve
  9.  
  10. def reflect_through_y_axis(curve):
  11. def reflected_curve(t):
  12. ? ? ? ? ?
  13. return reflected_curve
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement