 # Hemisphere Problem in Matlab

## Transcribed Text

For a partial hemispherical trough shown in Fig. 2 below, volume is a function of bottom radius and height given by the formula: V - h. (3r² - h2) while upper circle radius'd is: c - V-PR U f h B r [All the unitsale in milimeties Figure 2: A partial hemispherical trough with dimensions When water is filled in the trough, the height is measured from the bottom location B. The maximum height upto which water can be filled is the location U. Height h can vary from 0 0.8 r. Develop a script file with appropriate program in Matlab that takes radius as the input value, displays the value of '2 and produce (i) a table and (ii) a plot; which shows change of weight of water in the trough with respect to gradual change in height.

## Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

function Solution(r)

c=sqrt(r^2-(0.8*r)^2);
fprintf('For r=%4.2f, the value of c is %4.2f\n',r,c);
h=0:0.05:0.8*r;
V=1/3*pi*h.*(3*r^2-h.^2); %the dot allows you to multiply two vector
%of the same size in matlab component by component...
\$18.00 for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

### Find A Tutor

View available MATLAB for Mathematics Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.