Question: I know how to code but do not know what the equations would be. Below is what I currently have: function [height] = mySpheresInCylinder(D,N,d) %

I know how to code but do not know what the equations would be. Below is what I currently have:
function [height] = mySpheresInCylinder(D,N,d)
% D is the diameter of the cylinder
% N is the number of balls being droppied in the cylinder
% d is the diameter of the balls that are being dropped
VolumeOfBalls = N*((4/3)*pi*(d/2)^3);
height =
Function 3: Determine the change in height of water in a cylindrical container with diameter D when N number of spherical balls are dropped into the container, each with diameter d. e. There are at least four assert () function statements required. f. Requirement: use Function 1 from this Lab in this new function. g. Assumptions: a. All of the spheres drop to the bottom of the tank b. There is enough water in the tank that all of the spheres are fully submerged. h. Check: v. [ height ]= mySpheresInCylinder (10,60,2) height =3.2000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
