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

Help with plotting function

DP_9845000
2-Guest

Help with plotting function

New to Mathcad. I am stuck at this for last 3 hours. I have a V as function of x, i defined x as an array now I want to plot V(x) on y axis vs x on x axis. It shows me errors like function is not defined and value must be function. Please see and help

 

 

2 REPLIES 2
ttokoro
20-Turquoise
(To:DP_9845000)

May be you need * .

image.pngimage.pngimage.png

In case you overlooked the difference in ttokoros answer - you missed to type a multiplication sign between "w" and the opening parenthesis. Omitting this multiplication and simply typing "w(..." means that you a referring to a function w, which of course is not defined. Hence the error message.

 

Prime offers a rudimentary error trace facility.

If you type V(3ft)= you get the error saying that it must be a function:

Werner_E_0-1624924325283.png

 

If you now switch to the calculation ribbon and use the error trace facility, you are pointed to the place where the error really occurs:

Werner_E_2-1624924409048.png

Unfortunately this does not work from the error you got when you tried plotting V.

Top Tags