... j=1:j4 74: [t4,x4]=mckde4i(m,c,k,t0,dsp,vel,tfin,h4,i4);75: end76: tcp4=toc/j4; tr4=tcp4/tcpmr;77:78:I4=1; H4=h/I4; tic;79: for j=1:J480: [T4,X4]=mckde4i(m,c,k,t0,dsp,vel,tfin,H4,I4);81: ... num2str(tr4)];339: lg2=[’h= ’, num2str(H4), 340 : ’, relative cputime= ’, num2str(Tr4)]; 341 : legend(lg1,lg2,2); figure(gcf); 342 : % print -deps deislne4 343 : disp(’ ’), disp(’All Done’) 344 : 345 :%============================================= 346 : 347 :% ... 275 41 : options=odeset(’RelTol’,tol); 42 : [t3,z3]= 43 : ode45(@pinvert,[0,tmax],[0;w*th0], 44 : options,alp,bet,gam,th0,w); 45 : n3=ncal; ncal=0; 46 : 47 :% tight spring with stringent tolerance 48 :...