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:
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top