Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 MATLABimage text in transcribed

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

Step: 1

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_2

Step: 3

blur-text-image_3

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

Advances In Databases And Information Systems Uropean Conference Adbis 2020 Lyon France August 25 27 2020 Proceedings Lncs 12245

Authors: Jerome Darmont ,Boris Novikov ,Robert Wrembel

1st Edition

3030548317, 978-3030548315

More Books

Students also viewed these Databases questions

Question

8. Praise the trainees for their success in learning the task.

Answered: 1 week ago