Hi!
I'd like to solve the following system of trigonometric equation:
(R+r)*cos(gamma1) + r*cos(k*gamma1+alpha_0) == (R+r)*cos(gamma2) + r*cos(k*
gamma2+alpha_1)
(R+r)*cos(gamma1) + r*cos(k*gamma1+alpha_0) == (R+r)*cos(gamma2) + r*cos(k*
gamma2+alpha_1)
where:
gamma1, gamma2 = var('gamma1, gamma2')
R=100
r=10
k=30
alpha_0 = 0
alpha_1 = pi/2
I tried the followin code:
R = 100
r = 10
k = 30
alpha_0 = 0
alpha_1 = pi/2
gamma1, gamma2 = var('gamma1, gamma2')
solve([(R+r)*cos(gamma1) + r*cos(k*gamma1+alpha_0) - (R+r)*cos(gamma2) + r*
cos(k*gamma2+alpha_1), (R+r)*cos(gamma1) + r*cos(k*gamma1+alpha_0) - (R+r)*
cos(gamma2) + r*cos(k*gamma2+alpha_1)], (gamma1, gamma2))
Sympy solve it too long and I can't wait for result.
Thanks in advance, Andrei.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/3c03b40c-56d3-4155-93ff-fa1680c9fb37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.