0

Помогите пж с питоном(help me please with python)

Около стены наклонно стоит палка длиной х м. Один ее конец находится на расстоянии у м от стены. Определить значение угла а между палкой и полом для значений х = k м и у, изменяющегося от 2 до 3 м с шагом h м. A stick with a length of x m stands obliquely near the wall . One end of it is located at a distance of m from the wall. Determine the value of the angle a between the stick and the floor for the values x = k m and y, varying from 2 to 3 m in increments of h m.

29th Sep 2023, 11:31 AM
Tipo Pon
Tipo Pon - avatar
6 Answers
+ 4
Math hint: alpha = arccosine(y / x) [returns value in radians between 0 and PI] and arccosine expects a parameter in the range -1 to 1, what is y / x
29th Sep 2023, 3:50 PM
JaScript
JaScript - avatar
+ 3
Can you share your attempt?
29th Sep 2023, 12:44 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
0
Can you speak Englisch?
29th Sep 2023, 11:39 AM
D1M3
D1M3 - avatar
0
Not very good
29th Sep 2023, 11:40 AM
Tipo Pon
Tipo Pon - avatar
0
Np can you sent me your Code?
29th Sep 2023, 11:41 AM
D1M3
D1M3 - avatar
0
I almost forgot everything about triangle. If below link as a reference, can you describe how the stick and wall is positioned, and what are the parameters? https://d138zd1ktt9iqe.cloudfront.net/media/seo_landing_files/formulas-related-to-sin-cos-and-tan-1623752098.png Also, python as a math library you can import. Inside that module there are cos, sin and tan functions. Maybe that is what you want?
29th Sep 2023, 1:55 PM
Wong Hei Ming
Wong Hei Ming - avatar