468,167 Members | 1,856 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,167 developers. It's quick & easy.

How to solve a three-element equation set?

Could you guys do me a favor for solving a equation set?

Z=d/4*(1-SIN(X)/X)
X=8q/(D^2*Y)+SIN(X)
Y=1/n*Z^(2/3)*i^(1/2)

In this equation set, X,Y&Z are the unkown parameters, the others say,
d, q, n&i are known. SO in python, how to program it to represent X, Y
and Z in the form of d, q, n and i?

Thanks very much.
Mar 19 '08 #1
2 1236
purple wrote:
Could you guys do me a favor for solving a equation set?

Z=d/4*(1-SIN(X)/X)
X=8q/(D^2*Y)+SIN(X)
Y=1/n*Z^(2/3)*i^(1/2)

In this equation set, X,Y&Z are the unkown parameters, the others say,
d, q, n&i are known. SO in python, how to program it to represent X, Y
and Z in the form of d, q, n and i?
Will you do your homework yourself, please?

Hint: make X, Y and Z Python functions.

-- Gerhard
Mar 19 '08 #2
En Wed, 19 Mar 2008 04:05:50 -0300, purple <ya*****@gmail.comescribió:
Could you guys do me a favor for solving a equation set?

Z=d/4*(1-SIN(X)/X)
X=8q/(D^2*Y)+SIN(X)
Y=1/n*Z^(2/3)*i^(1/2)

In this equation set, X,Y&Z are the unkown parameters, the others say,
d, q, n&i are known. SO in python, how to program it to represent X, Y
and Z in the form of d, q, n and i?
You want a numeric result, I presume. SciPy www.scipy.org has several
minimization functions.

--
Gabriel Genellina

Mar 19 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by alter | last post: by
27 posts views Thread by Alf P. Steinbach | last post: by
9 posts views Thread by claymic | last post: by
5 posts views Thread by Witless | last post: by
27 posts views Thread by John Salerno | last post: by
4 posts views Thread by Kausar.Nazir | last post: by
2 posts views Thread by Max21183 | last post: by
reply views Thread by kamranasdasdas | last post: by
reply views Thread by gcreed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.