How do I write this interesting piecewise function?

Click For Summary

Homework Help Overview

The discussion revolves around finding a piecewise function that describes the behavior of a 32-pound object attached to a spring, with a spring constant of 1. The object experiences a forcing function that yields a constant velocity, which changes sign periodically. The problem involves analyzing the motion of the object as it is pulled and released, and how the piecewise function can represent this behavior over time.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the formulation of the piecewise function, with some suggesting the use of unit step functions and Laplace transforms. There are attempts to define the function over specific intervals and to represent the periodic nature of the forcing function.

Discussion Status

Several participants have offered different representations of the piecewise function and have explored the implications of using periodic functions. There is ongoing discussion about the correctness of the proposed functions and the methods to derive them, indicating a productive exchange of ideas without a clear consensus yet.

Contextual Notes

Participants note that the piecewise function is not defined for all values of t, specifically for t < 0, and there are references to constraints related to the periodic nature of the function and the initial conditions of the problem.

JosephK
Messages
38
Reaction score
2

Homework Statement


[URL]http://www2.seminolestate.edu/lvosbury/images/VibSpringAnNS.gif[/URL]
Find the governing differential equation and position functions for a 32 pound object attached to the end of a spring with a spring constant of 1 and a forcing function that yields a constant velocity in the direction of motion. This velocity changes sign periodically. The forcing function is piecewise. The object is pulled down until the spring is stretched to 5 feet below its equilibrium position and then the object is released with an initial velocity of -1 ft/sec and the forcing function produces a constant velocity of -1 ft/sec. After the object has traveled 10 feet it is impeded and reverses direction with an initial velocity at that point of 1 ft/sec. and the forcing function changes to produce a constant velocity of 1 ft/sec. This behavior continues indefinitely.

Homework Equations





The Attempt at a Solution



I am interested in only finding the piecewise function.

I drew the graph.
[URL]http://assets.openstudy.com/updates/attachments/4dfd29cf0b8bbe4f12e6e1ca-joseph20111-1308436975669-piecewise.bmp[/URL]


I think I can use a calculator function such as frac(x) or int(x).

I wrote a piecewise (unfinished) function that I believe can be simplified.
[URL]http://assets.openstudy.com/updates/attachments/4dfd29cf0b8bbe4f12e6e1ca-joseph20111-1308447921585-pie.bmp[/URL]

-t represents line with negative 1 slope. t represents line with positive 1 slope.
I wrote (1)^n * t for alternating t.

To write inequalities, 5 + 10n.
 
Last edited by a moderator:
Physics news on Phys.org
Your forcing functio is periodic with period 20. The simplest thing to do would be to solve it as two separate problems for -5< t< 5 and then for 5< t< 15.
 
Your piecewise description of your forcing function is not correct. For the period from -5 to 15 your formula would be:

f(x) = x, -5<x<5
f(x) = 10 - x, 5 < x < 15

You can write this portion of f(x) using the unit step function u(x):

f(x) = x + (10-2x)u(x-5) for -5 < x < 15

and call F(x) the periodic extension of f(x) with period 20. Then you could solve the DE using LaPlace transforms, making use of the expression for the LT of a periodic function.
 
f(t) = t, -5<t<5
f(t) = 10 - t, 5 < t < 15

I think I can find the Laplace transform of this periodic function.
 
JosephK said:
f(t) = t, -5<t<5
f(t) = 10 - t, 5 < t < 15

I think I can find the Laplace transform of this periodic function.

Since your piecewise function is actually not defined for t < 0, you should use a formula on (0,20) to take the LaPlace transform. I think it is:

f(t) = t -10u(t-5) - 10u(t-15) on (0,20)

but you can check to be sure.
 
JosephK said:

Homework Statement


[URL]http://www2.seminolestate.edu/lvosbury/images/VibSpringAnNS.gif[/URL]
Find the governing differential equation and position functions for a 32 pound object attached to the end of a spring with a spring constant of 1 and a forcing function that yields a constant velocity in the direction of motion. This velocity changes sign periodically. The forcing function is piecewise. The object is pulled down until the spring is stretched to 5 feet below its equilibrium position and then the object is released with an initial velocity of -1 ft/sec and the forcing function produces a constant velocity of -1 ft/sec. After the object has traveled 10 feet it is impeded and reverses direction with an initial velocity at that point of 1 ft/sec. and the forcing function changes to produce a constant velocity of 1 ft/sec. This behavior continues indefinitely.

Homework Equations



The Attempt at a Solution



I am interested in only finding the piecewise function.

I drew the graph.
[URL]http://assets.openstudy.com/updates/attachments/4dfd29cf0b8bbe4f12e6e1ca-joseph20111-1308436975669-piecewise.bmp[/URL]


I think I can use a calculator function such as frac(x) or int(x).

I wrote a piecewise (unfinished) function that I believe can be simplified.
[URL]http://assets.openstudy.com/updates/attachments/4dfd29cf0b8bbe4f12e6e1ca-joseph20111-1308447921585-pie.bmp[/URL]

-t represents line with negative 1 slope. t represents line with positive 1 slope.
I wrote (1)^n * t for alternating t.

To write inequalities, 5 + 10n.

One way of representing this that comes to mind is to use a x arcsin(sin(bx)) for constants a and b. From your drawing let a = A and b = pi/10 and hopefully that should give you what you need.
 
Last edited by a moderator:

Similar threads

Replies
30
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
Replies
2
Views
2K
Replies
1
Views
5K
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
4
Views
2K
Replies
3
Views
986
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K