Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Defining a Function' topicStudent Support Forum > General > "Defining a Function"

Next Comment >Help | Reply To Topic
Author Comment/Response
RAyRAy
11/27/02 9:47pm

MathID: 6102-07465-41960
License: L2996-4944

I was trying to define a function where i find the partial derivative, but I don't know how to set it up. This is what i have so far:

Partial[x_, y_, z_] := {D[x, x], D[y, x], D[z, x]}

the x,y,z are parametrized and can be in terms for t for x,y,z or u for x and v for y and u and v for z.

I want to get the partial of x, y, z and return it to me as a vector {x,y,z}, and the partial in respect to whatever variable x will hold, not literally x. How would I get to this?

Thanks,

RAyRAy

PS this function is 1 of a series of steps.
What I am trying to do is:
Given:
x=u^2
y=v^2
z=u+2v
and a point (1,1,3) for example

I take the partial with respect to the parametric arguements u and v in this case.

Partial u = {x1,y1,z1} Cross Partial v={x2,y2,z2}

get the resulting vector = {x3,y3,z3}

then return the equation of the tangent plane at the given point:
x3(x-1) + y3(y-1) + z3(z-3)

if u work out the problem it is:
-2(x-1) -4(y-1) + 4(z-z)

is this to much for a function or should I make a program/package to use? What is the best choice and how? Thanks a lot.

RAyRAy

URL: ,

Subject (listing for 'Defining a Function')
Author Date Posted
Defining a Function RAyRAy 11/27/02 9:47pm
Re: Defining a Function Forum Modera... 12/07/02 11:35am
Next Comment >Help | Reply To Topic