Moving Ball on sloping surface issue

  • Thread starter Thread starter Chadlee88
  • Start date Start date
  • Tags Tags
    Ball Surface
Click For Summary

Homework Help Overview

The discussion revolves around a physics problem involving a ball on a tilting square plane. The original poster is attempting to calculate the velocity of the ball as it moves due to the tilt of the plane, which can tilt in multiple directions simultaneously. The problem involves kinematic equations and the effects of gravity on the ball's motion.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster describes their understanding of the ball's motion in terms of x, y, and z velocity components and expresses difficulty in integrating these components with the angles of tilt. Some participants suggest using vector mathematics and provide formulas related to forces acting on the ball, while others question the meaning of these formulas and seek clarification on the concepts involved.

Discussion Status

Participants are exploring various approaches to the problem, with some offering mathematical frameworks while others express confusion and request further explanations. There is an ongoing dialogue about the implications of the tilt angles and how they affect the calculations, indicating a productive exchange of ideas without a clear consensus yet.

Contextual Notes

The original poster notes that the angles of tilt are not specified in a traditional sense but are determined by user input through key presses, which adds complexity to the problem. There is also mention of constraints related to the programming aspect of the project.

Chadlee88
Messages
40
Reaction score
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.
 
Physics news on Phys.org
hi, chadlee88, try vector if you do not want too much trouble, especially when you are programming.


<br /> <br /> \left[\begin{array}{c}M_{r}\end{array}\right] =<br /> <br /> \left[\begin{array}{ccc}1&amp;0&amp;0\\0&amp;cos(\theta_{x})&amp;-sin(\theta_{x})\\0&amp;sin(\theta_{x})&amp;cos(\theta_{x})\end{array}\right]<br /> <br /> \left[\begin{array}{ccc}cos(\theta_{y})&amp;0&amp;-sin(\theta_{y})\\0&amp;1&amp;0\\sin(\theta_{y})&amp;0&amp;cos(\theta_{y})\end{array}\right]<br /> <br /> \left[\begin{array}{ccc}cos(\theta_{z})&amp;-sin(\theta_{z})&amp;0\\sin(\theta_{z})&amp;cos(\theta_{z})&amp;0\\0&amp;0&amp;1\end{array}\right]<br /> <br />

<br /> <br /> \vec{r}_{normal} =<br /> <br /> \left[\begin{array}{c}M_{r}\end{array}\right]<br /> <br /> \left[\begin{array}{c}0&amp;0&amp;1\end{array}\right]<br /> <br />

<br /> <br /> \vec{F}_{gravity} = <br /> \left[\begin{array}{c}0&amp;0&amp;mg\end{array}\right]<br /> <br />

<br /> <br /> f = \left|\vec{F}_{gravity}\bullet\vec{r}_{normal}\right|<br /> <br />

<br /> <br /> \vec{F}_{support} = f\vec{r}_{normal}<br /> <br />

<br /> <br /> \vec{F}_{equivalent} = \vec{F}_{support} + \vec{F}_{gravity}<br /> <br />

<br /> <br /> \vec{a} = \frac{\vec{F}_{equivalent}}{mass}<br /> <br />
 
Ok...thanx for that...but i have no idea what all those formulas you jst posted mean.
like F support, r normal, F, Mr equivalent etc. Could you please explain what all that is about cos yeh...i don't get any of it. Like i said, i haven't done physics for 4 years. If i don't get the forumulas then i wont' be able to apply them correctly. And also, as i was saying with the angles of tilt of the square platform, i don't specify an angle as such in the x direction, y direction and z direction. what it does is this: starts off as a level square platform then when i press the left arrow key the board tilts to the left by say "K" degrees, if i then press the up key the board tilts by say "P" degrees. what is actually happening is that the board is being redrawn every few milisecs so as i press the arrow keys it firstly re-draws the board at an angle of "P" degrees then draws at an angle of "K" degrees. Because this redrawing is done so fast it appears as though the board is tilting at the same time the user is pressing the arrow keys. so i only have 2 angle values:

-20 < K < +20 (for left and right, K comes from the above passage)
-20 < P < + 20 (for up and down)

I mention this cos i saw ur matrix thing had theta x, theta y, theta z

thanx :) But yeh still neeed help!
 
Last edited:
r_normal is unit normal vector of your flat square.
F_support is force on the ball by the flat square.
F_equavilent is equavilent force applied on the ball.
M_r is rotational matrix.
theta_x, theta_y, theta_z are rotation angle about x, y, and z axis respectively.

look, support force on the ball by the square has a direction along r_normal, and gravity dot products r_normal will be gravity division along r_normal; they will be same in magnitude, but opposite direction because the ball cannot pass through the square.

so comes the equations above,
equation 4 is to find magnitude of support force. because support force direction is same as r_normal, support force vector can be found from equation 5.

there are two forces applied on the ball, gravity and support, the equation 6 is just adding two force vectors together for equivalent force on the ball.

you can use Mr directly without knowing why, or google rotation matrix.

for the programming matters, they are just a problem of how you deal with inputs.
 

Similar threads

Replies
34
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 38 ·
2
Replies
38
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
20
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 23 ·
Replies
23
Views
2K
Replies
14
Views
2K
Replies
1
Views
2K