Trying to get this equation in terms of x

  • Thread starter Thread starter chazwozzler
  • Start date Start date
  • Tags Tags
    Terms
chazwozzler
Messages
4
Reaction score
0

Homework Statement


I need to have x on the LHS in terms of just y, h and t on the RHS:

Homework Equations


x = y + h(t2 - x2)sin(x)

The Attempt at a Solution


I really don't know where to begin. I'm pretty sure there'll need to be an arcsin somewhere. Is this even possible?
Thanks in advance!
 
Physics news on Phys.org
Oops, my mistake.
 
I think maybe I was oversimplifying things - it's a backward Euler method:

yn+1 = yn + h(tn+12 - yn+12)sin(yn+1)

so I think I have to get that just in terms of yn in order to get the algorithm.
 
Last edited:
If there's a general solution, it won't be in terms of elementary functions. If this is part of a grander numerical scheme, you can probably try to incorporate a numerical root-finding algorithm.
 
I don't know how to do that at all. The equation is

y' = (t2 - y2)siny,
y(0) = -1

and we're asked to use the backward Euler method to find approx. values for the IVP at t=0.1, 0.2, 0.3 and 0.4 with h=0.05.

I'm not very good at this algorithm thing..
 
You should look up the Newton-Raphson method for finding roots. You'll have to apply it at each step.
 
OK cheers
 
Back
Top