Question: non linear system of equation

eqs.mw

 

km := 0.1784124116e-1/(6.8*e-9)

0.1784124116e-1/(6.8*e-9)

(1)

NULLNULL

kf := 3141.592654

3141.592654

(2)

up := 10

10

(3)

lw := 0.1e-1

0.1e-1

(4)

  

eq1 := C1*C2*C3*C4(C1*R2*R3*R4+C2*R1*R3*R4+C3*R1*R2*R4+C4*R1*R2*R3) = 84

C1*C2*C3*C4(C1*R2*R3*R4+C2*R1*R3*R4+C3*R1*R2*R4+C4*R1*R2*R3) = 84

(5)

eq2 := C1*C2*C3*C4(C1*C2*R3*R4+C1*C3*R2*R4+C1*C4*R2*R3+C2*C3*R1*R4+C2*C4*R1*R3+C3*C4*R1*R2) = 126

eq3 := C1*C2*C3*C4*(C1*C2*C3*R4+C1*C2*C4*R3+C1*C3*C4*R2+C2*C3*C4*R1) = 36

C1*C2*C3*C4*(C1*C2*C3*R4+C1*C2*C4*R3+C1*C3*C4*R2+C2*C3*C4*R1) = 36

(6)

eq4 := -C1*C2*C3*C4*R1*R2*R3*R4*Rin+C1^2*C2^2*C3^2*C4^2 = 0

-C1*C2*C3*C4*R1*R2*R3*R4*Rin+C1^2*C2^2*C3^2*C4^2 = 0

(7)

eq5 := C1*C2*C3*C4*(C1*C2*C3*R4+C1*C2*C4*R3+C1*C3*C4*R2+C2*C3*C4*R1)-Rin*C1^2*C2*C3*C4*R2*R3*R4-C1*C2^2*C3*C4*R1*R3*R4*Rin-C1*C2*C3^2*C4*R1*R2*R4*Rin-C1*C2*C3*C4^2*R1*R2*R3*Rin-C1*C2*C3*R1*R2*R3*R4-C1*C2*C4*R1*R2*R3*R4-C1*C3*C4*R1*R2*R3*R4-C2*C3*C4*R1*R2*R3*R4 = 0

C1*C2*C3*C4*(C1*C2*C3*R4+C1*C2*C4*R3+C1*C3*C4*R2+C2*C3*C4*R1)-Rin*C1^2*C2*C3*C4*R2*R3*R4-C1*C2^2*C3*C4*R1*R3*R4*Rin-C1*C2*C3^2*C4*R1*R2*R4*Rin-C1*C2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.1784124116e-1*Rin/(6.8*e-9)

(14)

 

NULL

Cb := C1*km/kf

0.5679043442e-5*C1/(6.8*e-9)

(15)

 

Download eqs.mw

#im tryin to solve 9 equation having 9 varibales but the fsolve doesnt solve for C1 to R4, what i am doing wrong??

Please Wait...