First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

you forgot to do

var('t')
click to hide/show revision 2
No.2 Revision

you forgot to do

var('t')

You also need to re-so assignments of x, y, and z after you set a to a particular value. I.e.

sage: a = pi/4;
sage: x = cos(a)^3;
sage: y = sin(a)^3;
sage: z = cos(2*a);
sage: pl2=parametric_plot3d( (x + t*(derivative(x)), y + t * (derivative(y)), z + t * (derivative(z))), (t,0,1), texture="red");

works just fine.

click to hide/show revision 3
No.3 Revision

you forgot to do

var('t')

You also need to re-so assignments of x, y, and z after you set a to a particular value. I.e.

sage: a = pi/4;
sage: x = cos(a)^3;
sage: y = sin(a)^3;
sage: z = cos(2*a);
sage: pl2=parametric_plot3d( (x + t*(derivative(x)), y + t * (derivative(y)), z + t * (derivative(z))), (t,0,1), texture="red");

works just fine.