Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6) The second moment of inertia is a mathematical representation of a beam's resistance to bending. a. Write a function that returns the second moment

6) The second moment of inertia is a mathematical representation of a beam's resistance to bending.

a. Write a function that returns the second moment of inertia (I) for a rectangular section which has a width and height , as shown in the figure. The formula is . Use the following function prototype: double rectangleMomInertia(double b, double h);

b. An I-section (i.e. a cross-section in the shape of the letter I) consists of a vertical part called the web and two horizontal parts called the flanges (see the figure on the right). The second moment of inertia for an I-section is given by: ( ) ( ) = [Second moment of inertia of the rectangle, ] [Second moment of inertia of the two rectangles under the flanges, In C++ I = rectangleMomInertia(b,h) 2*rectangleMomInertia(0.5*(b-tw),h1) Now, write a function that returns the second moment of inertia for an I-section. Let your function use the function rectangleMomInertia() as explained above. Use the following prototype: double iSectionMomInertia(double b,double h,double tw,double h1);

c. Write a C++ program that inputs the dimensions of the following sections, and then computes and outputs the second moment of inertia for each.

image text in transcribed

6) The second moment of inertia is a mathematical representation of a beam's resistance to bending Write a function that returns the second moment ofinertia (I) for a rectangular section which has a width b and height h, as shown in the figure. The formulais I following function prototype a. bh3 . Use the 12 double rectangleMomInertia(double b, double h) An I-section (i.e. a cross-section in the shape of the letter I) consists of a vertical part called the web and two horizontal parts called the flanges (see the figure on the right). The second moment of inertia for an I-section is given b. Flange Web b-t bh3-2 bh3 hi 12 12 12 i-beam - [Second moment of inertia of the rectangle, x h ] [Second moment of inertia of the two rectangles under the flanges, b-23x h1] 1=rectangleMominertia (b,h) 2trectangleMom Inertia (0.5* (b-tw),h1) ? Now, write a function that returns the second moment of inertia for an I-section. Let your function use the function rectangleMomInertia) as explained above. Use the following prototype double iSectionMomInertia (double b,double h, double tw, double h1); Write a C++ program that inputs the dimensions of the following sections, and then computes and outputs the second moment of inertia for each. c. 25 cm 20 cmI 40 cmn 50 cim 2.5 cm 45 cm ectangle n

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions