Solved
@ppal_255687 wrote:
Thats good. But when leg = 3 it should put the point on the "Y" axis.
How can you expect a point (different from the origin) on the y-axis if you write a zero at the y placeholder???
Are there any more cases to come? leg=0, leg=4,5,... ?? What should happen if leg=6 or leg=-2 ?
You can make your function to return an appropriate 2x1 vector and plot its y-component over its x-component.
Or you may consider using appropriate complex numbers and plot Im(z) over Re(z).

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


