Define a python function to determine the 2nd moment of area I, under the parabola, with respect to the centroidal-axis. The parabolic curve is defined as z = ky², where k = b/h². The centroidal axis has a given distance d with respect to z axis. Hints: Use the parallel axis theorem. Find the 2nd moment of area against z axis first and then use the formula I₂ = I, + d² A tox calculate I, where d is a given value (no need to derive). Note that this question requires you to derive the equation first.

International Edition---engineering Mechanics: Statics, 4th Edition
4th Edition
ISBN:9781305501607
Author:Andrew Pytel And Jaan Kiusalaas
Publisher:Andrew Pytel And Jaan Kiusalaas
Chapter8: Centroids And Distributed Loads
Section: Chapter Questions
Problem 8.73P
icon
Related questions
Question
хоос»
0 Python 3 (p
Define a python function to determine the 2nd moment of area I, under the parabola, with respect to the centroidal-axis. The
parabolic curve is defined as z = ky2, where k = b/h². The centroidal axis has a given distance d with respect to z axis.
Hints: Use the parallel axis theorem. Find the 2nd moment of area against z axis first and then use the formula I₂ = I₁ + d²A to
calculate I, where d is a given value (no need to derive). Note that this question requires you to derive the equation first.
$
4
l) | Idle Mem: 260.77/12288.00 MB
Q
F4
R
y
1
1
0
do 5
[ ]: # Complete the function given the variables b,h,d and return the value as "Area","Iz" and "Ic"
# This is not about numerical integration, we only need the analytical solution.
# Don't change the predefined content, only fill your code in the region "YOUR CODE"
Mode: Command
%
9
F5
0
T
.
Markdown v
z = ky²
2
6
C
F6
Validate
Y
&
7
8:
F7
U
*
8
DII
F8
I
19
F9
b
O
)
Ln 1, Col 1 English (United States) Python_coursework.ipy
O
0
4
4
Z
F10
P
4
F11
{
لاب
[
+
c^
11
F12
}
]
Transcribed Image Text:хоос» 0 Python 3 (p Define a python function to determine the 2nd moment of area I, under the parabola, with respect to the centroidal-axis. The parabolic curve is defined as z = ky2, where k = b/h². The centroidal axis has a given distance d with respect to z axis. Hints: Use the parallel axis theorem. Find the 2nd moment of area against z axis first and then use the formula I₂ = I₁ + d²A to calculate I, where d is a given value (no need to derive). Note that this question requires you to derive the equation first. $ 4 l) | Idle Mem: 260.77/12288.00 MB Q F4 R y 1 1 0 do 5 [ ]: # Complete the function given the variables b,h,d and return the value as "Area","Iz" and "Ic" # This is not about numerical integration, we only need the analytical solution. # Don't change the predefined content, only fill your code in the region "YOUR CODE" Mode: Command % 9 F5 0 T . Markdown v z = ky² 2 6 C F6 Validate Y & 7 8: F7 U * 8 DII F8 I 19 F9 b O ) Ln 1, Col 1 English (United States) Python_coursework.ipy O 0 4 4 Z F10 P 4 F11 { لاب [ + c^ 11 F12 } ]
| Idle
$
a
F4
R
0
Area=0
Iz=0
Ic=0
[ ]: ## Don't write any code in this box
[ ]: ## Don't write any code in this box
[ ]: ## Don't write any code in this box
Mem: 260.77 / 12288.00 MB
0
[ ]: # Complete the function given the variables b,h,d and return the value as "Area","Iz" and "Ic"
# This is not about numerical integration, we only need the analytical solution.
#Don't change the predefined content, only fill your code in the region "YOUR CODE"
def SecondMoment Area (b, h, d):
#Intialise the variables as the return values
# YOUR CODE HERE
return Area, Iz, Ic
%
5
F5
T
1
<CO
A
6
F6
V
1
&
7
F7
*
T
∞
8
I
T
T
T
DII
F8
b
O
Mode: Command X Ln 1, Col 1 English (United States)
DD
F9
d
)
0
Z
J
F10
4
F11
Python_c
+ 11
=
{
Transcribed Image Text:| Idle $ a F4 R 0 Area=0 Iz=0 Ic=0 [ ]: ## Don't write any code in this box [ ]: ## Don't write any code in this box [ ]: ## Don't write any code in this box Mem: 260.77 / 12288.00 MB 0 [ ]: # Complete the function given the variables b,h,d and return the value as "Area","Iz" and "Ic" # This is not about numerical integration, we only need the analytical solution. #Don't change the predefined content, only fill your code in the region "YOUR CODE" def SecondMoment Area (b, h, d): #Intialise the variables as the return values # YOUR CODE HERE return Area, Iz, Ic % 5 F5 T 1 <CO A 6 F6 V 1 & 7 F7 * T ∞ 8 I T T T DII F8 b O Mode: Command X Ln 1, Col 1 English (United States) DD F9 d ) 0 Z J F10 4 F11 Python_c + 11 = {
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Fluid Kinematics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
International Edition---engineering Mechanics: St…
International Edition---engineering Mechanics: St…
Mechanical Engineering
ISBN:
9781305501607
Author:
Andrew Pytel And Jaan Kiusalaas
Publisher:
CENGAGE L