Code covered by the BSD License

# Using Analytical Tools to Gain Insight and Speed-up Num. Analysis in MATLAB & Symbolic Math Toolbox

### Deepak Ramaswamy (view profile)

28 Jan 2013 (Updated )

files from the webinar

helper.timeReturnd1000(RocketStartTime,EngineOffTime,Chute1Time,Chute2Time)
```function time = timeReturnd1000(RocketStartTime,EngineOffTime,Chute1Time,Chute2Time)
%TIMERETURND1000
%    TIME = TIMERETURND1000(ROCKETSTARTTIME,ENGINEOFFTIME,CHUTE1TIME,CHUTE2TIME)

%    This function was generated by the Symbolic Math Toolbox version 5.9.
%    06-Nov-2012 14:36:50

t2 = EngineOffTime.*3.1569e4;
t3 = RocketStartTime.*-2.9325e4;
t4 = t2+t3-3.575e6;
t5 = RocketStartTime.*5.0031e4;
t6 = t5+3.405875e8;
t7 = sqrt(t6);
t8 = RocketStartTime.*5.1e12;
t9 = t8-1.625e16;
t10 = 1.0./t9;
t11 = RocketStartTime.*t7.*t10.*2.5808718787e10;
t12 = EngineOffTime.*1.0323063e7;
t13 = RocketStartTime.*-8.855487e6;
t14 = t12+t13+1.553695e10;
t15 = 1.0./sqrt(t14);
t16 = EngineOffTime.*-1.57845e12;
t17 = RocketStartTime.*1.35405e12;
t18 = t16+t17+3.575e14;
t19 = 1.0./t18;
t20 = 1.0./sqrt(t4);
t21 = sqrt(t14);
t22 = sqrt(t4);
time = EngineOffTime.*9.999999999980338e-1-t22.*atanh(t20.*t21.*tanh(t21.*(t15.*atanh((t7.*t15.*sinh(t11).*3.8297084312)./cosh(t11)).*6.7449166071e-9-EngineOffTime.*t19.*1.0+RocketStartTime.*t19).*1.482598019e8).*3.910309435e-2).*2.6374711048e-2-t22.*atanh(t20.*4.319075681396402e3).*2.637471104805186e-2;
```