Write main function to compute stress-strain in steel rod

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

Q1Write a main function and the following functions to compute the stress and strain in a steel rod of diameter D (inches) and length L (inches) subject to the compression loads P of 10,000 to 1,000,000 pounds in increments of 100,000 pounds. The modulus of elasticity E for steel is 30 x 106 .

A function to compute the stress from the formulas:

stress f = P/A where A= πD2 /4.0

A function to compute the strain from the formulas:

elongated or shortened length ΔL =(fL)/E

strain e = (ΔL)/L = f/E

A function to output the stress and strain at differnt loads of P:

Main calls each function ( calculate stress, calculate strain, and Output

Reference no: EM1362041

Questions Cloud

Onset of anaerobic threshold during exerise : What biochemical rationale exists for measuring oxygen consumption, ventilation and carbon dioxide production to infer onset of anaerobic threshold during exerise?
Explain how would margaret''s indifference map look like : Explain how would Margaret's indifference map look like. What is the Marginal Rate of Substitution (MRSA,B) between good A and B.
Compute the firm gain or loss : The Niendorf Company produces tea kettles which it sells for $15 each. Fixed costs are $700,000 for output up to 400,000 units. Variable expenses $10 per kettle.
Questioning the depth of ones questions : Explain a personal experience in which you either failed or succeeded in applying these methods to your own questioning. What was the outcome?
Write main function to compute stress-strain in steel rod : Write a main function and the following functions to compute the stress and strain in a steel rod of diameter D (inches) and length L (inches) subject to the compression loads.
Cardiac rehabilitation exercise prescription : What would be objective indications of coronary heart disease during a graded exercise test, and how the results of such a test can be utilized in the cardiac rehabilitation exercise prescription?
Explain how much of x1 and x2 will fred consume : Assume that before the price of X2 fell, Fred had exchanged all of his inheritance of X1 and X2 for money, planning to use the money to finance his purchases later, explain how much of X1 & X2 will Fred consume after P2 fell to 1.
Find the initial acceleration : A friend is working on a biology experiment and needs to make an electric field of magnitude 460 {rm N/C} at a distance of 10 {rm cm} from the central portion of the large nonconducting square plate 5.2 {rm m} on each side.
Functional areas of business : Describe the functional areas of business that must be integrated into a company's four phases of strategic management that includes thinking, planning, implementation, and feedback.

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