Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can i plot this surface?

I want to plot surface f(x,y) below

f(x,y) = x^2
x = rcos(theta)
y = r
sin(theta)
(theta, 0, 2*pi)
(r, 0, 1 - cos(theta))

I tried this:

theta, r = var('theta r')
x = r*cos(theta)
y = r*sin(theta)
parametric_plot3d((x, y, x^2), (theta, 0, 2*pi), (r, 0, 1 - cos(theta)))

but i got error.

In wolfram, i can plot this surface by this code below.

x = r*Cos[t]
y = r*Sin[t]

ParametricPlot3D[
    {x, y, x^2},
    {t, 0, 2*Pi},
    {r, 0, 1 - Cos[t]}
]

How can i plot this surface?

I want to plot surface f(x,y) below

f(x,y) = x^2
x = rcos(theta)
y = r
sin(theta)
(theta, 0, 2*pi)
(r, 0, 1 - cos(theta))

I tried this:

theta, r = var('theta r')
x = r*cos(theta)
y = r*sin(theta)
parametric_plot3d((x, y, x^2), (theta, 0, 2*pi), (r, 0, 1 - cos(theta)))

but i got error.

In wolfram, i can plot this surface by this code below.

x = r*Cos[t]
y = r*Sin[t]

ParametricPlot3D[
    {x, y, x^2},
    {t, 0, 2*Pi},
    {r, 0, 1 - Cos[t]}
]

How can i plot this surface?

I want to plot surface f(x,y) below

f(x,y) = x^2
x = rcos(theta)
y = r
sin(theta)
(theta, 0, 2*pi)
(r, 0, 1 - cos(theta))

I tried this:

theta, r = var('theta r')
x = r*cos(theta)
y = r*sin(theta)
parametric_plot3d((x, y, x^2), (theta, 0, 2*pi), (r, 0, 1 - cos(theta)))

but i got error.

In wolfram, i can plot this surface by this code below.

x = r*Cos[t]
y = r*Sin[t]

ParametricPlot3D[
    {x, y, x^2},
    {t, 0, 2*Pi},
    {r, 0, 1 - Cos[t]}
]

How can i plot this surface?Parametric surface with the range of one variable depending on the other variable

I want to plot surface f(x,y) f(x,y) below

f(x,y)

f(x, y) = x^2 
x^2 x = rcos(theta)
r*cos(theta) y = rsin(theta)
r*sin(theta) (theta, 0, 2*pi)
2*pi) (r, 0, 1 - cos(theta))

cos(theta))

I tried this:

theta, r = var('theta r')
x = r*cos(theta)
y = r*sin(theta)
parametric_plot3d((x, y, x^2), (theta, 0, 2*pi), (r, 0, 1 - cos(theta)))

but i got it results in an error.

In wolfram, Wolfram, i can plot this surface by this code below.

x = r*Cos[t]
y = r*Sin[t]

ParametricPlot3D[
    {x, y, x^2},
    {t, 0, 2*Pi},
    {r, 0, 1 - Cos[t]}
]