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

  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