Question

Question 1 Wave motion appears in all branches of physics. In the lectures we considered the solution of the advection equatid) Implement the CTCS method for the wave equation in code. Assume c1, h0.02 and τ = 0.02, and integrate for a total time T =

I need help with d) please help thank you

Question 1 Wave motion appears in all branches of physics. In the lectures we considered the solution of the advection equation, a first-order hyperbolic PDE. Here we consider the solution of the wave equation: c2 where c >0 is constant. , We assume all variables have been non-dimensionalised. (a) Eq. (1) has the general solution (d'Alembert, 1747): u(x,t) F(x -ct) +G(x ct), where F and G are arbitrary functions. Consider the special cases Gi) F(x)- fo(x) and G(r) 0. (ii) F(z)=G(z) =珈(z), where and where ơ is a constant. Using only analytic methods, sketch u(x, t) for each case, at the timet 0, and at a later time.
d) Implement the CTCS method for the wave equation in code. Assume c1, h0.02 and τ = 0.02, and integrate for a total time T = (1 + 1)/c. Use as an initial condition a Gaussian profile centred at where σ = 0.1·The scheme requires two initial conditions, so at n = 1, to calculate u2 requires both ui and uo. The term ui corresponds to u (z,0), and uo corresponds to u (z,-r). Try two cases with your code: (i) u(z,-r) = fe(r+CT): (iii) u(z.-r)-fe(r). Provide plots of your solution at time t = 0 and t = T in each case. Also provide a diagram shoing the values of u(x, t) over the r-t plane.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Angl No ur haue et

Add a comment
Know the answer?
Add Answer to:
I need help with d) please help thank you Question 1 Wave motion appears in all branches of physics. In the lectures we...
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
Active Questions
ADVERTISEMENT