First time here? Check out the FAQ!

Ask Your Question
2

Solving a trigonometric equation

asked 8 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 8 years ago

kcrisman gravatar image

updated 8 years ago

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.

Preview: (hide)
link

Comments

thank you!

Romuald_314 gravatar imageRomuald_314 ( 8 years ago )

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 ( 8 years ago )

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: 8 years ago

Seen: 1,946 times

Last updated: Aug 12 '16