Question: I need help writing the code for part b , this question was already posted on chegg but the other answer didnt show the code.

I need help writing the code for part b, this question was already posted on chegg but the other answer didnt show the code. So please show how to do the code in python.
The real-valued velocity potential for a long crested wave is
(x,z,t)=agcosh(kz+kh)cosh(kh)sin(kx-t)
(a) Derive the equation for the dynamic pressure pdyn.
(3 of 50 points)
(b) Plot the amplitude pa*** of the dimensionless dynamic pressure as a function of the depth z with zin[-h,0].
pa***(z)=pdyna(z)ga
Use h=1.829m and =3.0rads to compute values. Make the z axis the vertical axis of the plot to reflect submergence. Properly label the plot!
(5 of 50 points)
I need help writing the code for part b , this

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 Mechanical Engineering Questions!