- #1

- 114

- 0

For example, f is a vector function and f=(xy,yz,zx). How to define this in Mathematica and then how to calculate the value of the components of f for any number x, y, and z?

For scalar functions it goes as this:

f[x_]:=x^2

f[4]

Any idea for vectors?