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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Plotting failed. Replace complex values and NaNs by real numbers.

AM_10226774
1-Newbie

Plotting failed. Replace complex values and NaNs by real numbers.

"Plotting failed. Replace complex values and NaNs by real numbers." Help!

Not sure what this issue is here. (Pretty new to prime version of Mathcad.) If someone can take a look, can't tell if something is just formatted incorrectly.

1 REPLY 1

Its not the plotting which fails, its your function M! Seems that you never tried to evaluate that function for single values.

1) In Prime a solve block is not created by writing "Given" - you have to insert the ugly looking block via the menu

2) You write m<=1 and m>=1. This would mean that you want m to be equal to 1 ???

3) What exactly do you want to minimize? Why is the first argument of minimize an "M"?

I guess that you just want to minimize phi but only with respect to the argument m and want Prime to use the provided values for T and H, right?

In Prime many things are broken compared to real Mathcad (you obviously try to duplicate a worksheet made in real Mathcad). So Prime would not allow partial arguments in functions.

This means that you will have to define an auxiliary function with only m as argument.

Did you had something like this in mind?

Werner_E_0-1648096443650.png

Werner_E_1-1648096552193.png

 

Prime6 sheet attached

 

 

Top Tags