Home > Education, Homework > Numerical Methods Homework – Problem 8.9

Numerical Methods Homework – Problem 8.9

The Problem

The volume V of liquid in a spherical tank of radius r is related to the depth h of the liquid by:

Determine h given r = 1m and V = 0.5m³

Video Discussion
V = 0.5;
r = 1;

f = @(h)(h.^2.*(h-3*r)+3*V/pi);
df = @(h)(3*h*(h-2*r));
d2f = @(h)(6*h-6*r);

x = (-2:.001:2);
X = NewtonRaphson(f,df,d2f,r,100);
hold on
Categories: Education, Homework
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s