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
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..
|