Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.3K Views
|
13 Replies
|
7 Total Likes
View groups...
Share
Share this post:

How to solve a kinematics exercise with a differential equation?

I am wondering how to solve a kinematics exercise with a differential equation. I want to respect other author's copyright and the solution to their exercises, so I won't put the word problem here but if its okay I'll come up with a similar problem and ask for help solving that and then I'll be able to solve the problem from my textbook.

Otherwise, I think this will be taken down.

This is based on Giancoli Physics: Principles with Applications 7th edition, chapter 2 Describing Motion: Kinematics in One Dimension, page 45, problem 53, level III, which means a Challenge problem.
Douglas Giancoli states on page 43 (with Grammarly corrections applied to the quote), "The Problems at the end of each Chapter are ranked I, II, or III according to estimated difficulty, with level I Problems being easiest. Level III is meant as challenges for the best students."

This is a similar problem that I think could be reframed as a differential equation. A falling stone takes 0.2718 s (I'm choosing a time based on the digits of Euler's number) to travel past a window 2.718 m tall. From what height above the top of the window did the stone fall?

I think this could be modeled as an initial value problem for a second-order differential equation. It also might be a differential algebraic equation or a delay-differential equation that could be solved with DSolve. Once I figure out how to abstract the problem, I can make the computer do the calculations, get the result, and interpret the answer in the context of the problem.

My question is, what question should I ask in Computer-Based Maths step 1? Computer-Based Maths step 2 is abstract, which I think will be an ODE, and step 3, I think, will be DSolve and step 4 will be writing a conclusion.

POSTED BY: Peter Burbery
13 Replies

Yes, that is correct.

You might consider why this goes wrong, if you want to think about assumptions in modeling:

solutionEvent = 
  WhenEvent[x'[t] == -4 E(*new velocity*), Return[x[t], NDSolve]];
POSTED BY: Michael Rogers

If for example the stone was thrown down at e meters per second, would this be the solution?

accelerationBVPTemplate = <|"System" -> {x''[t] == #acceleration}, 
    "BoundaryConditions" -> {x[#t1] == #x1, x[#t2] == #x2}|> &;
solutionEvent = 
  WhenEvent[x'[t] == -E(*new velocity*), Return[x[t], NDSolve]];
myProblem = <|"acceleration" -> -9.8, "t1" -> 0, "x1" -> 0, 
   "t2" -> E/10, "x2" -> -E|>;
fallingPastWindowProblem = {Values@accelerationBVPTemplate[myProblem],
   solutionEvent}
NDSolve[fallingPastWindowProblem, {}, {t, -Infinity, 0}]

I put a comment to clearly indicate where I changed the code.

POSTED BY: Peter Burbery
POSTED BY: Michael Rogers

I thought since it is a kinematics equation, the problem could be cast as a differential equation. I thought the case with a difference of 0.2718 s would make it an application of discrete shift or discrete delta.

POSTED BY: Peter Burbery

The problem is in no way a DDE. In particular, the delay is not in the derivative, it's in the distance condition. And it is with respect to a specific time, not something that applies to all times t. Try instead (note corrected sign error)

rt = DSolveValue[{r''[t] == -9.8, r[t0 - 0.2718] - r[t0] == -2.718,  r[0] == 0}, r[t], t]

(* Out[173]= -4.9 (-1.76902 t + 1. t^2 - 2. t t0) *)

I do not claim this to be a good way to solve the problem, only that this can be used for a more indirect approach. You'd still need the initial velocity condition that was not used in the DE above in order to solve for t0.

Solve[(D[rt, t] /. t -> 0) == 0, t0]

(* {{t0 -> -0.884508}} *)

This can then be used to figure out r[t0].

POSTED BY: Daniel Lichtblau

Could I make it work with a delay-differential equation? I don't understand why DSolve couldn't solve the delay-differential equation.

POSTED BY: Peter Burbery

I made a new Manipulate.

Manipulate[(-2 heightOfWindow + a timetofallpastwindow^2)^2/(
 8 a timetofallpastwindow^2), {{timetofallpastwindow, 0.2718, 
   "Time to fall past window"}, 0.1, 
  1}, {{heightOfWindow, E, "Height of Window"}, 1, 
  5}, {{a, 9.8, "Acceleration of gravity"}, 9.8, 9.82, 0.0001}]
POSTED BY: Peter Burbery
FullSimplify[
 Block[{timeSolution}, 
  timeSolution = 
   First[Solve[
     a/2 (t + timetofallpastwindow)^2 - a/2 t^2 == heightOfWindow, 
     t]]; a/2 t^2 /. timeSolution]]
returns a symbolic answer of (-2 heightOfWindow + 
  a timetofallpastwindow^2)^2/(8 a timetofallpastwindow^2)
POSTED BY: Peter Burbery

I made a Manipulate

Manipulate[
 Block[{timeSolution}, 
  timeSolution = 
   First[NSolve[
     a/2 (t + timetofallpastwindow)^2 - a/2 t^2 == heightOfWindow, 
     t]]; a/2 t^2 /. timeSolution /. 
   a -> 9.8], {{timetofallpastwindow, 0.2718, 
   "Time to fall past window"}, 0.1, 
  1}, {{heightOfWindow, E, "Height of Window"}, 1, 5}]
POSTED BY: Peter Burbery

You are making this way to hard for a problem on page 45. In fact it does not require a differential equation.

Call the time the stone reaches the top of the window t. You are positing that it reaches the bottom at t+E/10. If the gravitational acceleration is a (I'm keeping things symbolic for now) and we call the position function s(t), then the standard physics gives s(t)=a t^2/2+constant (assuming zero initial velocity). The constant part will get removed from subtracting the position at window top from bottom.

Step 1: Figure out the time (in seconds) the stone took to reach the window top.

In[469]:= timesol = First[Solve[a/2*(t + E/10)^2 - a/2*t^2 == E, t]]

(* Out[469]= {t -> (200 - a E)/(20 a)} *)

Step 2: Plug that into the distance formula to find out how far it had traveled in that time. Here I plug in a decent approximation to the gravitational constant so we can get a number in meters.

In[471]:= a/2*t^2 /. timesol /. a -> 9.8

(* Out[471]= 3.83342 *)

Note: No DDE's were harmed in the making of this problem solution.

POSTED BY: Daniel Lichtblau

How can I cast it as a differential equation?

POSTED BY: Peter Burbery

What you have written is a delay differertial equation (DDE). But it can (and should) be cast as an ODE, noting that speed changes due to constant acceleration as the stone traverses from top to bottom of the window.

POSTED BY: Daniel Lichtblau

Please make sure you know the rules: https://wolfr.am/READ-1ST
Your post is too vague. Please describe your subject extensively providing technical details, code, examples, and other relevant ideas, so it is clear what exactly you are looking for.

POSTED BY: EDITORIAL BOARD
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard