- #1
Chadlee88
- 41
- 0
Homework Statement
Hey, I'm currently working a software project where I have a ball on a flat square plane and that plane can tilt up and down and left and right and at a combined angle in both direction
for example diagonally. I haven't done physics since high school (4yrs ago) and I've been looking at a few kinematic equations but can't seem to put it all together to be able to find the correct formula to use which takes into account the angles of tilt. So i know how much the value of tilt is tilting left and right, And up and down. but what I'm looking for is an equation to calculate the velocity of the ball as it moves due to the tilt of the square plane.
Homework Equations
ax = Acceleration in x direction
ay = Acceleration in y direction
vf = final velocity
vi = initial velocity
xyAngle = angle created by tilting square plane left or right (Tilt bounds: -20 to 20 degrees)
xzAngle = angle created by tilting plane up or down (Tilt bounds: -20 to 20 degrees)
g = 9.8 (gravity)
t = time
a = acceleration which is due to gravity (ball doesn't move unless the board tilts)
Formulas:
ay = (5/7g sin squared (theta)
ax = (5/7g cos (theta) sin(theta)
vf = vi + at
The Attempt at a Solution
See what i was thinking was the ball has an x velocity component (moving left and right on the plane), a y component(which changes as ball moves up or down when board is tilted) and a z component(which changes as the ball moves up and down the board). The ball would therefore also have an x position, y position and z position. This is is my thinking anyways, i may be wrong here.
But what I'm really struggling is how i encompass these 3 components into calculating the velocity equation for the ball which also takes into account the two angles both up and down tilt and left and right tilt and a combination of the two. Like i said previous I've already programmed the maze to give me these 2 values but i really don't have a clue how to put this all together :( i really would appreciate if someone could help me with this cos I've spent a long time getting nowhere.