Ask Your Question
2

Solving a trigonometric equation

asked 2016-08-12 19:48:56 +0200

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 20:23:26 +0200

kcrisman gravatar image

updated 2016-08-12 20:23:42 +0200

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 20:31:33 +0200 )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 15:18:47 +0200 )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 19:48:56 +0200

Seen: 1,827 times

Last updated: Aug 12 '16