Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Translate the entire conversation x

Partial Derivatives in Prime

FC_10037391
10-Marble

Partial Derivatives in Prime

How an I get results for partial derivate in Mathcad prime? 
 Where E:= V/d*k

FC_10037391_0-1738146822066.png

 

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:FC_10037391)

You may note the slight difference between "stdev" and "Stdev", which is of course all the greater the smaller the data sample is.

 

Werner_E_1-1738323907719.png

 

See Variance and Standard Deviation

 

View solution in original post

7 REPLIES 7
Cornel
19-Tanzanite
(To:FC_10037391)

Cornel_0-1738147500907.png

 

Werner_E
25-Diamond I
(To:FC_10037391)

Additional to what Cornel wrote, you can also get all three results in one go by using the Nabla operator (gradient)

Werner_E_0-1738164239134.png

 

Using the symbolic engine, you can even define the function without explicitly specifying the function arguments and thus use a notation similar to the one you used in the question. However, I don't really recommend doing so.

Werner_E_2-1738164649990.png

 

 

 

Thank you for you help. Are there any functions in Prime that would help me to get the standard deviation and mean value of a matrix generated by random numbers?

LucMeekes
23-Emerald III
(To:FC_10037391)

How about the built in functions 

stdev()

mean()

?

Check the help info to find out how to use them.

 

Success!

Luc

Werner_E
25-Diamond I
(To:FC_10037391)

You may note the slight difference between "stdev" and "Stdev", which is of course all the greater the smaller the data sample is.

 

Werner_E_1-1738323907719.png

 

See Variance and Standard Deviation

 

I want to plot the results but runif values doesn't make any sense could you help me over here 

Werner_E
25-Diamond I
(To:FC_10037391)

 


@FC_10037391 wrote:

I want to plot the results but runif values doesn't make any sense could you help me over here 



I am not sure what you mean.

You asked "Are there any functions in Prime that would help me to get the standard deviation and mean value of a matrix generated by random numbers?".

The questions seemed not to be related to your initial question about partial derivatives. Nonetheless you were directed to the built-in functions "mean", "stdev" and "Stdev".

For demonstration purposes I used both a vector using the uniform distribution and one using normal distribution.

 

You may remember that you never provided a worksheet to show what you actually are looking for nor had explained it in detail.
So I cannot comment on your "runif values doesn't make any sense" nor can I know what kind of "results" exactly you would like to plot.

Maybe the Histogram functions are something you are looking for?

 

But this thread started with partial derivates, drifted to mean and standard deviation and now we are talking about plots ...

I guess it may be a good idea that you start a new thread with a suitable title and explain in more detail what you are looking for - preferably also attaching a worksheet with your attempts.

Announcements

Top Tags