Ask Your Question

Dan's profile - activity

2017-12-31 14:30:51 -0500 received badge  Notable Question (source)
2017-06-04 08:52:07 -0500 received badge  Popular Question (source)
2017-04-03 22:21:45 -0500 received badge  Taxonomist
2016-12-23 11:40:32 -0500 received badge  Student (source)
2016-02-11 12:21:36 -0500 commented question How to solve polynomial equation system

Is there a specific way to check if they are computationally hard?

2016-02-10 03:48:32 -0500 commented question How to solve polynomial equation system

@kcrisman: thank you for your hint on to_poly_solve=True :)

@tmonteil: certainly!

var('delta alpha_orig alpha_v')

par1 = (delta*sin(alpha_orig) + 0)**2*sin(alpha_v)/cos(alpha_v)**2 == delta*cos(alpha_orig) + 0
par2 = (delta*sin(alpha_orig) + 2)**2*sin(alpha_v)/cos(alpha_v)**2 == delta*cos(alpha_orig) + 4
par3 = (delta*sin(alpha_orig) - 2)**2*sin(alpha_v)/cos(alpha_v)**2 == delta*cos(alpha_orig) + 4

solve([par1,par2,par3],delta, alpha_v, alpha_orig, to_poly_solve='force')

for x and y any points can be inserted. So I thought of setting up a 3x3 equation system and trying to solve a,b and d.

However doing this with plain 'solve' makes sage to run for a very long time (actually it stopped only when it ran out of memory).

Thank you in advance for any hints and with best regards Dan

2016-02-09 08:54:46 -0500 asked a question How to solve polynomial equation system

Greetings,

I'm pretty new to Sage and excited in discovering new functions and ways to solve certain problems. Previously I've been massively working with sympy for solving equation systems. However I wanted to try out Sage.

Currently I'm facing a polynomial equation system (3x3 with three unknown variables a,b,d) where the polynom is of degree 2. However the equations include also trigonometric elements such as cos(a), sin(b) etc.

How can polynomial equations with trigonometric elements be solved in sage? (under the condition that the specific equation system is solvable at all). Is there a specific solver which is recommended to use for such type of equations?

Thank you in advance for any hints and with best regards

Dan