我通过使用简单的一阶阶跃函数来估计下落物体的位置与时间的关系,其中
for i=2:length(t) % We're using Euler, so we need an initial previous point to start t=t(i);
V=V+dv;
rho_i= % Calculate our height and then pull rho from data
K=(m/(mg-.5*C_d*A*V^2*rho_i));
dv=dt/K;
pos=pos-(V-V_previous)/2*dt;
V_previous=V;
velocity_Vector(i)=V;
pos_Vector(i)=pos;
end
现在我想知道,这个东西掉下来之后会有多少误差,比如很多公里?
我知道这是一阶近似值,所以有错误……但是说我需要知道该错误的界限……我该怎么计算呢?