Question: Please answer on MATLAB An exponential decaying sinusoid has very interesting properties. In fluid dynamics, for example, the following equation models the wave patterns of

Please answer on MATLABPlease answer on MATLAB An exponential decaying sinusoid has very interesting properties.

An exponential decaying sinusoid has very interesting properties. In fluid dynamics, for example, the following equation models the wave patterns of a particular liquid when it is perturbed by an external force: y(x) Feax sin(bx) where F is the magnitude of the external impulse force, and a and b are constants associated with the viscosity and density, respectively The following data have been collected for the following types of fluids: Fluid Ethyl Alcohol Water Oil a value associated with the viscosit 0.246 0.250 0.643 b value associated with the densi 0.806 1.000 1.213 write a function to obtain the wave patterns, y(x) with a certain force, F and the constants, a & b for a certain fluid, along with position vector, x. (Thus the inputs are F, a, b, and x.) Name the function as fn expdecay. You can assume that input value of x is in radian. Write a script that prompts the user for a value for F a and b. Input (create) an x-vector, and call the function, fn_expdecay to calculate y-vector. Also plot the wave pattern by using built-in function plot with setting "blue solid line without marker". Name the script as WavePattern Plot the wave pattern for the above 3 different fluids with F-10. X points should be generated between -2 and 2T with step width of 0.1. Copy&Paste the command window history as well as plotting results into document file. 1. 2. 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!