Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A=B=1
- t=np.linspace(0, 2*np.pi+0.1, 1000)
- #1. α = 4 β = 3
- x1=A*np.sin(4*t)
- y1=B*np.sin(3*t)
- #2. α = 6 β = 3
- x2=A*np.sin(6*t)
- y2=B*np.sin(3*t)
- #3. α = 2 β = 5
- x3=A*np.sin(2*t)
- y3=B*np.sin(5*t)
- plt.subplot(131)
- plt.plot(x1, y1, "b-")
- plt.show()
- plt.subplot(132)
- plt.plot(x2, y2, "r-")
- plt.show()
- plt.subplot(133)
- plt.plot(x3, y3, "g-")
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement