A parametric equation is given by 312 13 31 Note that the de

A parametric equation is given by: 312 13 31 (Note that the denominator approaches 0 when / approaches -1.) Plot the func- tion (the plot is called the Folium of Descartes) by plotting two curves in the same plot-one for -30 sis-1.6 and the other for -0.6sIs40

Solution

import matplotlib.pyplot as plt import numpy as np t = np.arange(-30.0, -1.60, 0.01) x = 3*t/(1+t^3) y = 3*t^2/(1+t^3) plt.plot(t, x) plt.hold on plt.plot(t, y) ----------------------------- Code for second figure import matplotlib.pyplot as plt import numpy as np t = np.arange(-0.6, 40, 0.01) x = 3*t/(1+t^3) y = 3*t^2/(1+t^3) plt.plot(t, x) plt.hold on plt.plot(t, y)
 A parametric equation is given by: 312 13 31 (Note that the denominator approaches 0 when / approaches -1.) Plot the func- tion (the plot is called the Folium

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site