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

  Develop a basic temperature class

You have to develop a basic temperature class

  Write a program that inputs a dollar amount to be printed

Write a program that inputs a dollar amount to be printed on a check and then prints the amount in check-protected format with leading asterisks if necessary

  Prepare a businesspartner

Prepare a BusinessPartner class that contains a company name, first name and a telephone number.

  Create a template class

Create a template class, SVector, that implements a constructor

  Write a program to calculate existing angles

Write a program to calculate existing angles and do if and then from this, and to place fixed angles at certain position.

  Implement a simplified version of the set class

You will implement a simplified version of the set class. You must implement all functions defined in the provided file set.h. You may add other member functions and variables as necessary.

  Uml diagram of all the classes

Speaking of converting into the correct object-type, the goal of the factory is to abstract away object creation.

  Function declare that it can throw an ioexception

Every C++ function that performs file I/O will thus need to either declare that it can throw an IOException, or contain a try-catch-finally block to deal with it. Response?

  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++

  Write a menu-driven program that maintains an address book

Write a menu-driven program that maintains an address book using a linked list. The address book must supports the following operations

  Create class integerset

Create class IntegerSet for which each object can hold integers in the range 0 through 100. Represent the set internally as a vector of bool values. Element a[i] is true if integer i is in the set. Element a[j] is false if integer j is not in the set..

  Represent an instruction supported by simpletron

Implementation contains a Simpletron class and several supporting Instruction classes

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