kinematics 1 (retired)
Description:
This challenge reminds of high school days.
A point mass m2
is placed at origin of cartesian plane.
Another point mass m1
moving with velocity u1
,
at an angle theta
(measured in degrees in counter clockwise direction with respect to negative x
axis)
with velocity v1
strikes m2
.
The collision is perfectly elastic.
The surface between -1 < x < 1
and -1 < y < 1
is perfectly smooth, whereas surface outside of this square has friction coefficient K
.
Constraints:
- 0 <=
theta
<= 90 g
= 9.8 (m/s^2)m1
,m2
> 0
return a tuple containing
((final_coordinates1), (final_coordinates2))
in same order.
Note:the answers should be rounded off to second decimal place.
final_coordinates are final (x,y) coordinates after the objects come to rest.
The block m1 starts in the frictionless sqr with velocity u1.
Note: Basic equation of motion of newtonian mechanics have been used.
Similar Kata:
Stats:
Created | May 19, 2020 |
Warriors Trained | 32 |
Total Skips | 0 |
Total Code Submissions | 51 |
Total Times Completed | 9 |
Python Completions | 9 |
Total Stars | 3 |
% of votes with a positive feedback rating | 40% of 5 |
Total "Very Satisfied" Votes | 2 |
Total "Somewhat Satisfied" Votes | 0 |
Total "Not Satisfied" Votes | 3 |
Total Rank Assessments | 5 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 8 kyu |