Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a spreadsheet in Excel or write a MATLAB file that will calculate the following. Given a wave height, a water depth, and a wave
Create a spreadsheet in Excel or write a MATLAB file that will calculate the following. Given a wave height, a water depth, and a wave period, determine: a) The wavelength and wave number from the dispersion relation. You can use "Solver" or "Goalseek" to solve the necessary iteration in Excel or use a Newton-Raphson method for your MATLAB code. b) The phase velocity (celerity) c) The group velocity (remember this is the velocity at which energy travels) d) The maximum horizontal and vertical velocities at any arbitrary elevation z (the arbitrary elevation should be inputted in a separate cell on the spreadsheet or be a separate variable in your MATLAB code) e) The hydrostatic, dynamic and total pressure at any arbitrary elevation z. f) The wave energy and energy flux When printing out this problem, use the following values: 9.81 3 m2/s Z= 2 10 hord= Create a spreadsheet in Excel or write a MATLAB file that will calculate the following. Given a wave height, a water depth, and a wave period, determine: a) The wavelength and wave number from the dispersion relation. You can use "Solver" or "Goalseek" to solve the necessary iteration in Excel or use a Newton-Raphson method for your MATLAB code. b) The phase velocity (celerity) c) The group velocity (remember this is the velocity at which energy travels) d) The maximum horizontal and vertical velocities at any arbitrary elevation z (the arbitrary elevation should be inputted in a separate cell on the spreadsheet or be a separate variable in your MATLAB code) e) The hydrostatic, dynamic and total pressure at any arbitrary elevation z. f) The wave energy and energy flux When printing out this problem, use the following values: 9.81 3 m2/s Z= 2 10 hord=
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started