Hello,
The function should be a method of a class (Obj, a planetary gear, if somebody is interested). I have 3 equations with 6 variables. 3 of the 6 variables are given and 3 are to be calculated. The thing is, that always 3 different variables are given and I have to calculate the rest:
The variables are: w(1), w(2), w(3), T(1), T(2) and T(3)
The given variables are always two of the w-array and one of the T-array.
eta0 and i0 are constants and thus already given
The equations are:
Obj.T(2)/Obj.T(1) == Obj.i0 * power(Obj.Eta0, Obj.T(1) * (Obj.w(1)-Obj.w(3))/abs(Obj.T(1) * (Obj.w(1)-Obj.w(3))))
Obj.T(1) + Obj.T(2) + Obj.T(3) = 0
Obj.w(1) - Obj.w(2) * Obj.i0 - Obj.w(3) * (1-Obj.i0) == 0
Does anyone know how to do this?
Thank you very much for the help!