function, C/C++ Programming

Assignment Help:
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.
(where: the lowercase ‘b’ is the flange width parameter for calculating I, 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, prompt 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.
Error checks include:
o Incorrect menu choices
o All beam dimensions, weights, and weight density must be positive
o H > h, B > b, L > a, and a > 0.
? Give the user the option of re-running the program

Related Discussions:- function

Homework, 5 questions. plus i will provide the "vector.h" for the questions...

5 questions. plus i will provide the "vector.h" for the questions that needs it

Calculation of mortgage interest rates, 1. When developing this project in ...

1. When developing this project in a Win32 Console Applications that includes the precompiled headers, enter in the Name: box, PRJ2[Your Full Last Name][Your First Initial] with no

Largest clique, find largest clique present in graph

find largest clique present in graph

Hwid spoofer for windows 7, HWID Spoofer for Windows 7, 8 x64 Project De...

HWID Spoofer for Windows 7, 8 x64 Project Description: I want a simple program that will spoof my hardware id. I should be able to prepare the id to spoof to in the program a

I need decompile library(.dll or .so) into source code, I need Decompile Li...

I need Decompile Library(.DLL or .SO) into source code Project Description: I am seeking an experienced programmer or anyone who knows a thing or two about reverse engineerin

Calculation, write a program to calculate the cuboid

write a program to calculate the cuboid

#Luminous Jewels, #Byteland county is very famous for luminous jewels. Lumi...

#Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Ne

How can i present printing for my class fred?, A: Use operator overloading ...

A: Use operator overloading to present a friend left-shift operator, operator #include class Fred { public: friend std::ostream& operator ... private: int i_; // onl

CarDealership, ABC Car Dealership needs your help to update the ordering sy...

ABC Car Dealership needs your help to update the ordering system. This car dealer is selling four types of vehicles: Sedan, Truck, SUV, and mini Van. And each type of vehicle can h

C++, how do i write a c++ program that will input a number and output its f...

how do i write a c++ program that will input a number and output its factorial using the while loop

Write Your Message!

Captcha
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