The mass of the water that is displaced by the portion

Assignment Help Civil Engineering
Reference no: EM13540157

This problem is from Numerical Methods for Engineers andScientist from Amos Gilat and Vish Subramaniam.

Cramster doesn't have this book here so this is the closest Icould get.

According to Archimede's principle, the buoyancy force actingon that object that is partially immersed in a fluid is equal tothe weight that is displaced by the portion of the object that issubmerged.

A spherical float with mass of mf = 70kg and adiametre of 90cm is placed in the ocean ( density of sea water isapproximately ?=1030kg/m3 . The height, h, of theportion of the float that is over the water can be determined bysolving an equation that equates the mass of the float to the massofthe water that is displaced by the portion of the float that issubmerged:

                           ?Vcap=mf                   (Equation3.59)

where for a pshere of radius r, the volume of a cap of depth,d, is given by:

                           Vcap= (1/3)pd2(3r-d)

 

Write equation (3.59) in terms of h and solve for husing:

(a) the user defined function NEWTONROOT. Use 0.0001for Err, and 0.8 for Xest

(b) MATLAB's built-in fzero function

NEWROOT is:

function Xs= NewtonRoot(Fun,FunDer,Xest,Err,imax)

%NewtonRoot finds the root of Fun=0 near the point Xest usingNewton's method.

%Input variables:

%Fun Name(string) of a function file that calculates Funfor a given x.

%FunDer Name(string) of a function that calculates thederivative of Fun for a given x.

%Xest Initial estimate of the solution.

%Err Maximum error.

%Output variable:

%Xs   Solution

for i = 1:imax

Xi= Xest-feval(Fun,Xest)/feval(FunDer,Xest);

if abs((Xi-Xest)/Xest) < Err

Xs=Xi;

break

end

Xest=Xi

end

if i == imax

fprintf('Solution was not obtained in %iiterations.\n',imax)

Xs= ('No Answer');

end

Reference no: EM13540157

Questions Cloud

Estimate the maximum outlet velocity that this system could : A mining engineer plans to do hydraulic mining with a high-speedjet of water. a lake is located H=300 m above the mine site Waterwill be delivered through L=900 m of hte fire house with an inside diameter D
What is the specific discharge in this rectangular channel : A large concrete channel holds a hydraulic jump in which the subcritical depth of flow is 2.5 m.  If 40 percent of the specific energy in the flow is lost through the hydraulic jump, what is the specific discharge in this rectangular channel?
Determine the specifications unstretched length and spring : Determine the specifications (unstretched length and springconstant k) for the elastic cord to be used at a bungee-jumpingfacility. Participants are to jump from a platform 150 ft above the ground. When they rebound, they must avoid an obstacle that ..
What is the totasl annual sinkingfund and interest cost : Airport plans to build a newparallel taxiway on the north side of the airport beween runways.the purpose of building the taxiway is to reduce runway incursionsand make the airport safer. the total future cost of planning,design, and construction is e..
The mass of the water that is displaced by the portion : According to Archimede's principle, the buoyancy force actingon that object that is partially immersed in a fluid is equal tothe weight that is displaced by the portion of the object that issubmerged.
Determine the two possible depths offlow : A 200 m wide natural stream, whose cross-section can beapproximated by a rectangular cross-section, contains a dischargeof 80 cumecs. If the specific energy of the flow is 1.5 timesthe minimum specific energy, determine the two possible depths offlow..
If the streamwater contains 8 mg of dissolved oxygen : At a plant making MSG (monosodium glutamate) for use inAsian cooking the waste stream discharged to a nearby streamcontains 100 mg of glutamic acid(C5H9O4N) per liter
A cantilever beam is additionally supported using : A cantilever beam is additionally supported using two tierods. Both rods attach to the end of the beam. One rod comes off at 45 degrees and attaches
Determine the ratio of the weight of the solid shaft : Two shafts are made of the same material and are of equal lengths.one of them is solid and another one is hollow. the ratio ofinside and outside diameters for hollow shaft is 0.65. They are subjected to the same torque and same maximum shearstress. D..

Reviews

Write a Review

Civil Engineering Questions & Answers

  To provide knowledge and practice autocad software package

to provide knowledge and practice autocad software package for engineering activities.as a professional engineer you

  Determine what will be the cost of labor in dollars

Labor of this activity is given as in the CREW, 1 brick mason and 1 helper. The productivity is 0.5 labor hours per 1 sf. The wages are for the mason $60 and for the helper $45 per hour.

  A rectangular clarifier with a lengthwidth ratio of 31

a rectangular clarifier with a lengthwidth ratio of 31 receives a flow of 850m3day. the clarifiers depth is 4.0m and

  Determine a set of a rectangular beam design values

Determine a set of a rectangular beam design values b,d and As that will be needed to support a factored bending moment Mu= 450 Kip-ft. Use f'c= 4500 psi and fy= 40000 psi.

  Smallest standard commercial pipe

For satisfactory operation, the static pressure at the pump inlet must not be lower than -6 m of water gage. Determine the smallest standard commercial pipe that will give the required performance.

  Identify the contaminants on site and explain

Identify the contaminants on site and explain their hazards in relation to the proposed design and its construction. Describe the ‘In-situ’ and Ex-situ’ treatments that could be used and their relative merits

  Determine the velocity v2 of the particle

The motion occurs in the horizontal x-y plane. Determine the velocity V2 of the particle at the end of the 3-s interval.

  The nominal flexural strength of this beam

A W16 x 36 simply supported beam is 30 ft long and supports auniform dead load of 970 lb/ft, a roof live load of 240 lb/ft and asnow load of 270 lb/ft. Is this beam adequate to support the load? Please show the calculations.

  Determine the incremental rate of return between alternative

The incremental cash flow between alternatives Z1 and Z2 (Z2 has the higher initial cost). Use an AW-based rate of return equation to determine the incremental rate of return and which alternative should be selected

  Determine the height of capillary rise to smooth glass

Plot the distribution of vertical effective stress and porewater pressure with depth if the void ratio of the sand is 0.6 and the degree of saturation is 90%. Neglect pore air pressure

  Calculate the moment of f about the y axis from a to b

A 100 lb force vector F is aligned from A to B. Point A is located at the coordinates (2, 2, 2) and point B at (4,5,6). Calculate the moment of F about the y axis.

  What is the range of the values that would be expected

a spot speed study was conducted on a freeway on which the mean speed and the standard deviation were found to be 72 .4 mi/hr and 5.4 mi/hr, respectively. what is the range of the values that would be expected to contain the middle 95 percent of s..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd