# Solve for x

1. Mar 23, 2015

### Nusc

1. The problem statement, all variables and given/known data
Suppose I have the following expression:

k + sin(g-x)= x-c

where k, g, c are constants, how can I solve for x?

2. Relevant equations

3. The attempt at a solution
I don't think trig identities will help me in this case. If I square both sides then I get more junk.

2. Mar 23, 2015

Draw the graph for sin(a-x) then draw the graph for b+sin(a-x)
Draw the graph for x-c
find points of intersection.

3. Mar 23, 2015

### joshmccraney

This is a transcendental equation, and is pretty tough to solve. First, rewrite it as $\sin (g-x)= x+c_1$ where $c_1 := -c-k$. What kind of solution are you looking for? If graphical works (sometimes it's all that's required) make a plot and let $f=\sin (g-x)$ and $g=x+c_1$ and look for their intersection.

If this isn't what you're looking for you can try using Newton's method (I assume you may use calculus).