Question: I need help with this question it should be printf and scanf please use visual studio if possible and follow the steps. 1. A cantilever

I need help with this question it should be printf and scanf please use visual studio if possible and follow the steps.

I need help with this question it should be printf and scanf

1. A cantilever beam (fixed at the left end and free at the oher) of length L is pictured below. It is subjected to load P = 200 at the end. Such loading results in deflection of the beam downward and a resulting curvature of the beam DEFLECTIONS AND SLOPES OF CANTILEVER BEAMS e,-ua-angle al tight ead of beam Consider a steel cantilever beam with modulus of elasticity E = 30 * 10"lb/in write program to calculate the defection at the end of the beam (6)for a given ross section of the beam. Define E and PI as constants. Prompt the user to input a value for the length of the beam L Restrict the length L of the bearm to a value between 16 and 24 inches. Print a menn for the user to select the type of cross section of the beam. The user should enter a letter correspooading to one of the following options R--> rectangular cross section T- = > triangular cross section C > circular cross section Usea switch staternent to calculate the moment of inertia 1 for the different cases sccording to the formulas showa below. Within each case, the user should be prompted to enter base, height, andlor radius as approgriate. Include a default for an improper choice. Also make sure your switch statement can accommodate both upper and lower case letters PL BE Calculate the deflection from the formula: deflection Print the deflection at the end of the beam in inches, in exponential notation with 4 digits after the decimal point. 1. A cantilever beam (fixed at the left end and free at the oher) of length L is pictured below. It is subjected to load P = 200 at the end. Such loading results in deflection of the beam downward and a resulting curvature of the beam DEFLECTIONS AND SLOPES OF CANTILEVER BEAMS e,-ua-angle al tight ead of beam Consider a steel cantilever beam with modulus of elasticity E = 30 * 10"lb/in write program to calculate the defection at the end of the beam (6)for a given ross section of the beam. Define E and PI as constants. Prompt the user to input a value for the length of the beam L Restrict the length L of the bearm to a value between 16 and 24 inches. Print a menn for the user to select the type of cross section of the beam. The user should enter a letter correspooading to one of the following options R--> rectangular cross section T- = > triangular cross section C > circular cross section Usea switch staternent to calculate the moment of inertia 1 for the different cases sccording to the formulas showa below. Within each case, the user should be prompted to enter base, height, andlor radius as approgriate. Include a default for an improper choice. Also make sure your switch statement can accommodate both upper and lower case letters PL BE Calculate the deflection from the formula: deflection Print the deflection at the end of the beam in inches, in exponential notation with 4 digits after the decimal point

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!