I did some more thinking about the problem and think I’ve figured it out. Here’s the solution. After that I’ll explain the components in detail and provide commentary about my thoughts.
In[]:=
equations=r''[t]==["Value"],rt--r[t]==;
In[]:=
DSolve[equations,r[t],t]
′′
r
Out[]=
DSolve[t],-r[t]+rt+,r[t],t
′′
r
I don’t know how to fix this.
In[]:=
DSolver''[t]==["Value"],r[t],t
Out[]=
r[t]+t+
1
2
2
t
Maybe using no Quantities will fix the problem.
In[]:=
DSolve[{r''[t]==-9.8,r[t-0.2718]-r[t]==2.718},r[t],t]
′′
r
Out[]=
DSolve[{[t]-9.8,r[-0.2718+t]-r[t]2.718},r[t],t]
′′
r
I think this is a delay differential equation. I changed an example from the documentation and get the error.
In[]:=
sol=DSolve[{x'[t]==x[t-1]^2,x[t]==at},x[t],{t,0,2}]
′
x
2
x[-1+t]
Out[]=
DSolve[{[t],x[t]at},x[t],{t,0,2}]
′
x
2
x[-1+t]
The example from DSolve, Scope, Delay Differential Equations works when /;t<=0 is added.
In[]:=
sol=DSolve[{x'[t]==x[t-1]^2,x[t/;t<=0]==at},x[t],{t,0,2}]
Out[]=
x[t]
|
The error still exists with condition if t is changed to {t,0,2}.
In[]:=
sol=DSolve[{x'[t]==x[t-1]^2,x[t/;t<=0]==at},x[t],t]
′
x
2
x[-1+t]
Out[]=
DSolve[{[t],x[t/;t≤0]at},x[t],t]
′
x
2
x[-1+t]
Maybe it will work with /;
In[]:=
DSolve[t/;t>=0],-r[t]+rt+,r[t],t
′′
r
Out[]=
DSolve[t/;t≥0],-r[t]+rt+,r[t],t
′′
r
I don’t get the error when I specify a tmin and a tmax. I don’t know what the max time is so I’ll go for 100 s, which seems reasonable for the time it takes to fall.
In[]:=
DSolve[t/;t>=0],-r[t]+rt+,r[t],{t,0,100}
′′
r
Out[]=
DSolve[t/;t≥0],-r[t]+rt+,r[t],{t,0,100}
′′
r
Maybe the quantities are making it not evaluate.
In[]:=
DSolve[{[t/;t>=0]-9.8,-r[t]+r[t+-0.2718]2.718},r[t],{t,0,100}]
′′
r
Out[]=
DSolve[{[t/;t≥0]-9.8,r[-0.2718+t]-r[t]2.718},r[t],{t,0,100}]
′′
r
In[]:=
DSolve[{[t/;t>=0]-9.8,-r[t]+r[t+-0.2718]2.718},r[t],{t,0,100}]
′′
r
Out[]=
DSolve[{[t/;t≥0]-9.8,r[-0.2718+t]-r[t]2.718},r[t],{t,0,100}]
′′
r
I can find how high a stone would fall from it if it took 100 s to fall.
In[]:=
UnitConvert12,"Meters"
2
Out[]=
In[]:=
NUnitConvert12,"Kilometers"
2
Out[]=
I don’t think the stone fell from a height of km.
49.0333
Find entities for physical constants in the acceleration class.
In[]:=
EntityValue[EntityClass["PhysicalConstant","Acceleration"],"Entities"]
Out[]=
,,
In[]:=
DeleteMissingEntityValue,"PropertyAssociation"
In[]:=
C[1]
Out[]=
1
I have the equation , or a more precise value for the standard acceleration of gravity such as . r(t) represents the vertical position, or height at time t. r(0) is the height of the building. Integrating the acceleration r’’(t)=-g gives the velocity . Integrating the velocity to determine the position gives , which has a similar form the textbook’s equation of .
r''(t)=-9.8m/
2
s
-9.81m/
2
s
r'(t)=-gt+
1
r(t)=-g+t+
2
t
2
1
2
x=+t+a
x
0
v
0
1
2
2
t
Let and be the times at which the stone passes the top and bottom parts of the window, respectively. For example could be 1 second. This means the stone passes the top part of the window 1 second after the stone is dropped from the roof. Then 0.2718 s later at the stone passes the bottom part of the window. We have the equation =+0.2718s.
t
1
t
2
t
1
t
2
t
2
t
1
I need some help figuring out how to enter the ODE.
