Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2. It is often very interesting how ideas evolve in Math. Fourier used the technique that now bears his name to study the

Question 2. It is often very interesting how ideas evolve in Math. Fourier used the technique that now bears

Question 2. It is often very interesting how ideas evolve in Math. Fourier used the technique that now bears his name to study the heat equation. As it happens, the same technique is also very useful when studying wave phenomena, which are mathematically described by a very different type of equation (more on that towards the end of the semester). For now, suffice to say that the theory tells us that in a given medium which supports waves (say, the surface of a body of water), a generic wave can be seen as a sum of simple oscillating functions, which propagate in a simple way. Consider waves on the surface of long and narrow circular channel. The surface elevation can be written as (1) Here kn = 2n/L is the wavenumber with L the length of the channel (remember, the channel is circular, so the domain is periodic), and w(kn) the frequency at which a wave with wavenumber kn oscillates, x is the position along channel (measured from an arbitrary point) and t is time. For water waves we have w(kn) = gkn tanh(kH). Here g is the gravitational acceleration and H the depth of the channel. Of course, we interested in the real part of that expression, but by now you should not be afraid to handle complex values. The (complex) coefficients An are calculate from measurements of the surface at t = 0. Then the equation above can be used to determine the shape of the surface at any later time. Write a Matlab function hOut = evolveWave (hIn,g,H,t) that takes a vector hIn of measurements of surface elevation at time t= 0 and return a vector hOut containing the surface elevation at an arbitrary later time t. H and g are the depth of the channel and the acceleration of gravity. The input vector contains a great number of points, so you must use FFT/IFFT in your code. N/2-1 h(x, t)= Ane(knx-w(kn)t) n=-N/2 Assume that the size of hIn is even. Submit your function via Matlab Grader. Use your function to plot hout vs. X when X and hIn are given by [X,hIn] =profile() and t = 10, g = 9.81, H = 0.5, L = 5. (60 points) Question 2. It is often very interesting how ideas evolve in Math. Fourier used the technique that now bears his name to study the heat equation. As it happens, the same technique is also very useful when studying wave phenomena, which are mathematically described by a very different type of equation (more on that towards the end of the semester). For now, suffice to say that the theory tells us that in a given medium which supports waves (say, the surface of a body of water), a generic wave can be seen as a sum of simple oscillating functions, which propagate in a simple way. Consider waves on the surface of long and narrow circular channel. The surface elevation can be written as (1) Here kn = 2n/L is the wavenumber with L the length of the channel (remember, the channel is circular, so the domain is periodic), and w(kn) the frequency at which a wave with wavenumber kn oscillates, x is the position along channel (measured from an arbitrary point) and t is time. For water waves we have w(kn) = gkn tanh (kH). Here g is the gravitational acceleration and H the depth of the channel. Of course, we interested in the real part of that expression, but by now you should not be afraid to handle complex values. The (complex) coefficients An are calculate from measurements of the surface at t = 0. Then the equation above can be used to determine the shape of the surface at any later time. Write a Matlab function hOut = evolveWave (hIn,g,H,t) that takes a vector hIn of measurements of surface elevation at time t= 0 and return a vector hOut containing the surface elevation at an arbitrary later time t. H and g are the depth of the channel and the acceleration of gravity. The input vector contains a great number of points, so you must use FFT/IFFT in your code. N/2-1 h(x, t) = Ane(knx-w(kn)t) n=-N/2 Assume that the size of hIn is even. Submit your function via Matlab Grader. Use your function to plot hout vs. X when X and hIn are given by [X,hIn] =profile() and t = 10, g = 9.81, H = 0.5, L = 5. (60 points)

Step by Step Solution

3.34 Rating (148 Votes )

There are 3 Steps involved in it

Step: 1

The task described in the image is to create a Matlab function to calculate the evolution of a wave given its initial shape using Fourier analysis The ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Smith and Roberson Business Law

Authors: Richard A. Mann, Barry S. Roberts

15th Edition

1285141903, 1285141903, 9781285141909, 978-0538473637

More Books

Students also viewed these Programming questions