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

  Write c program that forks two child processes

Write a C program that forks two child processes. The parent process will print all prime numbers up to 229, the first child process will print the first 50 Fibonacci numbers.

  Implement a puzzle game

Write a program which will do the tedious recombining part for us in order to present us with words spelled using only elements symbols.

  Demonstrate the results of the computation

Design a Windows based application that should read or extract data from an outside source (preferably from other Microcontroller). Carry on a particular computation on the data. Demonstrate the results of the computation through the application.

  Display the array, the average and the number of days above

Write a program that stores the daily temperatures for the month of April in an array name dailytemp. Calculate the average temperature for the month and the count the number of days that the daily temperature was above the average.

  Program that displays the ball at a random

Write a C++ program that displays the ball at a random location and then makes the ball move down to the bottom of the screen. When the ball reaches the bottom of the screen, it should start these actions over again, appear-ing at another random l..

  Generates california lotto numbers for the mega millions

You want to create a program to get the first name, last name, address, city, state and zip code, and display the information with the city name followed by a comma, a space, the state name, one space, and the ZIP code. The program also generates Cal..

  Print array

print it on the console. But I want the array to be printed at starting on line 2.

  Program that will input any four float values

You need to prepare a program to print the given output - write a program that will input any four float values where the four variables are declared in the 'main' function and perform

  Write the output of the program

Design a C++ program that will interactively prompt for and read the name of the input file interactively prompt for and read the name of a file to write the output of the program to write the following to the specified output file your name, sect..

  Design an online address book to keep track of the names

Use the Composition (Aggregation) to Programming it on C++. I use visual studio 2012. Using classes, design an online address book to keep track of the names, addresses, phone numbers, and dates of birth of family members, close friends, and certa..

  Write a program using vectors and iterators that allows a

write a program using vectors and iterators that allows a user to maintain a personal list of dvd titles. the user

  Write a c programto find simple interest using function

Write a C programto find simple interest using function ? Please provide running program in C with output screenshoot.

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