| 1 | initial version |
you forgot to do
var('t')
| 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.
| 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.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.