Absolute C++
Absolute C++
6th Edition
ISBN: 9780133970784
Author: Walter Savitch, Kenrick Mock
Publisher: Addison-Wesley
bartleby

Videos

Textbook Question
Book Icon
Chapter 2, Problem 6PP

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 × γ

where F b is the buoyant force, V is the volume of the submerged object, and is the specific weight of the fluid. If F b is greater than or equal to the weight of the object, then it will float, otherwise it will sink.

Write a program that inputs the weight (in pounds) and radius (in feet) of a sphere and outputs whether the sphere will sink or float in water. Use γ = 62.4 lb/ft 3 as the specific weight of water. The volume of a sphere is computed by ( 4 / 3 ) π r 3 .

Blurred answer
Students have asked these similar questions
A simple pendulum is formed of a rope of length L = 2.2 m and a bob of mass m. %3D When the pendulum makes an angle e 10° with the vertical, the speed of the %3D bob is 2 m/s. The angular speed, e', at the lowest position is equal to: (g = 10 m/s^2)
The flight of a model rocket can be modeled as follows. During the first 0.15 s the rocket is propelled upward by the rocket engine with a force of 16 N. The rocket then flies up while slowing down under the force of gravity. After it reaches the apex, the rocket starts to fall back down. When its downward velocity reaches 20 m/s, a parachute opens (assumed to open instantly), and the rocket continues to drop at a constant speed of 20 m/s until it hits the ground. Write a program that calculates and plots the speed and altitude of the rocket as a function of time during the flight. SOLVE WITH MATLAB PLEASE
If there are two equal angles in a given triangle, then their corresponding opposite sides must be equal.

Additional Engineering Textbook Solutions

Find more solutions based on key concepts
When writing a program that performs an operation on a file, what two file associated names do you have to work...

Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)

What is a router?

Computer Science: An Overview (13th Edition) (What's New in Computer Science)

Describe the purpose of a database.

Database Concepts (8th Edition)

Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Introduction to Big O Notation and Time Complexity (Data Structures & Algorithms #7); Author: CS Dojo;https://www.youtube.com/watch?v=D6xkbGLQesk;License: Standard YouTube License, CC-BY