A simple model for the hull of a ship is given by yB xLzT = 2 1 2 12 2where B is the
Chapter 4, Problem P4.30(choose chapter or problem)
A simple model for the hull of a ship is given by yB xLzT = 2 1 2 12 2where B is the beam, L is the length, and T is the draft.(Note: There are two values of y for each x and z because thehull is symmetric from starboard to port.)The cross-sectional area at a point x is called the section innautical parlance. To compute it, let z go from 0 to T in nincrements, each of size T n. For each value of z, computethe value for y. Then sum the areas of trapezoidal strips. Atright are the strips where n = 4.Write a program that reads in values for B, L, T, x, and n andthen prints out the cross-sectional area at x.
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer