Skip to main content
1-Visitor
January 7, 2019
Question

Root error interval signs

  • January 7, 2019
  • 2 replies
  • 8544 views

Hello Friends,

 

I am trying to plot something as attached below. Where v2 is a function of v1 and varies according to third variable k.v2.JPG

v1 is given by an equation as :

v1.JPG

 

Now as for programming purpose, v1 equation is given as

 

v2 equation.JPG

 

But when I am trying to solve the equation using root of function k, v1 as for v2, it produce an error that end points of interval must be of opposite signs. Whereas, v2 value can not be in negative as shown in graph above. I have assigned rang from 0 to 4 as mentioned in vertical axis of graph.

Can anyone please explain or tell me why I am getting this error and how to solve this problem.

 

Thanks !!

 

2 replies

24-Ruby IV
January 7, 2019

The first formal analyze your calculation - the creating one user function: 

 

v1v2.png 

Show please the article or the book with this formulas!  

ygupta1-VisitorAuthor
1-Visitor
January 7, 2019

There is one more equation given for the reference. I am not sure whether I am using the correct function or not.

 

tpi.JPG

21-Topaz II
January 7, 2019

Hi,

 

Capture.JPG

First these are functions of "k".  They should be carried over into function for v2 "f_v2"

Capture2.JPG

you need a small correction in the last term of function "f_v2(k)" to match what you provided.

Capture3.JPG

The root of the equations (where they cross v1 axis with v2 = 0) is by inspection 0,0

 

With what you have provided v1 does not appear in the equation for v2??