Question

Python: We want to find the position, as a function of time, of a damped harmonic...

Python: We want to find the position, as a function of time, of a damped harmonic oscillator. The equation of motion is

             m d2x/dt2 = -kx – b dx/dt,      x(0) = 0.5, dx/dt (0) = 0

Take m = 0.25 kg, k = 100 N/m, and b = 0.1 N.s/m.

Solve x(t) for t in the interval [0, 10T], where T = 2π/ω, and ω2 = k/m.

please write the code.

Divide the interval into N = 104 intervals: ti = i*h, I = 0, 1, 2, …, N, where h = 10T/N.

Homework Answers

Answer #1

for the given situation x(0) = not zero we choose cosine and rejected sine

Know the answer?
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
Similar Questions
Consider the driven damped harmonic oscillator m(d^2x/dt^2)+b(dx/dt)+kx = F(t) with driving force F(t) = FoSin(wt). Consider...
Consider the driven damped harmonic oscillator m(d^2x/dt^2)+b(dx/dt)+kx = F(t) with driving force F(t) = FoSin(wt). Consider the overdamped case (b/2m)^2 < k/m a. Find the steady state solution. b. Find the solution with initial conditions x(0)=0, x'(0)=0. c. Use a plotting program to plot your solution for m=1, k=0.1, b=1, Fo=0.25, and w=0.5.
The position x(t), of a damped oscillator with forcing satisfies the ordinary differential equation , i)...
The position x(t), of a damped oscillator with forcing satisfies the ordinary differential equation , i) where f(t) denotes the forcing on the oscillator. (i) If x(0) = 0, dx dt (0) = 1, f(t) = 4t and the Laplace transform of x(t) is denoted X(s) = L[x(t)], then show that X(s) = 1 /(s + 2)^2 + 4 /s^2 (s + 2)^2 ii) Hence find x(t)
Find the position of the planet Uranus at time t D December 4, 2019, 8:00 pm...
Find the position of the planet Uranus at time t D December 4, 2019, 8:00 pm EST. You will do this by following the steps shown below. (a) Convert the time t to Universal Time (just add 5 hours to EST). (b) Find the Julian day corresponding to time t (using the result of part (a)). (c) Find the time elapsed from the epoch time to time t (i.e., find t ? T0). (d) Find the mean daily motion n...
6) (8 pts, 4 pts each) State the order of each ODE, then classify each of...
6) (8 pts, 4 pts each) State the order of each ODE, then classify each of them as linear/nonlinear, homogeneous/inhomogeneous, and autonomous/nonautonomous. A) Unforced Pendulum: θ′′ + γ θ′ + ω^2sin θ = 0 B) Simple RLC Circuit with a 9V Battery: Lq′′ + Rq′ +(1/c)q = 9 7) (8 pts) Find all critical points for the given DE, draw a phase line for the system, then state the stability of each critical point. Logistic Equation: y′ = ry(1 −...
1) State the main difference between an ODE and a PDE? 2) Name two of the...
1) State the main difference between an ODE and a PDE? 2) Name two of the three archetypal PDEs? 3) Write the equation used to compute the Wronskian for two differentiable functions, y1 and y2. 4) What can you conclude about two differentiable functions, y1 and y2, if their Wronskian is nonzero? 5) (2 pts) If two functions, y1 and y2, solve a 2nd order DE, what does the Principle of Superposition guarantee? 6) (8 pts, 4 pts each) State...
Finding the Spring Constant We can describe an oscillating mass in terms of its position, velocity,...
Finding the Spring Constant We can describe an oscillating mass in terms of its position, velocity, and acceleration as a function of time. We can also describe the system from an energy perspective. In this experiment, you will measure the position and velocity as a function of time for an oscillating mass and spring system, and from those data, plot the kinetic and potential energies of the system. Energy is present in three forms for the mass and spring system....
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT