Question

The following set of differential equations can be used to represent that behavior of a simple...

The following set of differential equations can be used to represent that behavior of a simple spring-mass system, with x1(t) the mass’s position and x2(t) its velocity:

For the initial condition of x1(0) = 1.0, x2(0) = 0, and a step size 0.1 seconds, determine the values x1(0.3) and x2(0.3) using (a) Euler’s method, (b) the modified Euler’s method.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Consider the differential equations that represent the behaviour of a simple spring-mass system.

Here,

is the mass’s position

is the velocity

(a)

Write the equations for calculating the new values from the old values using Euler’s method.

Substitute 0.1 for and for .

…… (1)

Substitute 0.1 for and for .

…… (2)

Determine using the initial condition by substituting 0 for t in equation (1) and using the initial conditions.

Determine using the initial condition by substituting 0 for t in equation (2) and using the initial conditions.

Determine using the initial condition by substituting 0.1 for t in equation (1) and using the value of .

Determine using the initial condition by substituting 0.1 for t in equation (2) and using the value of .

Determine using the initial condition by substituting 0.2 for t in equation (1) and using the value of .

Determine using the initial condition by substituting 0.2 for t in equation (2) and using the value of .

Thus, the value of is .

The value of is .

(b)

Write the equations for calculating the new values from the old values using modified Euler’s method.

Substitute 0.1 for and for .

…… (3)

Substitute 0.1 for and for .

…… (4)

Determine .

Determine .

Determine using the initial condition by substituting 0 for t in equation (3) and using the initial conditions.

Determine using the initial condition by substituting 0 for t in equation (4) and using the initial conditions.

Determine .

Determine .

Determine by substituting 0.1 for t in equation (3).

Determine by substituting 0.1 for t in equation (4).

Determine .

Determine .

Determine by substituting 0.2 for t in equation (3).

Determine by substituting 0.2 for t in equation (4).

Thus, the value of is .

The value of is .

Add a comment
Know the answer?
Add Answer to:
The following set of differential equations can be used to represent that behavior of a simple...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT