cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

derivative calculation is not working like it does in Mathcad 15

rdelascasas
12-Amethyst

derivative calculation is not working like it does in Mathcad 15

Hello to all,

After converting a Mathcad 15 file to Prime 10, I encountered an issue with calculating the gradient of a vector function. While it works seamlessly in Mathcad 15, the same function does not yield the expected results in Mathcad Prime 10. 

Is there anyone familiar with this issue who can tell me what needs to be adjusted or modified in Mathcad Prime to make it work?

I am attaching a file with the function and the gradient, as I converted it from Mathcad 15 to Prime 10.

 

I really appreciate any help you can provide.

 

Rogelio

ACCEPTED SOLUTION

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

What you experience is a new bug in Prime 10 with derivatives of functions with more than 2 arguments.

A workaround I found is the addition of an assignment

Werner_E_0-1724022840669.png

Actually it does not matter if the assignment has anything to do with the function and its arguments - any dummy assignment will do.

Werner_E_0-1724023815815.png

 

The very same applies if you use the Nabla operator to define the function

Werner_E_1-1724023865794.png

 

Here some links to threads which also deal with this bug

Solved: Re: Function Worked in Prime 9, but not in Prime 1... - PTC Community

Error in a function of a root function PRIME10 - PTC Community

Solved: Re: A function or a variable name is required when... - PTC Community

 

Prime10 file attached

View solution in original post

3 REPLIES 3

Hi,

See enclosed file.

Werner_E
25-Diamond I
(To:rdelascasas)

What you experience is a new bug in Prime 10 with derivatives of functions with more than 2 arguments.

A workaround I found is the addition of an assignment

Werner_E_0-1724022840669.png

Actually it does not matter if the assignment has anything to do with the function and its arguments - any dummy assignment will do.

Werner_E_0-1724023815815.png

 

The very same applies if you use the Nabla operator to define the function

Werner_E_1-1724023865794.png

 

Here some links to threads which also deal with this bug

Solved: Re: Function Worked in Prime 9, but not in Prime 1... - PTC Community

Error in a function of a root function PRIME10 - PTC Community

Solved: Re: A function or a variable name is required when... - PTC Community

 

Prime10 file attached

Good morning Wener and Terry,

 

the solution that best worked in my spreadsheet was the one using the dummy assignation on the first derivative.

Now, I am having another issue, calculating the normal vector to a cylinder. This is also that works very well in Mathcad 15 but when I try it in Prime 10 does not work.

I do not know how to attached a file when replaying so, I will open a new thread.

 

Thank you

Rogelio

Announcements

Top Tags