Program to compute diameter in centimeters of a steel rod

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

Q1) Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load. The allowable compression stress of steel, aluminum, and copper is 25000 lbs/m2, 15000 25000 lbs/m2, and lbs/m2, respectively.

Area of rod = compression load / allowable compression stress
Area = pi r2 where diameter d = 2r

Input the compression load. Print the type of material, load, allowable stress, and diameter. Use formatted output with field width specifications that align the output.

Reference no: EM1354789

Questions Cloud

Finance related objective question : If a company's variable costs per unit increase, the company's operating breakeven point will and the company's operating breakeven point is the point at which.
Explain does new belgium face this same risk as it expands : Explain Does New Belgium face this same risk as it expands globally or will the company be able to maintain its whimsical and personal touch with consumers?
Circular causality in the family therapy : In family therapy, it is important not to focus only on a family's internal dynamics, with no awareness or incorporation of systemic forces in a larger sense
Elucidate how much labor should the firm employ : Elucidate how much labor should the firm employ. What is the resulting output and profit.
Program to compute diameter in centimeters of a steel rod : Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load.
Explain what does the future hold for traditional mass-media : Explain What does the future hold for traditional mass-media advertising?
Determine operating breakeven point : A Company has fixed operating expenses of $25,000, a per unit sales price of $5, and a variable cost per unit of $3. What is its operating breakeven point if it desires net operating income of $10,000, not $0?
Find out goods that lie near these extremes : find out goods that lie near these extremes. Characterize demands for the following goods as being near perfectly elastic or near perfectly inelastic.
Explain how is luxury defined : Explain How is luxury defined and Do you agree with this definition and with the role of luxury in society?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Structured programming using procedural languages

A a program that is called "Playing with Numbers or Letters".

  Time conversion

Write a C++ program that takes an Eastern standard time in hours, minutes, and seconds,and prints it out in Central time, Mountain time, or Pacific time.

  Design for storing the maze layout

Design and implement a C++ program for maze layout

  Implement database having array of pointers

One way to implement this database is to have an array of pointers pointing to Employee objects. You will obviously require a function named Calculate_salary() which will be different for each employee class. Write code in c++

  Design a nested program

How many levels of nesting are there in this design?

  Prepare an arbitrary sinusoidal waveform

Create a program to compute the derivative of an arbitrary input function, with arbitrary duration and arbitrary limits

  Execute tests and repetitions

Read data from standard input and store them in an array, Execute tests and repetitions

  Loops and if conditions

Write a program that requests a password

  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.

  Write a matrix multiplication program

Write a C++, matrix multiplication program which you can instrument to monitor and measure execution time as a function of problem size. Make sure it works in Microsoft Visual Studio.

  Write a complete c++ program

The main program will read in a parameter value n (read this in main). Then it will call a function read2arrays (details below) to read lists of grades into two arrays, which the main program will call test1 and test2 (or some other names of your ..

  You will create a linked list module

You will create a linked list module that exactly meets the specifications given in the supplied header (.h) file. The playlist program must accept a filename on the command line (argv).

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