Write program in c to calculate diameter-compression load

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

Write a program in C 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 25,000lbs/m2, 15,000lbs/m2, and 20,000lbs/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: EM1367838

Questions Cloud

What frames are in sender-s window range : Then the sender learns of acknowledgment of 0,1,2,5. What frames are in sender's window range just after this event?
Explain health function eventually bend downward : Assume that health production is subject to diminishing returns and that each unit of health care employed entails a constant rate of iatrogenic (medically caused) disease. Would product of health function eventually bend downward
Nursing and health care industry : Describe the significance of maintaining awareness of political actions related to the nursing and health care industry.
Detailed optimization calculations : Compute output, marginal cost, average cost, price, and profit at the average cost-minimizing activity level. Compute these values at the profit-maximizing activity level.
Write program in c to calculate diameter-compression load : Write a program in C to calculate diameter in centimeters of steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load.
Types of retention-aging nursing workforce : What kinds of retention incentives would meet up the requirements of an aging nursing workforce?
Illustrate what cost should each industry charge if it wants : Illustrate what cost should each industry charge if it wants to maximize its profit. Why are costs and output of industries 1 and 2 same however different for industry 3.
Determining marginal cost of e-books : Consider the preferred prices of the authors and publishers of the electronic book, whose marginal cost of production is close to zero? Would the two disagree regarding the price to be charged for book?
Theory of philosophy and science of caring : Jean Watson's Theory of Philosophy and Science of Caring describe where and how it might be best applied to the nursing practice.

Reviews

Write a Review

 

C/C++ Programming Questions & Answers

  To reverse the order of elements on a stack

Write a program in C++ to  reverse the order of elements on a stack S using two additional stacks using one additional stack

  Implement the guess the word

Implement  the ‘Guess the Word' game in an object-oriented manner

  Calculation of mortgage interest rates

Instruction of pointers and the calculation of mortgage interest rates.

  Write a switch-case programming for calculation

How to use C++ to write a switch-case programming for calculation? Test the program for a wide range of possible inputs including division by zero and square root of negative values.

  Perform operations on arrays

Perform operations on arrays execute tests and repetitions

  Skills required by personnel working in information security

What skills are required by personnel working in information security? Write down some job titles in the field and come up with some required qualifications and some desirable qualifications.

  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 c program that prompts for variable number of integers

Write a C program that prompts for a variable number of integers, adds them up, averages them, and prints out the average.

  Change temperature fahrenheit to celsius and kelvin

Write a program in c++ that takes the temperature in Fahrenheit and convert it to Celsius And Kelvin:

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Write program to calculate net pay for factory worker

Write and run a program in C++ that calculates the net pay for a factory worker. The program prompts the user for skill level and hours worked, as well as appropriate insurance and retirement options for the employee's skill.

  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