This problem will introduce you to an example of a simply supported beam subject to a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
This problem will introduce you to an example of a simply supported beam subject to a load modeled as a point force. The background provides all of the equations and variable definitions needed to achieve the tasks described. Below represents a simply supported beam of length I subject to a force F. F The beam has a width w and height. The beam also has a Young's modulus, E, which represents the ability of a material to withstand changes in length (sometimes referred to as modulus of elasticity). A data file (MaterialElasticity.mat) is provided that contains materials with associated Young's moduli. For a single force the deflection of the beam is determined using the derived equation Rx 6EI Rx3 6EI y(x) = wh 12 -0x + Fa 6EIL -8x + (x-a), where I is the area moment of inertia of the cross section, R is the reaction force on the beam at the left end, and 8 is the clockwise rotational angle of the beam at the left end. These have already been derived for you and are given by the following equations: 1 = R = (L-a) 0 = P 6EI - x a Eq. 2 Eq. 3 Eq. 4 Following the tasks below, you will develop a program that will calculate the deflection of this simply supported beam with one or more loads for any beam material, dimensions and loading. You may assume that the given values will always be in SI units; this implies that the deflection equation above will calculate the deflection in meters. See MA5_SampleCalculations.pdf for examples of these beam deflection calculations. Tasks TASK 1: Material selection and data validation (3 - 5 min) Prompt the user to select a material from the Material string array. If user exits out of the menu, keep asking the user for a selection until one is made. You will use this selection to determine the Young's modulus value from the Elasticity vector. Each material has a corresponding Young's modulus [Pa]. Proficiency Time: 50 - 70 min TASK 2: Dimensional information and data validation (13 17 min) Write a user-defined function named ValidInput.m which validates a user's input. This function should use the same syntax as the built-in input() function with one input (the prompt) and one output (the stored variable). In the function, perform the following data validation: if the entered value is zero or negative, prompt the user for a new value. If after 3 attempts the user has not entered a positive value, produce a warning and take the absolute value of the most recently entered value. If the most recent value is zero, produce an error and terminate the program. Call this function 3 times in your main script to prompt the user for the length L [m], the width w [m], and the height h [m] of the beam. TASK 3: Calculate deflection for a single load on a simply supported beam (18 24 min) Prompt the user to enter a concentrated force F [N] and the location of the force on the beam a [m]. Include the length of the beam L in the statement requesting the location of the force. Using Eq. 1 through 4, determine the deflection curve across the entire beam and plot the deflection as a solid line. Your plot must include the following: X-axis label X-axis limit set to the length of the beam Title with material name Gridlines Y-axis label Deflection shown in millimeters HINT: See MA5_SampleCalculations.pdf for an example of using Eq. 1 through 4 to determine the deflection at a single point on the beam. This calculation can be generalized to apply to the entire beam. TASK 4: Calculate deflection for multiple loads on a simply supported beam (13 19 min) Prompt the user to enter multiple concentrated forces [N/m] and the locations of each of the forces on the beam [m] as vectors. Using Eq. 1 through Eq. 4, determine the total deflection of the beam caused by all of the forces across the entire beam and plot the deflection as a solid line in a new figure. Your plot should include the same formatting as the plot in Task 3. Then, output to the command window the maximum deflection of the beam in millimeters. HINT: The total deflection of the beam at any point is the sum of the deflections caused by each single force at that point. TASK 5: Programming controls (3 5 min) After Task 4, ask the user if they would like to repeat the multiple loads calculation with different forces and locations. If yes, repeat Task 4. If not, your program should end. Deflection of Beam (y) [mm] Sample Output Case 1: Sample of warnings and errors from Task 2 -10 -12 -14 -16 -18 Select a material 0 Rubber Wood (along grain) Aluminum Error in MA6 cougarnetID (line 17) w = ValidInput ('Enter the width of the beam [m] : '); Case 2: Sample of fully ran program, with Task 4 repeated once Titanium Graphene Steel Cobalt-Chrome Select a material Rubber Wood (along grain) Aluminum 1 Titanium Graphene Steel Cobalt-Chrome Command Window Enter the length of the beam [m]: -8 Enter the length of the beam [m]: -8 Enter the length of the beam [m]: -8 Warning: Invalid value entered 3 times. Taking the absolute value of the entered value. > In ValidInput (line 10) In MA6 cougarnetID (line 16) Enter the width of the beam [m]: 0 Enter the width of the beam [m]: -5 Enter the width of the beam [m]: 0 Error using ValidInput (line 13) Entered value is zero. Cannot solve problem, exiting program. 2 Command Window Enter the length of the beam [m]: 10 Enter the width of the beam [m]: 0.1 Enter the height of the beam [m]: 0.1 Enter the magnitude of a concentrated force acting on the beam [N]: 1500 Enter the location of the force (0 - 10.00 meters): 7 Enter the magnitudes of multiple loads on the beam [N]: [800 350 200] Enter the locations of the forces, in order (0 - 10.00 meters): [358] The maximum deflection of the beam is 13.748 [mm]. Deflection of Steel Beam Under a Concentrated Load Enter the magnitudes of multiple loads on the beam [N]: [800 350 200 1500] Enter the locations of the forces, in order (0-10.00 meters): [3 5 8 7] The maximum deflection of the beam is 28.597 [mm]. 6 5 Beam Location (x) [m] 7 8 9 10 Deflection of Beam (y) [mm] -12 -14 Deflection of Steel Beam Under Multiple Concentrated Loads -16- 0 Yes 1 No 2 3 4 6 Beam Location (x) [m] 7 8 Would you like to repeat the calculation for a different set of loads? 9 10 Deflection of Beam (y) [mm] 0 -10 -30 -35 0 Yes Deflection of Steel Beam Under Multiple Concentrated Loads No O 2 4 5 6 Beam Location (x) [m] Would you like to repeat the calculation for a different set of loads? First figure displayed 3 Second figure displayed Second figure re-displayed 7 8 9 This problem will introduce you to an example of a simply supported beam subject to a load modeled as a point force. The background provides all of the equations and variable definitions needed to achieve the tasks described. Below represents a simply supported beam of length I subject to a force F. F The beam has a width w and height. The beam also has a Young's modulus, E, which represents the ability of a material to withstand changes in length (sometimes referred to as modulus of elasticity). A data file (MaterialElasticity.mat) is provided that contains materials with associated Young's moduli. For a single force the deflection of the beam is determined using the derived equation Rx 6EI Rx3 6EI y(x) = wh 12 -0x + Fa 6EIL -8x + (x-a), where I is the area moment of inertia of the cross section, R is the reaction force on the beam at the left end, and 8 is the clockwise rotational angle of the beam at the left end. These have already been derived for you and are given by the following equations: 1 = R = (L-a) 0 = P 6EI - x a Eq. 2 Eq. 3 Eq. 4 Following the tasks below, you will develop a program that will calculate the deflection of this simply supported beam with one or more loads for any beam material, dimensions and loading. You may assume that the given values will always be in SI units; this implies that the deflection equation above will calculate the deflection in meters. See MA5_SampleCalculations.pdf for examples of these beam deflection calculations. Tasks TASK 1: Material selection and data validation (3 - 5 min) Prompt the user to select a material from the Material string array. If user exits out of the menu, keep asking the user for a selection until one is made. You will use this selection to determine the Young's modulus value from the Elasticity vector. Each material has a corresponding Young's modulus [Pa]. Proficiency Time: 50 - 70 min TASK 2: Dimensional information and data validation (13 17 min) Write a user-defined function named ValidInput.m which validates a user's input. This function should use the same syntax as the built-in input() function with one input (the prompt) and one output (the stored variable). In the function, perform the following data validation: if the entered value is zero or negative, prompt the user for a new value. If after 3 attempts the user has not entered a positive value, produce a warning and take the absolute value of the most recently entered value. If the most recent value is zero, produce an error and terminate the program. Call this function 3 times in your main script to prompt the user for the length L [m], the width w [m], and the height h [m] of the beam. TASK 3: Calculate deflection for a single load on a simply supported beam (18 24 min) Prompt the user to enter a concentrated force F [N] and the location of the force on the beam a [m]. Include the length of the beam L in the statement requesting the location of the force. Using Eq. 1 through 4, determine the deflection curve across the entire beam and plot the deflection as a solid line. Your plot must include the following: X-axis label X-axis limit set to the length of the beam Title with material name Gridlines Y-axis label Deflection shown in millimeters HINT: See MA5_SampleCalculations.pdf for an example of using Eq. 1 through 4 to determine the deflection at a single point on the beam. This calculation can be generalized to apply to the entire beam. TASK 4: Calculate deflection for multiple loads on a simply supported beam (13 19 min) Prompt the user to enter multiple concentrated forces [N/m] and the locations of each of the forces on the beam [m] as vectors. Using Eq. 1 through Eq. 4, determine the total deflection of the beam caused by all of the forces across the entire beam and plot the deflection as a solid line in a new figure. Your plot should include the same formatting as the plot in Task 3. Then, output to the command window the maximum deflection of the beam in millimeters. HINT: The total deflection of the beam at any point is the sum of the deflections caused by each single force at that point. TASK 5: Programming controls (3 5 min) After Task 4, ask the user if they would like to repeat the multiple loads calculation with different forces and locations. If yes, repeat Task 4. If not, your program should end. Deflection of Beam (y) [mm] Sample Output Case 1: Sample of warnings and errors from Task 2 -10 -12 -14 -16 -18 Select a material 0 Rubber Wood (along grain) Aluminum Error in MA6 cougarnetID (line 17) w = ValidInput ('Enter the width of the beam [m] : '); Case 2: Sample of fully ran program, with Task 4 repeated once Titanium Graphene Steel Cobalt-Chrome Select a material Rubber Wood (along grain) Aluminum 1 Titanium Graphene Steel Cobalt-Chrome Command Window Enter the length of the beam [m]: -8 Enter the length of the beam [m]: -8 Enter the length of the beam [m]: -8 Warning: Invalid value entered 3 times. Taking the absolute value of the entered value. > In ValidInput (line 10) In MA6 cougarnetID (line 16) Enter the width of the beam [m]: 0 Enter the width of the beam [m]: -5 Enter the width of the beam [m]: 0 Error using ValidInput (line 13) Entered value is zero. Cannot solve problem, exiting program. 2 Command Window Enter the length of the beam [m]: 10 Enter the width of the beam [m]: 0.1 Enter the height of the beam [m]: 0.1 Enter the magnitude of a concentrated force acting on the beam [N]: 1500 Enter the location of the force (0 - 10.00 meters): 7 Enter the magnitudes of multiple loads on the beam [N]: [800 350 200] Enter the locations of the forces, in order (0 - 10.00 meters): [358] The maximum deflection of the beam is 13.748 [mm]. Deflection of Steel Beam Under a Concentrated Load Enter the magnitudes of multiple loads on the beam [N]: [800 350 200 1500] Enter the locations of the forces, in order (0-10.00 meters): [3 5 8 7] The maximum deflection of the beam is 28.597 [mm]. 6 5 Beam Location (x) [m] 7 8 9 10 Deflection of Beam (y) [mm] -12 -14 Deflection of Steel Beam Under Multiple Concentrated Loads -16- 0 Yes 1 No 2 3 4 6 Beam Location (x) [m] 7 8 Would you like to repeat the calculation for a different set of loads? 9 10 Deflection of Beam (y) [mm] 0 -10 -30 -35 0 Yes Deflection of Steel Beam Under Multiple Concentrated Loads No O 2 4 5 6 Beam Location (x) [m] Would you like to repeat the calculation for a different set of loads? First figure displayed 3 Second figure displayed Second figure re-displayed 7 8 9
Expert Answer:
Related Book For
Posted Date:
Students also viewed these mechanical engineering questions
-
Write a literature review for your study. See below for an example of a literature review. Your literature review should provide both analysis and synthesis of previous studies as related to the...
-
re Regular Languages and Finite Automata (a) Let L be the set of all strings over the alphabet {a, b} that end in a and do not contain the substring bb. Describe a deterministic finite automaton...
-
Find the mass and center of mass of the lamina that occupies the region D and has the given density function p. D is the triangular region with vertices (0, 0), (2, 1), (0, 3); (x, y) = x + y
-
Perform a horizontal analysis of Pearle Company's income statement by computing horizontal percentages for each item. 2014 2013 |595,000 532,200 Sales 386,200 357,650 Less cost of goods sold Gross...
-
Suppose that, on average, 1 person in 1000 makes a numerical error in preparing his or her income tax return. If 10,000 forms are selected at random and examined, find the probability that 6, 7, or 8...
-
Consider a parallel-plate capacitor with charge \(+q\) on the top plate and \(-q\) on the other, and a plate area that is large relative to the separation distance. Contrast this with a spherical...
-
Carbon monoxide is burned with excess air at 1 atm in an adiabatic reactor. The reactants are fed at 25C and the final temperature (i.e., the adiabatic flame temperature) is 1400C. (a) Calculate the...
-
a) Having graduated with a bachelor of commerce finance option, you have been requested to discuss with other employees in finance department on three ways that are used to describe real estate....
-
Stainless Steel Specialties (SSS) is a manufacturer of hot water-based heating systems for homes and commercial businesses. The company has grown about 10% in each of the past five years. The company...
-
The division manager of Division B received the following operating income data for the past? year: Division B of Deisel, Inc. Income Statement For the Year Ended December 31, 2018 Product Line T205...
-
_______ A normal distribution is characterized by its mean and its degrees of freedom.
-
In the preceding problem we saw that a person's reaction time is generally not quick enough to allow the person to catch a \(\$ 1\) bill dropped between the fingers. The \(16 \mathrm{~cm}\) length of...
-
Repeat Exercise 13.4 assuming floating-point arithmetic. Exercise 13.4 Derive the expressions for the output-noise PSD, as well as their variances, for odd-order cascade filters realized with the...
-
In a sample of size 5 from a normal distribution, which is more likely: that the sample variance will be less than half the true variance, or that it will be more than twice the true variance?
-
A bush baby, an African primate, is capable of a remarkable vertical leap. The bush baby goes into a crouch and extends its legs, pushing upward for a distance of \(0.16 \mathrm{~m}\). After this...
-
Mo Nay has Net Income For Tax Purposes of $132,450, all of which is rental income. Her husband has Net Income For Tax Purposes of $1,600. They have three children, aged 14, 16, and 19. All of these...
-
Suppose that the electrical potential at the point (x, y, z) is E(x, y, z) = x + y - 2z. What is the direction of the acceleration at the point (1,3,2)?
-
While removing a wheel to change a tire, a driver applies forces P = 25 lb at the ends of two of the arms of a lug wrench (see figure). The wrench is made of steel with shear modulus of elasticity G...
-
The three-bar truss ABC shown in the figure has a span L = 3 m and is constructed of steel pipes having cross-sectional area A = 3900 mm2 and modulus of elasticity E = 200 GPa. Identical loads P act...
-
The frame ABCD shown in the figure is squeezed by two collinear forces P acting at points A and D. What is the decrease d in the distance between points A and D when the loads P are applied? (The...
-
In impulse turbines, pressure on the two sides of the moving blades: (a) Increases (b) Decreases (c) Remains same (d) None of the above
-
Parson's Turbine is a: (a) Simple impulse turbine (b) Simple reaction turbine (c) Pressure compounded turbine (d) Velocity compounded turbine
-
De-Lavel Turbine is a: (a) Simple impulse turbine (b) Simple reaction turbine (c) Pressure compounded turbine (d) Velocity compounded turbine
Study smarter with the SolutionInn App