Find the moment of inertia

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

Write a C++ program according to the following specifications

1. Display a brief description of the program.

2. Ask the user to specify the type of loading (end load, intermediate load, uniform load)

3. Ask the user to specify the type of material (give the user of menu of 7 material types listed above) and then use the given value of E.

4. Ask the user for the beam dimensions (L, B, b, H, and h). Use a function to find the moment of inertia.

5. If an end load or intermediate load is chosen, prompt the user to enter the weight of the load.

6. If a uniform load is selected, prompt the user to enter the weight density.

7. If an intermediate load is chosen, prom pt the user to enter the value of 'a' (the location of the load).

8. Create 3 functions to calculate ? for the three types of loading.

9. Prompt the user to specify the number of points, N (in addition to x = 0) to use in a table of x and ? values.

10. Clear the screen and display the following:

- A brief description of the program.

- The type of loading and type of material.

- All input quantities (both variable and name) with units. Also display I.

- Display a table of values of x and ? with an appropriate table heading (with units) and with all values nicely aligned. Other important notes:

- User prompts should include both symbol and name of variable and unit.

- Use scientific notation with 4 significant digits for most results.

- Check all inputs for errors. If any inputs are entered incorrectly, allow the user to correct them.

The analysis of beams is an important topic in mechanical engineering. One type of beam considered is a cantilever beam in which one end of the beam is fixed and the other end of the beam is free.

Reference no: EM13692701

Questions Cloud

Describe the various steps of glycolysis : Define glycolysis - describe the various steps of glycolysis
Explanation of process of constructing job description : Explain the process of constructing the job description - Include an introduction, job description, an explanation of the process of constructing the job description, and a conclusion.
Automobile manufacturing facilities from the detroit area : In an effort to stop the migration of many of the automobile manufacturing facilities from the Detroit area, Detroit’s city council is considering passing a law that would give investment tax credits to auto manufacturers.
What is the service rate of the server : What is the utilization of the server and what is the expected time between people arriving to this system - how long is the line expected to be upon arrival?
Find the moment of inertia : Display a brief description of the program and ask the user to specify the type of loading (end load, intermediate load, uniform load)
Constant allocation and re-allocation of resources : There is a constant allocation and re-allocation of resources. How does this happen? What economic mechanism helps allocate resources to the preferences of hundreds of millions of people? (Hint: Consumer's sovereignty).
Assume an economy without any technological progress : Assume an economy without any technological progress. using a Solow model with an alpha parameter of 0.5 determine the steady state amount of capital stock (K*), total output (Y*) and consumption (C*) when savings is 20%, population grows at a rate o..
Required safety inspection procedure on its production lines : A manufacturing rm spends $500,000 annually for a required safety inspection procedure on its production lines. A new monitoring technology would enable the company to eliminate the need for such inspection.
Based on the concept of denominator management : Based on the concept of “denominator management” by famed strategists C.K. Prahalad and Gary Hamel list five ways firms can increase short term return by increasing the ‘‘R’’ portion of ROI. Which of these may be harmful to a firm’s long-term strateg..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a program that takes data a line at a time

Write a program that takes data a line at a time and reverses the words of the line

  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).

  Sockets for this problem you will implement a client-server

sockets for this problem you will implement a client-server version of the rock-paper-scissors-lizard-spock game which

  Inserts a node with info value x

Complete the code for a function that inserts a node with info      value x before, and a node with info value zafter,each node with      info value y in a linked list with first node pointer p.

  Multiply a set of complex numbers

Write a C program to multiply a set of complex numbers stored in an array (that has been dynamically allocated). Specifically, first prompt the user to enter how many complex numbers need to be multiplied, dynamically create an array to store the ..

  Compcets of office apps

Cell Reference is the location of a cell. Cells are located in columns marked by letters, and rows are marked by numbers. Example to reference a cell in column D row 10 you would reference it as D10.

  Write a program that will read in 2 test score.

Write a program that will read in 2 test score. The instructor has decided to give each student 10 bonus point on each test. Print out each test score and the total after the bonus, the print the total number of points earned on the tests.

  Operating system and cpu scheduling

Operating System and CPU Scheduling

  Optimization is to add a sorting algorithm

The second optimization is to add a sorting algorithm. Each time you add an item to the array (from disk or from keyboard), you call a function called SortMyArray(), which use the bubble sorting algorithm to sort the array in the ascending order, ..

  Create a program that uses the vanderwaals equation

Write a program that uses the VanderWaals equation of state and the perfect gas law to display in tabular form the relationship between the pressure and the volume of n moles of a gas at a constant absolute temperature, T, over a range of volumes.

  Implement a simplified version of the set class

You will implement a simplified version of the set class. You must implement all functions defined in the provided file set.h. You may add other member functions and variables as necessary.

  Write a pseudocode statement

Assume that a program has two string variables named str1 and str2. Write a pseudocode statement that assigns an all uppercase version of str1 to the str2 variable. is str.add(str1,str2) part of it?

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