Ask Your Question
1

Solving a trigonometric equation

asked 2016-08-12 12:48:56 -0500

Romuald_314 gravatar image

How to solve a trigonometric equation like 2*(1-sin(x)) == 1-cos(x)

I've tried all possible commands in sage, I couldn't obtain any value while the geogebra's algebra system solves it very well for instance. Yet I don't think sage is less powerful than geogebra to solve equations...

Thx for answers.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-08-12 13:23:26 -0500

kcrisman gravatar image

updated 2016-08-12 13:23:42 -0500

In the documentation for solve there is an option which often helps solve these kinds of equations.

F = 2*(1-sin(x)) == 1-cos(x)
solve(F,x,to_poly_solve=True)

You should get something like

[x == pi + 2*pi*z38, x == 2*pi*z40 + arctan(4/3)]

where the z38 means an integer parameter.

edit flag offensive delete link more

Comments

thank you!

Romuald_314 gravatar imageRomuald_314 ( 2016-08-12 13:31:33 -0500 )edit

Great! If this solved your issue, you should click the check mark so that others coming to the question will immediately see it has been answered.

kcrisman gravatar imagekcrisman ( 2016-08-15 08:18:47 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-08-12 12:48:56 -0500

Seen: 137 times

Last updated: Aug 12 '16