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

  Write c program for linked list applications

Write a complete C program which illustrates the Linked list applications data structures and algorithms. The program will read in mid-semester test scores as Main Linked List and produce six outputs:

  Programmingto compute the volume of water in the cubic feet

Write down an algorithm (Programming in C) in order to compute the volume of water in the cubic feet, flowing through a pipe of diameter d in feet, having a velocity of v feet per second.

  Program to store lists of names and ages in parallel arrays

Write a C++ program that stores lists of names (the last name first) and ages in parallel arrays and sorts the names into alphabetical order keeping the ages with the correct names.

  Write a program to crypt its input accordingly

Write a program to crypt its input according to a specified transformation scheme

  Write a program that computes the cost of long distance call

Write a program that computes the cost of a long distance call. The cost of the call is determined according to the following rate schedules.

  Create a program that maintains the required book catalog

Create a program that maintains the required book catalog for the circulation desk of a library.

  Write song playlist class-object-oriented design principles

Write a song playlist class in C++ called "PlayList" using object-oriented design principles. The playlist should support the following ADT.The implementation should be based on an array of strings to store the song titles.

  Describe the probability of the moves

Write a program in C++ to describe the Probability of the moves

  Write c++ programs

Write a C++ program to accept distance in kilometers, coverts it to meters and then displays the result. Write a C++ program to find area and circumference of a circle.

  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 an arbitrary sinusoidal waveform

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

  Create a base employee class

Create a base Employee class and a derived StudentEmployee class

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