Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Assignments / A1: Arithmetic Write a Python expression to calculate the load on a cantilevered beam. Due Thu, 14 Jan 2021 @ 18:00 This assignment

image text in transcribedimage text in transcribed

Assignments / A1: Arithmetic Write a Python expression to calculate the load on a cantilevered beam. Due Thu, 14 Jan 2021 @ 18:00 This assignment is an example of how, in programming, there's often more work in solving a problem mathematically or algorithmically than there is in actually writing code. Before you write any code, start by asking yourself: how would I solve this problem mathematically? Work through a few examples on paper and note the way in which you solve the problem. This is your admittedly rather simple) algorithm, which you then need to turn into a Python expression. Background An important consideration in structural engineering is the degree to which structural beams bend or deflect. Although we mostly work with ideal (i.e., non- deforming) structural elements in Engineering One courses such as Statics, real objects bend and break. For example, Figure 1 shows a beam that is cantilevered (one end of it is fixed), with a force applied to the end of the beam. In such a beam, the angle of deflection of the beam B (in radians) can be calculated as: FL2 B = 2EI Figure 1. Force applied to the end of a cantilever where F is the force acting on the beam, L is the beam's length, E is the beam's moment of elasticity (a topic beyond us for the moment) and I is its moment of inertia (which you may see in ENGI 1010). This assumes, however, that the beam is weightless still not a very realistic model! A more exacting model is that of a force applied uniformly along the length of a beam, as shown in Figure 2. In this model, the angle of deflection at the end of the beam is given as: q qL3 OB 6EI where q is the load on the beam (F:L) and the other quantities are as above. The angle of deflection of the beam at a position x along the beam is given by the following equation: qa , :- 3Lx + x) 6EI L Figure 2. Force applied along a cantilever (3L2 92 6EI (3L2 3Lx +22) Objective Your goal for this assignment is to write a Python expression for the load qon a cantilever under uniform loading. You may assume that the following variables have been defined for you: Variable Meaning Unit Constraint(s) Length of the beam m L>0 0 0 E Modulus of elasticity Pa (N/m2) E>0 I Area moment of inertia m4 I>0 Procedure Assuming that the variables described above have been provided for you, write a Python expression for the load on the beam (q). As in assignment 0, don't provide a script or a function, don't print anything or expect user input, just write the expression in a file called assign1.py. Submit this file to Gradescope for functional evaluation. Remember, assignments are individual work: you must complete the assignment yourself

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_2

Step: 3

blur-text-image_3

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

Spatio Temporal Database Management International Workshop Stdbm 99 Edinburgh Scotland September 10 11 1999 Proceedings Lncs 1678

Authors: Michael H. Bohlen ,Christian S. Jensen ,Michel O. Scholl

1999th Edition

3540664017, 978-3540664017

More Books

Students explore these related Databases questions

Question

College graduate in marketing

Answered: 3 weeks ago

Question

Explain the market segmentation.

Answered: 3 weeks ago

Question

Explain consumer behaviour.

Answered: 3 weeks ago

Question

2. How will the team select a leader?

Answered: 3 weeks ago