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.
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.
Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
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
}
]](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F226fee03-c629-4185-8cef-0e29840a7a8d%2Ffe5909e7-daf5-46e4-bfaa-ba7bd6f88b45%2Fiokfla_processed.jpeg&w=3840&q=75)
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
=
{](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F226fee03-c629-4185-8cef-0e29840a7a8d%2Ffe5909e7-daf5-46e4-bfaa-ba7bd6f88b45%2Fqq51eyi_processed.jpeg&w=3840&q=75)
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

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images

Knowledge Booster
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.Recommended textbooks for you

Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education

Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY