print "Plotting a Spiral"
print "To plot a spiral,we need an angle theta"
var('theta')
print "Function r is given by: r=e^(theta/10)"
r=e^(theta/10)
print "Always use polar_plot() function when dealing with angles"
print "Plot can be obtained by using the function \npolar_plot(r,(theta,0,10+pi))"
polar_plot(r,(theta,0,10+pi))

Result:

Plotting a Spiral
To plot a spiral,we need an angle theta
Function r is given by: r=e^(theta/10)
Always use polar_plot() function when dealing with angles
Plot can be obtained by using the function 
polar_plot(r,(theta,0,10+pi))

Pratap-4.5.1 (last edited 2010-12-17 19:29:46 by trnkarthik)