Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A spherical float with a mass of mf = 70 kg and a diameter of 90 cm is placed in the ocean (density of sea

A spherical float with a mass of mf = 70 kg and a diameter of 90 cm is placed in the ocean (density of sea water is approximately p = 1030 kg/m3. The height, h, of the portion of the float that is above water can be determined by solving the following equation (according to Archimedes' principle):

image text in transcribed

where, for a sphere of radius r, the volume of a cap Vcap of depth d is

image text in transcribed

Write the equation in terms of h and solve for h. Use the MATLAB userdefined function, which you already created, to utilize the Newton-Raphson method. The initial guess is h1 = 80 cm and the stopping criteria should be 10 iterations. The answer should include the commands to setup the problem on MATLAB, call the user-defined function, and the tabulated results for each iteration. Plot the estimated relative error vs. the iteration number. Also, write a code that uses the MATLAB built-in function to solve for h. Use this answer as the true value and compute the true relative error.

image text in transcribed

cap m cap m

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

Step: 3

blur-text-image

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

The Database Factory Active Database For Enterprise Computing

Authors: Schur, Stephen

1st Edition

0471558443, 9780471558446

More Books

Students also viewed these Databases questions

Question

Discuss the techniques of sales forecasting.

Answered: 1 week ago

Question

Write short notes on Marketing mix.

Answered: 1 week ago

Question

=+ How well do you think you could do your job?

Answered: 1 week ago