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

  Write a cpp program that creates a number of line objects

Write a C++ program that creates a number of Line objects and tests each pair for intersection. Your program should print an appropriate error message for parallel lines.

  Implement and test the given function

Implement and test the following function: bool is_palindrome(string s); // Returns true iff s is a palindrome // EXAMPLES: is_palindrome("RADAR") returns true, // is_palindrome("ABCD") returns false

  Write the code that will display only even or odd numbered

Write the code that will display only the even or odd numbered elements within the array. The output should appear as follows: PRINTING CONTENTS OF ARRAY USING THE MOD Option

  Write c program which has parent process and child process

Write a C program that has a parent process, a child process, and a grandchild process. The parent process should print its id and the square or 5.

  What will be the output of the program

what will be the output of the program?

  Write a menu-driven c program

Write a menu-driven C program with appropriate functions that allows the user to fill an array of 50 integers with random numbers on the range 1...999, inclusive, sort it, and then find search it to determine if a given random number was generated..

  Write a program that reads an infix or postfix expression

Write a program that reads an infix or postfix expression from an input file, evaluates the expression and outputs the result.

  What exactly is an array

What exactly is an array? Can you give a simple example of it in C++ code, as well

  Implements the postfix evaluation algorithm

Write a program that implements the postfix evaluation algorithm that is on your course module.your program should enable users to enter the postfix expression and output the result of evaluation to screen.

  Using songs.dat in our folder

Using songs.dat in our folder on the P: drive, construct a playlist of 10 random songs. Use a struct to hold the song data (name and time in seconds), and output the playlist (song name and time,

  User that will be asked to input the time

Write a code for the following C++ problem. We will have a user that will be asked to input the time of a train traveling in terms of minutes and this minutes is a non-negative integer.

  Program which converts fahrenheit to centigrade

Design, create, and test a program which converts degrees Fahrenheit to degrees Centigrade (Celsius). The program must contain one main program and 3 functions: F2C() and C2F() and instructions()

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