LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Constrained Non linear curve fit

Can anyone help me out to solve this equation

 

(1/((1/((1/((1/x)+(1/24950)))+(1/((1/y)+(1/10)))+499))+(1/((1/((1/z)+(1/10)))+(1/((1/w)+(1/24950)))+530.247))+(1/((1/((1/24950)+(1/7530)))+24950))))*(1.262/2200)+1.254-3.043 = 0

 

((((1/((1/y)+(1/10)))+499)*((1.254/2200)*((1/((1/((1/((1/w)+(1/24950)))+(1/((1/z)+(1/10)))+530.247))+(1/((1/((1/24950)+(1/499)))+24950)))) / ((1/((1/((1/((1/w)+(1/24950)))+(1/((1/z)+(1/10)))+530.247))+(1/((1/((1/24950)+(1/7530)))+24950))))+(((1/((1/x)+(1/24950)))+(1/((1/y)+(1+10)))+499)))))-((1/((1/z)+(1/10)))+530.247)*((1.254/2200)*((1/((1/((1/((1/24950)+(1/7530)))+24950))+(1/((1/((1/x)+(1/24950)))+(1/((1/y)+(1/10)))+499))))/((1/((1/((1/((1/x)+(1/24950)))+(1/((1/y)+(1/10)))+499))+(1/((1/((1/24950)+(1/7530)))+24950))))+(((1/((1/z)+(1/10)))+(1/((1/w)+(1+24950)))+530.247))))))*10.793587)-0.001863 = 0


((1/((1/y)+(1/10)))+499)*((1.262/2200)*((1/((1/((1/((1/w)+(1/24950)))+(1/((1/z)+(1/10)))+530.247))+(1/((1/((1/24950)+(1/7530)))+24950))))/((1/((1/((1/((1/w)+(1/24950)))+(1/((1/z)+(1/10)))+530.247))+(1/((1/((1/24950)+(1/7530)))+24950))))+(((1/((1/x)+(1/24950)))+(1/((1/y)+(1+10)))+499)))))+1.254-2.269 = 0

 

((1/((1/z)+(1/10)))+530.247)*((1.262/2200)*((1/((1/((1/((1/24950)+(1/7530)))+24950))+(1/((1/((1/x)+(1/24950)))+(1/((1/y)+(1/10)))+499))))/((1/((1/((1/((1/x)+(1/24950)))+(1/((1/y)+(1/10)))+499))+(1/((1/((1/24950)+(1/7530)))+24950))))+(((1/((1/y)+(1/10)))+(1/((1/w)+(1+24950)))+530.247)))))+1.254-2.267 = 0

0 Kudos
Message 1 of 9
(2,121 Views)

Which has four equation with 4 unknowns named w,x,y,z

0 Kudos
Message 2 of 9
(2,119 Views)

Sounds like a problem for Mathematica.

 

Bob Schor

0 Kudos
Message 3 of 9
(2,089 Views)

Try using WolframAlpha

 

I used Mathematica and NSolve(Numeric Solution), copied and pasted what you input

 

Got the following

{w->-0.0000400785,x->-783.283,y->-9.31297,z->-9.31337},

{w->-0.0000400785,x->-1075.71,y->-0.090942,z->-0.404487},

{w->-0.0000400785,x->3056.17,y->-9.95331,z->-9.95303},

{w->-0.0000400786,x->3066.58,y->-0.090909,z->-9.99787},

{w->-0.0000400786,x->1506.53,y->-10.0771,z->-9.99784},

{w->-0.0000400786,x->-11572.4,y->-9.99155,z->-10.0385},

{w->-0.0000400786,x->-16609.3,y->-0.0909093,z->-10.037},

{w->-0.0000400786,x->8273.02,y->-10.0253,z->-10.0217},

{w->1474.37,x->-11415.2,y->-9.99133,z->-10.0834},

{w->-28801.3,x->1737.29,y->-10.0713,z->-10.0433},

{w->-17582.7,x->3121.36,y->-0.0909089,z->-10.0648},

{w->15257.2,x->2745.81,y->-10.0537,z->-10.0447},

{w->1582.88,x->-17300.6,y->-0.0909092,z->-10.0807},

{w->79.9359,x->-1179.46,y->-0.0909358,z->-0.566558},

{w->1047.32,x->4442.53,y->-9.96854,z->-9.96833},

{w->39.9247,x->-806.301,y->-9.3639,z->-9.36434}

 

Multiple possible solutions

 

mcduff

 

EDIT: @ can probably give you a LabVIEW version; Copy and Paste was simpler for me. Sorry

0 Kudos
Message 4 of 9
(2,083 Views)

Why do you think this is a LabVIEW problem? Are you looking for a LabVIEW solution? What are the "constraints" you mention in the subject line? Where is the "curve" you want to fit?

0 Kudos
Message 5 of 9
(2,070 Views)

@altenbach wrote:

Are you looking for a LabVIEW solution? 


I was kind of hoping for a postage stamp sized solution, or at worst a FedEx box sized solution. 😁

 

mcduff

 

 

0 Kudos
Message 6 of 9
(2,061 Views)

@mcduff wrote:
I was kind of hoping for a postage stamp sized solution, or at worst a FedEx box sized solution. 

Worst case scenario: 😄

 

altenbach_0-1612117246188.png

 

Message 7 of 9
(2,057 Views)

I used constrained non linear curve fit labview function to solve the equation...so i mention the subject as constrained non linear curve fit......

0 Kudos
Message 8 of 9
(2,026 Views)

Here is the vi which I am trying to solve...

The calculated output using Mathcad software is x=3437.4791, y= 3462.94953, z=3440.05857, w= 3447.27228 

0 Kudos
Message 9 of 9
(2,016 Views)