Finding the Resultant of Forces in Space (Code) [Statics With Python #9]

preview_player
Показать описание
We're finally ready to start writing the script in Python to determine the resultant of a bunch of forces acting on a particle in space! We'll go over Tuples, enumerated for-loop, and the math library to solve our problem.

⏰ Timestamps:

0:00 Introduction
0:44 Defining Our Input
3:12 Initialize Rx, Ry, & Rz
4:17 Defining Our For Loop
6:29 Improving Our For Loop
8:55 Calculating dx, dy, & dz
11:47 Determining d
14:00 Storing Lambda in a Tuple
15:37 Finding Fx, Fy, & Fz for Each Force
17:19 Incrementing Resultants' Components
18:04 Calculating the Resultant's Magnitude
19:59 Calculating Direction Angles
22:40 Printing Our Answer

🐥 Follow me on Twitter here: @simmysigma
📸 Follow me on Instagram here: @simmysigma

--
Рекомендации по теме