Buoyancy is the ability of an object to float. Archimedes’ principle states that the buoyant force is equal to the weight of the fluid that is displaced by the submerged object. The buoyant force can be computed by
F b=V× y
where Fb is the buoyant force, V is the volume of the submerged object, and y is the specific weight of the fluid. If Fb is greater than or equal to the weight of the object, then it will float, otherwise it will sink.
Write a
Want to see the full answer?
Check out a sample textbook solutionChapter 3 Solutions
Problem Solving with C++ (10th Edition)
Additional Engineering Textbook Solutions
Java: An Introduction to Problem Solving and Programming (8th Edition)
Java How To Program (Early Objects)
C++ How to Program (10th Edition)
Starting Out with C++ from Control Structures to Objects (9th Edition)
Java: An Introduction to Problem Solving and Programming (7th Edition)
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
- (Conversion) An object’s polar moment of inertia, J, represents its resistance to twisting. For a cylinder, this moment of inertia is given by this formula: J=mr2/2+m( l 2 +3r 2 )/12misthecylindersmass( kg).listhecylinderslength(m).risthecylindersradius(m). Using this formula, determine the units for the cylinder’s polar moment of inertia.arrow_forward(Mechanics) The deflection at any point along the centerline of a cantilevered beam, such as the one used for a balcony (see Figure 5.15), when a load is distributed evenly along the beam is given by this formula: d=wx224EI(x2+6l24lx) d is the deflection at location x (ft). xisthedistancefromthesecuredend( ft).wistheweightplacedattheendofthebeam( lbs/ft).listhebeamlength( ft). Eisthemodulesofelasticity( lbs/f t 2 ).Iisthesecondmomentofinertia( f t 4 ). For the beam shown in Figure 5.15, the second moment of inertia is determined as follows: l=bh312 b is the beam’s base. h is the beam’s height. Using these formulas, write, compile, and run a C++ program that determines and displays a table of the deflection for a cantilevered pine beam at half-foot increments along its length, using the following data: w=200lbs/ftl=3ftE=187.2106lb/ft2b=.2fth=.3ftarrow_forwardComputer Science Numerical methods can be useful in solving different problems. Using numerical differentiation, how many acceleration data points can be determined if given 43 position data points of a moving object given by (x,t) where x is x-coordinate and t is time?arrow_forward
- A standard science experiment is to drop a ball and see how high it bounces. Once the “bounciness” of the ball has been determined, the ratio gives a bounciness index. For example, if a ball dropped from a height of 10 feet bounces 6 feet high, the index is 0.6 and the total distance traveled by the ball is 16 feet after one bounce. If the ball were to continue bouncing, the distance after two bounces would be 10 ft + 6 ft + 6 ft + 3.6 ft = 25.6 ft. Note that distance traveled for each successive bounce is the distance to the floor plus 0.6 of that distance as the ball comes back up. Write a program that lets the user enter the initial height of the ball and the number of times the ball is allowed to continue bouncing. Output should be the total distance traveled by the ball. Please name your function "bounce" that has three arguments (initial height, index, number of bounce) and return the total distance traveled by the ball. (float) Skip the part where users can enter the inputs of…arrow_forwardQ1/The pressure drop in pascals (Pa) for a fluid flowing in a pipe with a sudden decrease in diameter can be determined based on the loss of head equation given below: h = 24-11 2g Area A Area A Area A Where: V₂ is the velocity in position 2 (m/s), g: is acceleration due to gravity = 9.81 m/s², A₁ and A₂ are the cross-sectional areas of the tube in position 1 and 2 respectively. A==d² Where: d is the diameter (m). Write a program in a script file that calculates the head loss. When the script file is executed, it requests the user to input the velocity (V₂) in m/s and values of diameters (d, and d₂). The program displays the inputted value of v followed by a table with the values of diameters in the first and second columns and the corresponding values of h, in the third column. 2 2arrow_forwardstandard science experiment is to drop a ball and see how high it bounces. Once the “bounciness” of the ball has been determined, the ratio gives a bounciness index. For example, if a ball dropped from a height of 10 feet bounces 6 feet high, the index is 0.6, and the total distance traveled by the ball is 16 feet after one bounce. If the ball were to continue bouncing, the distance after two bounces would be 10 ft + 6 ft +6 ft + 3.6 ft = 25.6 ft. Note that the distance traveled for each successive bounce is the distance to the floor plus 0.6 of that distance as the ball comes back up. Write a program that lets the user enter the initial height from which the ball is dropped, the bounciness index, and the number of times the ball is allowed to continue bouncing. Output should be the total distance traveled by the ball.arrow_forward
- The electric flux density D at the point M (0,4,0) in the region about a uniform line charge of 1 nC/m lying along the z axis in free space is: Select one: a. None of the above b. 0.6366 nC/m c. 0.2387 nC/m d. 0.039 nC/m e. 0.1 nC/marrow_forward13.sol Matlab The electrical circuit shown consists of resistors and voltage sources. Determine the current in each resistor, using the mesh current method that is based on Kirchhoff's second voltage law. V =38 V, V = 20V, V, = 24V R, =15Ω R, = 182 R, = 10Ω R, =9Ω R, = 5Ω R, = 14Ω R, = 82 R, = 132arrow_forwardTwo small charged objects attract each other with a force F when separated by a distance d.If the charge on each object is reduced to one-fourth of its original value and the distance between them is reduced to d/2,the force becomes?arrow_forward
- 2. The position of an object moving along the z-axis is described by *(t) = 21²-t +4, where the position, z, is in m and the time, t, is in s. Find: a. the average velocity between t = 1 8 and ty= 3 s. b. the velocity at t = 2 s. b. the acceleration at t = 4 s.arrow_forward4- The potential difference 2 points between two point in an electric circuit is 24 V, If 0.4 J of energy were dissipated in a period of 5 ms, what would the current be between the two points? *arrow_forward1/ The expression A . (B . C) = (A .B) .C is known as Demorgan’s Theorem Distributive law Absorption Law Associative lawarrow_forward
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr