Functions to compute the stress and strain in a steel rod

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

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 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 10 with an exponent of 6.

A function to compute the stress from the formulas
Stress f = P/A (p divided by a)
Where A = πD^2 /4.0

A function to compute the strain from the formulas
Elongated pr shortened length L= FL/E
Strain e= L/L = f/E

A function to output the stress and strain at different loads of P.

Reference no: EM13938906

Questions Cloud

Determine whether the debt-to-equity ratio is increase : Determine whether the debt-to-equity ratio is increasing or decreasing and whether the company should be concerned.
What aspect of vision has he or she lost : What seems to be the most difficult issue he or she has encountered as a result of vision loss? How does this personal experience compare with the descriptions in your text?
What are the specific key environmental forces : In your opinioin, what are the specific key environmental forces that created an opportunity for your company? Have there been changes in the purchasing patterns of your organization's target market in recent years
Describe the structure of hemoglobin : What does a electrocardiogram measure and record? List the normal ECG deflection waves and intervals. What do the various ECG waves represent?
Functions to compute the stress and strain in a steel rod : A function to output the stress and strain at different loads of P.
Abc corporation is considering an expansion project : ABC Corporation is considering an expansion project. The necessary equipment could be purchased for $29,388 and shipping and installation costs are another $717. The project will also require an initial $4,436 investment in net working capital. The c..
Find the npv and pi of a project that costs : Find the NPV and PI of a project that costs $1,500 and returns $800 in year one and $850 in year two. Assume the project's cost of capital is 8 percent.
What is your chosen firms competitive advantage : Write the essay on your chosen Multinational Enterprise. What is your chosen firm's competitive advantage? And is its competitive advantage sustainable in the long-term?
Program to compute with two numbers. : I have the 1st two statements figured out, and had the arithmetic figured out based on results of 22 and 16, but turns out I interpreted it wrong and results should be what's posted above when the user changes the two numbers. The tutorial says no..

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