Trying to get this equation in terms of x

  • Thread starter chazwozzler
  • Start date
  • Tags
    Terms
In summary, the conversation discusses how to manipulate a given equation to isolate x on the left-hand side in terms of y, h, and t on the right-hand side. It is mentioned that there may be an arcsin involved and that it is a backward Euler method. The person also mentions using a numerical root-finding algorithm and references the Newton-Raphson method. They also discuss applying this method at each step to solve the given equation.
  • #1
chazwozzler
4
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
  • #2
Oops, my mistake.
 
  • #3
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:
  • #4
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.
 
  • #5
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..
 
  • #6
You should look up the Newton-Raphson method for finding roots. You'll have to apply it at each step.
 
  • #7
OK cheers
 

FAQ: Trying to get this equation in terms of x

How do I get an equation in terms of x?

To get an equation in terms of x, you need to isolate the variable x on one side of the equation. This can be done by using algebraic operations such as addition, subtraction, multiplication, and division to move all the other terms to the other side of the equation.

What does it mean to have an equation in terms of x?

Having an equation in terms of x means that the variable x is the only unknown in the equation. This allows us to solve for x and find the specific value or values that make the equation true.

Why is it important to have an equation in terms of x?

Having an equation in terms of x allows us to solve for the variable and find specific values that satisfy the equation. This is important in many scientific and mathematical applications, as it helps us understand relationships between variables and make predictions based on the equation.

Can any equation be rewritten in terms of x?

Not all equations can be rewritten in terms of x. Some equations may have more than one variable or may be too complex to solve for x. It also depends on the purpose of the equation and whether it makes sense to have x as the only unknown.

What are some tips for getting an equation in terms of x?

One tip is to identify the variable you want to solve for and then use inverse operations to move all the other terms to the other side of the equation. Another tip is to check your work by substituting the value of x back into the original equation to make sure it satisfies the equation.

Similar threads

Replies
3
Views
1K
Replies
20
Views
2K
Replies
43
Views
4K
Replies
1
Views
1K
Replies
11
Views
2K
Back
Top