Skip to main content
4-Participant
April 21, 2017
Solved

I am getting error as 'All evaluations resulted in either an error or a complex result'

  • April 21, 2017
  • 3 replies
  • 3739 views

Hi all,

I am trying to plot the graph for vm = 1, 2.

But, I am getting error as 'All evaluations resulted in either an error or a complex result'

when I plot for f(x) vs x.

When I do the same program in Matlab for vm = 1, 2, I can able to get the result with no error.

My question is, in mathcad, is it difficult to plot for vm = 1, 2 ?

I attached my code below.

Could someone help me.

Best answer by AlanStevens

You are right Werner.  Careless of me!  I've attached corrected file.

Alan

3 replies

21-Topaz II
April 21, 2017

overflow.jpg

19-Tanzanite
April 21, 2017

Needs to be expressed as in the attached.

Alan

25-Diamond I
April 21, 2017

But what vetri had typed was not the b-th root but b times sqare root.

Not sure what he meant, but I guess you guessed the correct interpretation.

19-Tanzanite
April 21, 2017

broot.PNG

However, in the first form, b must be an integer.  In the second form this is not necessary.

Alan

vveeran4-ParticipantAuthor
4-Participant
April 22, 2017

Dear all,

Thank you for your comments.