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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

I am getting error as 'this value must be real'

vveeran
4-Participant

I am getting error as 'this value must be real'

Hi all,

I am getting an error as 'This value must be real when I try to plot L1 vs v'

Can somebody tell me How to overcome this error.

I attached my code below,

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
VladimirN
24-Ruby II
(To:vveeran)

Hi,

Please find edited worksheet in attachment.

Pic_1.png

Pic_2.png

Pic_3.png

View solution in original post

8 REPLIES 8
VladimirN
24-Ruby II
(To:vveeran)

Hi,

Please find edited worksheet in attachment.

Pic_1.png

Pic_2.png

Pic_3.png

I am getting an error as 'This value must be real when I try to plot L1 vs v'

What do you mean by v' ? Guess that closing apostrophe should be after "real", not after "v".

Unfortunately you did not include the region which throws the error for you.

When I plot L1 vs v it works OK and I don't get any error at all.

I am using Mathcad 15 M030.

@Vlad: Did you experience any errors? What did you change, apart from adding the plots?

Werner Exinger wrote:

... 

@Vlad: Did you experience any errors? What did you change, apart from adding the plots?

...

No, no errors were noted. I'm using the latest service release Mathcad 15 M040. Nothing, just added new plots.

So vetri veeran either found a bug in an older version of Mathcad or he did not know how to create a plot. Unfortunately he did not show what he did.

vveeran
4-Participant
(To:Werner_E)

At the beginning I got an error as, 'This value must be real when I try to plot L1 vs v'.


I think may be a bug in the older version of my mathcad.


But after Mr. VladimirN send the code after updating my code, I couldn't found any error.

Thank you all for your valuable comments.


Next time the sheet you attach should include the region which throws the error. Its easier to track down the possible cause that way.

WE

vveeran
4-Participant
(To:Werner_E)

Sure @WE

VladimirN
24-Ruby II
(To:vveeran)

You're welcome.

Top Tags