Processing math: 100%
Ask Your Question
2

Solve trigonometric equation

asked 8 years ago

proy gravatar image

How do I solve simple trigonometric equation 2*cot(2x)=0?

I tried solve, but it gives me one solution, I need solution with n.

Thank you.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 8 years ago

mforets gravatar image

With solve(2*cot(x)==0, x, to_poly_solve = 'force') you will get all solutions, where πzxx should be interpreted as a multiple integer of π.

Preview: (hide)
link

Comments

It doesn't work for 2*cot(2x). More precisely, solve(2*cot(2*x)==0, x, to_poly_solve='force') returns empty list.

proy gravatar imageproy ( 8 years ago )

Strange. I get π/2+πz, see here.

mforets gravatar imagemforets ( 8 years ago )

Pay attention to argument of cotangent: it is 2x: see here See equation solver for correct answer.

proy gravatar imageproy ( 8 years ago )

Ok! Sorry, I don't know why does it return the empy list. Of course, a change of variables var('x, y') and solve([2*cot(y)==0, y==2*x], x, y, to_poly_solve = 'force') will do the job, but it's awkward..

mforets gravatar imagemforets ( 8 years ago )

I agree...

proy gravatar imageproy ( 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,242 times

Last updated: Aug 28 '16