Question: Solve using the Python programming language. Submit a single script file. Please help! No idea how to do any of these! 4. Define the functions:

Solve using the Python programming language. Submit a single script file. Please help! No idea how to do any of these!  Solve using the Python programming language. Submit a single script file.

4. Define the functions: Scale(z, c) scales elements of z by the (real) scalar Trans (z, z0) translates elements of z by the complex number zo . Conju (z) returns list of complex conjugates of the elements of z Rotat (z, a) rotates elements of z by angle a (radians) As above, z is a list of complex floats. For the Rotat (z, a) function, you will need import math in your file to use the math.cos and math.sin functions. (Remember, in Python, 1j is the imaginary unit.) 5. Let zb be the bunny point cloud list and zh be the house list. On a single figure, illustrate each of the transformations applied to zb and zh: . Scaling with c 3 in red . Translation with zo = 1-2j in blue Conjugation in green . Rotation with a 3.141519 0.75 3m/4 in black Make sure to include horizontal and vertical axes. 6. Using composition of functions, show how rotation and translation are not commutative trans- formations. 7. Extra credit: Translate the bunny by 4+0j. Plot the (translated) bunny and its reflection across the line 0-/3. Include the line of reflection in your figure

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!