# Function value at parametric path

Hi,

How can I get the value of a 2D function, say f(x,y)=x^3+y^3, along the path determined by a parametric function, say M(x(t)=cos(t),y(t)=sint(t))?

Function value at parametric path

Hi,

How can I get the value of a 2D function, say f(x,y)=x^3+y^3, along the path determined by a parametric function, say M(x(t)=cos(t),y(t)=sint(t))?

add a comment

0

I am not sure this is what you are looking for, but I hope this helps. If not let me know what you are looking for

```
t=var('t')
x=function('x')
y=function('y')
f=x(t)^3+y(t)^3
g=f.substitute_function(x,sin).substitute_function(y,cos)
g(pi)
```

Asked: **
2012-04-20 03:59:08 -0600
**

Seen: **51 times**

Last updated: **Apr 20 '12**

Evaluating values of the Weierstrass $\wp$-function

plot issue with a self-defined piecewise function

Evenly space points along a parametric curve?

Multiple loops in an animation?

The Pleasures of 'Perp Dot' Products in Sagemath

Finding all shortest paths between given (specific) pair of vertices

how to use file to save a huge list data...and use the list elements from the file in sage?

Define vector valued function of a vector of symbolic variables?

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.