- #1

jam12

- 38

- 0

sin(x)=x/2 over the range x=-3,...,3.

I know how to solve this equation for individual intervals, for example:

> fsolve(sin(x) = (1/2)*x, x = -3 .. -1);

> fsolve(sin(x) = (1/2)*x, x = -1 .. 1);

> fsolve(sin(x) = (1/2)*x, x = 1 .. 3);

**However I want to solve it, so that it outputs all of the three solutions at once:**

>fsolve(sin(x) = (1/2)*x, x = -3 .. 3);

Is this possible?

cheers