



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




dx ds cos
ds dx dx
sec
cos
1
sec 1 tan
yO
% Bruce Mayer, PE % ENGR25 * 03Jan % file = Prob10_25_Symbolic_Soln_0801.m % % Solve P10. % % Declare x, a, b as symbolic syms x a b % % Define Catenary y(x) y = 10*cosh((x-20)/10) % % Take dy/dx symbolically dydx = diff(y) % % Find L Symbolically L = int(sqrt(1+dydx^2),a,b) pretty(L) % % display L disp(' ') disp('DISPLAYING L(a,b) - HIT ANY KEY TO CONTINUE') disp(' ') pause % % calc L(0,50) anum = 0; bnum = 50; Lnum = double(int(sqrt(1+dydx^2),anum,bnum)); disp('L from 0 to 50 = ') disp(Lnum)