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

  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.

  Implementation of data member counter of type int

Write the implementation (.cpp file) of Counter class. Here is the full specification of the class: A data member counter of type int.

  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 a program to read a data file and extract parameters

Write a C/C++ program to read a data file and extract parameters. The program must obtain the filename via a command-line argument.

  Method celsius return celsius equivalent of fahrenheit

Method Celsius return the Celsius equivalent of a Fahrenheit temperature,using the calculation Celsius = 5.0/9.0*(Fahrenheit -32); method Fahrenheit returns the Fahrenheit equivalent of a Celsius temperature, using the calculation  Fahrenheit = 9.0/5..

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Recognition of the problem by the hsbc

What problem did the HSBC face in this case? What people, technology, and the organization factors were responsible for problem? Did HSBC management correctly recognize the problem?

  Write the code

Write a program that allows an instructor to keep a grade book. Each students has scores for exams, homework assignments, and quizzes.

  Problems on oops

Problems on OOPS

  Determine order in which constructors of class will execute

Suppose that an object of class three enters its scope, so the constructors of theses classes will execute. Determine the order in which the constructors of these classes will execute.

  You will create a linked list module

You will create a linked list module that exactly meets the specifications given in the supplied header (.h) file. The playlist program must accept a filename on the command line (argv).

  Create class has three pieces of information as data members

Create a class called Date in C++ that includes three pieces of information as data members: month (type int), day (type int) and yaer (type int).

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