LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Curve Fitting

Solved!
Go to solution

Hi,

 

I want to fit a curve using an equation.

Before fitting the curve, I have to find zeros (roots) of an equation using Bisection (Dichotomy) method.

In the method I am getting wrong value

the equation is as follows

H1= HR*cos(th-tm)-4*pi*M*(cos(tm))**2;
   H2=HR*cos(th-tm)-4*pi*M*cos(2*tm);
    
      F = 9E9- ((g*b)/(2*h*pi))*sqrt(H1*H2);

 

g=2, b= 9.27E-24, h=6.6E-34

 

will appreciate your effort

0 Kudos
Message 1 of 3
(3,302 Views)
Solution
Accepted by topic author learn123

Is this a LabVIEW question or a maths question? Have you written code to calculate the result of the equation and it is returning the wrong result? If so, you should post your code, some sample data and the expected result so we can try to help.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 3
(3,271 Views)

Thanks for your kind words.

I have solved the problem

0 Kudos
Message 3 of 3
(3,075 Views)