Determine the volume of a sphere having a radius

Assignment Help C/C++ Programming
Reference no: EM131205036

PROBLEM 1 You are tasked to write a program that outputs the following amplifier system specifications:

Voltage amplification: 25
Input voltage: 50 mV
Power output: 2.5 W
Bandwidth: 15 kHz
Type: Class A

a. For this programming problem, how many lines of output are required?

b. How many inputs does this problem have?

c. Determine a formula for converting input items into output items.

PROBLEM 2

You've been asked to write a C/C++ program to determine how far a car has traveled after 10 seconds, assuming the car is initially traveling at 65 mph and the driver applies the brakes to decelerate at a uniform rate of 0.0015 miles/sec2. Use the following formula:

distance = st - ½ ????2,

where s is the initial speed of the car (in miles/sec), d is the deceleration (in miles/sec2), and t is the elapsed time in seconds.

a. For this programming problem, how many outputs are required?
b. How many inputs does this problem have?
c. Determine a formula for converting input items into output items.
d. Test the formula for conversion, using the data given in the problem.
e. Write an assignment statement in C++ for the formula in part c above.

PROBLEM 3

Write a set of detailed, step-by-step instructions in English to find the largest number in a group of three integer numbers.

PROBLEM 4

The volume of a sphere can be calculated using the formula: ?? = (4/3)πr3, where V is the volume of the sphere, π = 3.1416, and r is the radius (in cm) of the sphere.

a. Determine the units of V by calculating the units resulting from the right side of the formula. Check that your answer corresponds to the SI unit of volume, namely, cubic meters.

b. Determine the volume of a sphere having a radius of 50 cm.

c. If you were required to write a C/C++ program to determine the volume of a sphere, what inputs, outputs, and algorithm would you use?

PROGRAMMING PROBLEM 1

a. Using the cout object and four steps of development and design, write a C++ program that displays your name on one line, your street address on a second line, and your city, state (two upper case characters), and five-digit zip code on a third line.

b. Run the program you have written on Microsoft Visual Studio. Make sure to include the program listing and the program output in your solution.

Reference no: EM131205036

Questions Cloud

Determine the force components of the water on the nozzle : determine the force component of the water on the nozzle and the magnitude of the resultant force the pressure in the hose is 400kpa and the water exit to the atmosphere
Company net operating income should increase : Pool Company's variable expenses are 30% of sales. Pool is contemplating an advertising campaign that will cost $19,400. If sales increase by $79,400, the company's net operating income should increase by: (Do not round intermediate calculations.)
Analyze the impact that various sentencing models : Analyze the impact that various sentencing models have had on corrections. As part of your analysis you must discuss at least two (2) different sentencing models.
Fix the given autobiographical essay : Given the Autobiographical essay. -Fix the given essay. -  Some words are missing in it.  - aand comments are added.
Determine the volume of a sphere having a radius : Determine the volume of a sphere having a radius of 50 cm. If you were required to write a C/C++ program to determine the volume of a sphere, what inputs, outputs, and algorithm would you use?
Pricing model differ from traditional pricing approaches : Faced with more thrift-oriented passengers during economic declines and the commoditization of their product, US airlines are moving towards pricing “extras” separately from the price of the ticket – charging for checking baggage, selling pillows and..
Identify strategies for effective team communication : Explain the importance of teamwork in the workplace. Identify strategies for effective team communication and Identify strategies for effective team collaboration.
Annual rate of return on the proposed capital expenditure : Vilas Company is considering a capital investment of $190,500 in additional productive facilities. The new machinery is expected to have a useful life of 5 years with no salvage value. Depreciation is by the straight-line method. Compute the annual r..
Explain the importance of situating a society cultural : Explain how key social, cultural, and artistic contributions contribute to historical changes. Explain the importance of situating a society's cultural and artistic expressions within a historical context.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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