Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to create a 3D plot of a parametric equation that requires 3 variables?

I'm try to plot (one nappe of) a cone using the paramtric formula (from https://en.wikipedia.org/wiki/Cone#Equation_form) : paramtric equation

where s , t , u range over [ 0 , θ ), [ 0 , 2 π ) , and [ 0 , h ], respectively.

I tried:

      parametric_plot3d((u*tan(s)*cos(t),u*tan(s)*sin(t),u),(u,0,20),(s,0,60*(pi/180)),(t,0,2*pi) )

but it took the third range as plot_points.

Then I tried:

    parametric_plot3d((u*tan(t/6)*cos(t),u*tan(t/6)*sin(t),u),(u,0,20),(t,0,2*pi) )

attempying to let t do double duty as s as well. It plots, but produces: image description

Which is pretty, but no cigar.

How can I achieve my goal?

How to create a 3D plot of a parametric equation that requires 3 variables?

I'm try to plot (one nappe of) a cone using the paramtric formula (from https://en.wikipedia.org/wiki/Cone#Equation_form) : paramtric equation

where s , t , u range over [ 0 , θ ), [ 0 , 2 π ) , and [ 0 , h ], respectively.

I tried:

      parametric_plot3d((u*tan(s)*cos(t),u*tan(s)*sin(t),u),(u,0,20),(s,0,60*(pi/180)),(t,0,2*pi) )

but it took the third range as plot_points.

Then I tried:

    parametric_plot3d((u*tan(t/6)*cos(t),u*tan(t/6)*sin(t),u),(u,0,20),(t,0,2*pi) )

attempying attempting to let t do double duty as s as well. also. It plots, but produces: image description

Which is pretty, but no cigar.

How can I achieve my goal?

How to create a 3D plot of a parametric equation that requires 3 variables?

I'm try to plot (one nappe of) a cone using the paramtric formula (from https://en.wikipedia.org/wiki/Cone#Equation_form) : paramtric equation

where s , t , u range over [ 0 , θ ), [ 0 , 2 π ) , and [ 0 , h ], respectively.

I tried:

      parametric_plot3d((u*tan(s)*cos(t),u*tan(s)*sin(t),u),(u,0,20),(s,0,60*(pi/180)),(t,0,2*pi) )

parametric_plot3d((utan(s)cos(t),utan(s)sin(t),u),(u,0,20),(s,0,60(pi/180)),(t,0,2pi) )

but it took the third range as plot_points.

Then I tried:

    parametric_plot3d((u*tan(t/6)*cos(t),u*tan(t/6)*sin(t),u),(u,0,20),(t,0,2*pi) )

parametric_plot3d((utan(t/6)cos(t),utan(t/6)sin(t),u),(u,0,20),(t,0,2*pi) )

attempting to let t do double duty as s also. It plots, but produces: image description

Which is pretty, but no cigar.

How can I achieve my goal?

How to create a 3D plot of a parametric equation that requires 3 variables?

I'm try to plot (one nappe of) a cone using the paramtric formula (from https://en.wikipedia.org/wiki/Cone#Equation_form) : paramtric equation

where s , t , u range over [ 0 , θ ), [ 0 , 2 π ) , and [ 0 , h ], respectively.

I tried:

parametric_plot3d((utan(s)cos(t),utan(s)sin(t),u),(u,0,20),(s,0,60(pi/180)),(t,0,2pi) )

parametric_plot3d((u*tan(s)*cos(t),u*tan(s)*sin(t),u),(u,0,20),(s,0,60*(pi/180)),(t,0,2*pi) )

but it took the third range as plot_points.

Then I tried:

parametric_plot3d((utan(t/6)cos(t),utan(t/6)sin(t),u),(u,0,20),(t,0,2*pi) )

parametric_plot3d((u*tan(t/6)*cos(t),u*tan(t/6)*sin(t),u),(u,0,20),(t,0,2*pi) )

attempting to let t do double duty as s also. It plots, but produces: image description

Which is pretty, but no cigar.

How can I achieve my goal?

How to create a 3D plot of a parametric equation that requires 3 variables?

I'm try to plot (one nappe of) a cone using the paramtric parametric formula (from https://en.wikipedia.org/wiki/Cone#Equation_form) : paramtric equationparametric equation

where s , t , u range over [ 0 , θ ), [ 0 , 2 π ) , and [ 0 , h ], respectively.

I tried:

parametric_plot3d((u*tan(s)*cos(t),u*tan(s)*sin(t),u),(u,0,20),(s,0,60*(pi/180)),(t,0,2*pi) )

but it took the third range as plot_points.

Then I tried:

parametric_plot3d((u*tan(t/6)*cos(t),u*tan(t/6)*sin(t),u),(u,0,20),(t,0,2*pi) )

attempting to let t do double duty as s also. It plots, but produces: image description

Which is pretty, but no cigar.

How can I achieve my goal?

How to create a 3D plot of a parametric equation that requires 3 variables?

I'm try to plot (one nappe of) a cone using the parametric formula (from https://en.wikipedia.org/wiki/Cone#Equation_form) : parametric equation

where s , t , u range over [ 0 , θ ), [ 0 , 2 π ) , and [ 0 , h ], respectively.

I tried:

parametric_plot3d((u*tan(s)*cos(t),u*tan(s)*sin(t),u),(u,0,20),(s,0,60*(pi/180)),(t,0,2*pi) )

but it took the third range as plot_points.

Then I tried:

parametric_plot3d((u*tan(t/6)*cos(t),u*tan(t/6)*sin(t),u),(u,0,20),(t,0,2*pi) )

attempting to let t do double duty as s also. It plots, but produces: image description

Which is pretty, but no cigar.

How can I achieve my goal?

Update: I found another formulation of the equation on the web and tried:

parametric_plot3d( ( sin(x*arctan(y/x))*sin(y*arctan(y/x)), sin(x*arctan(y/x))*cos(y*arctan(y/x)), sin(x*arctan(y/x)) ), (x,-pi,pi), (y,-pi,pi) )

And got:

bad code 2

How to create a 3D plot of a parametric equation that requires 3 variables?

I'm try to plot (one nappe of) a cone using the parametric formula (from https://en.wikipedia.org/wiki/Cone#Equation_form) : parametric equation

where s , t , u range over [ 0 , θ ), [ 0 , 2 π ) , and [ 0 , h ], respectively.

I tried:

parametric_plot3d((u*tan(s)*cos(t),u*tan(s)*sin(t),u),(u,0,20),(s,0,60*(pi/180)),(t,0,2*pi) )

but it took the third range as plot_points.

Then I tried:

parametric_plot3d((u*tan(t/6)*cos(t),u*tan(t/6)*sin(t),u),(u,0,20),(t,0,2*pi) )

attempting to let t do double duty as s also. It plots, but produces: image description

Which is pretty, but no cigar.

How can I achieve my goal?

Update: I found another formulation of the equation on the web and tried:

parametric_plot3d( ( sin(x*arctan(y/x))*sin(y*arctan(y/x)), sin(x*arctan(y/x))*cos(y*arctan(y/x)), sin(x*arctan(y/x)) ), (x,-pi,pi), (y,-pi,pi) )

And got:

bad code 2

Ditto on teh absence of stoggie.

How to create a 3D plot of a parametric equation that requires 3 variables?

I'm try to plot (one nappe of) a cone using the parametric formula (from https://en.wikipedia.org/wiki/Cone#Equation_form) : parametric equation

where s , t , u range over [ 0 , θ ), [ 0 , 2 π ) , and [ 0 , h ], respectively.

I tried:

parametric_plot3d((u*tan(s)*cos(t),u*tan(s)*sin(t),u),(u,0,20),(s,0,60*(pi/180)),(t,0,2*pi) )

but it took the third range as plot_points.

Then I tried:

parametric_plot3d((u*tan(t/6)*cos(t),u*tan(t/6)*sin(t),u),(u,0,20),(t,0,2*pi) )

attempting to let t do double duty as s also. It plots, but produces: image description

Which is pretty, but no cigar.

How can I achieve my goal?

Update: I found another formulation of the equation on the web and tried:

parametric_plot3d( ( sin(x*arctan(y/x))*sin(y*arctan(y/x)), sin(x*arctan(y/x))*cos(y*arctan(y/x)), sin(x*arctan(y/x)) ), (x,-pi,pi), (y,-pi,pi) )

And got:

bad code 2

Ditto on teh the absence of stoggie.stoggies.

How to create a 3D plot of a parametric equation that requires 3 variables?

I'm try to plot (one nappe of) a cone using the parametric formula (from https://en.wikipedia.org/wiki/Cone#Equation_form) : parametric equation

where s , t , u range over [ 0 , θ ), [ 0 , 2 π ) , and [ 0 , h ], respectively.

I tried:

parametric_plot3d((u*tan(s)*cos(t),u*tan(s)*sin(t),u),(u,0,20),(s,0,60*(pi/180)),(t,0,2*pi) )

but it took the third range as plot_points.

Then I tried:

parametric_plot3d((u*tan(t/6)*cos(t),u*tan(t/6)*sin(t),u),(u,0,20),(t,0,2*pi) )

attempting to let t do double duty as s also. It plots, but produces: image description

Which is pretty, but no cigar.

How can I achieve my goal?

Update: I found another formulation of the equation on the web and tried:

parametric_plot3d( ( sin(x*arctan(y/x))*sin(y*arctan(y/x)), sin(x*arctan(y/x))*cos(y*arctan(y/x)), sin(x*arctan(y/x)) ), (x,-pi,pi), (y,-pi,pi) )

And got:

bad code 2

Ditto on the absence of stoggies.

How to create a 3D plot of a parametric equation that requires 3 variables?

I'm try to plot (one nappe of) a cone using the parametric formula (from https://en.wikipedia.org/wiki/Cone#Equation_form) : parametric equation

where s , t , u range over [ 0 , θ ), [ 0 , 2 π ) , and [ 0 , h ], respectively.

I tried:

parametric_plot3d((u*tan(s)*cos(t),u*tan(s)*sin(t),u),(u,0,20),(s,0,60*(pi/180)),(t,0,2*pi) )

but it took the third range as plot_points.

Then I tried:

parametric_plot3d((u*tan(t/6)*cos(t),u*tan(t/6)*sin(t),u),(u,0,20),(t,0,2*pi) )

attempting to let t do double duty as s also. It plots, but produces: image description

Which is pretty, but no cigar.

How can I achieve my goal?

Update: I found another formulation of the equation on the web and tried:

parametric_plot3d( ( sin(x*arctan(y/x))*sin(y*arctan(y/x)), sin(x*arctan(y/x))*cos(y*arctan(y/x)), sin(x*arctan(y/x)) ), (x,-pi,pi), (y,-pi,pi) )

And got:

bad code 2

Ditto on the absence of stoggies.