Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Solving equations is done through the solve command, which is documented here. I went to a Sage cell server and typed in:

solve(5-4*sin(x)==sin(x),x)

and got an answer: [x == 1/2*pi]. Of course, since the trig functions are periodic there are an infinite number of solutions.

Since you haven't given the code that resulted in the output you describe, it's impossible for me to know what went wrong. Always provide your code; it makes it easier to diagnose what is wrong.