Modeling a Swing with parametric functions

AI Thread Summary
The discussion focuses on modeling the vertical and horizontal motion of a swing using parametric functions based on collected data. The maximum height is 258 cm, the lowest point is 38 cm, and the horizontal range is from 2.39 m to 2.44 m, with a period of approximately 2.5793 seconds. The initial equations for x and y movements were derived using sine and cosine functions, but issues arose with negative time values in the graph. Suggestions include ensuring consistent units, interpreting the period correctly, and potentially using the pendulum period formula to find the length of the swing's chain. Overall, the conversation emphasizes refining the model for accurate representation of the swing's motion.
nvidia69
Messages
6
Reaction score
0

Homework Statement


How can one model the vertical and horizontal motion of a swing? The maximum height was 258 cm, the lowest 38cm and the horizontal movements went from 2.39m on the left to 2.44m on the right. The period was approx 2.5793 seconds.
(The data was hand collected, so it is not perfect)

Homework Equations


knowledge of sine and cosine functions


The Attempt at a Solution


So I set up a periodic equation for the x movement as x=2.415sin(2pi/2.5793 T) using the data above and then for y, y=-1.48cos(pi/2.5793 T) + 1.86. This results in a circle if the T values get large enough. So to compensate, I restricted the domain, and got a semi circle. However, there are still -T values, which makes no sense as one cannot have negative time. Is there a more accurate way to do this or any way to shift the graph to the right, to avoid negative T's?
 
Physics news on Phys.org
nvidia69 said:
...Is there a more accurate way to do this or any way to shift the graph to the right, to avoid negative T's?

Like you said, it's a periodic function so it repeats every 2.5793 seconds. The "graph" goes on forever to the right, at least in an ideal world (without air resistance, friction, etc)
 
nvidia69 said:

Homework Statement


How can one model the vertical and horizontal motion of a swing? The maximum height was 258 cm, the lowest 38cm and the horizontal movements went from 2.39m on the left to 2.44m on the right. The period was approx 2.5793 seconds.
(The data was hand collected, so it is not perfect)

Homework Equations


knowledge of sine and cosine functions


The Attempt at a Solution


So I set up a periodic equation for the x movement as x=2.415sin(2pi/2.5793 T) using the data above and then for y, y=-1.48cos(pi/2.5793 T) + 1.86. This results in a circle if the T values get large enough. So to compensate, I restricted the domain, and got a semi circle. However, there are still -T values, which makes no sense as one cannot have negative time. Is there a more accurate way to do this or any way to shift the graph to the right, to avoid negative T's?

Don't forget to notice that some of your dimensions are in meters and some in cm., so you need to use consistent units. A more serious problem is the interpretation of "period". It isn't giving you the period of your sine or cosine function. It is telling you how long it takes to swing to and fro one time. The left and right distances would be equal in a frictionless world, so you may need to use their average and assume no friction. You will need to use that value to give your T limits and to figure out the theoretical period of the cosine function.
 
Additionally, I think you need to measure the length L of the chain supporting the swing and use

T =2\pi\sqrt{\frac L g}

for the approximate period of a pendulum swing.

[Edit] On looking at it again, I think you don't need to measure L but can use the above equation to get L knowing T. Then you have the radius of your circle arc.
 
Last edited:
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Back
Top