⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p12_30.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
% P12_30.M% Compute the length of a parabolic cable length hung between %   span = distance between end points (in any length units)%   height = total height of cable relative to its lowest point%     (in same units as span)%%   The integrand is defined in function arclenf and%     the result is L=2* int[sqrt(1+(kx)**2)] from o to span/2global CINTspan=input('Input span  ')s=span/2;	% half span for integrationheight=input('Input height  ') CINT=(4*height^2)/(s^4);L2=quad('arclenf',0,s)L=2*L2fprintf('The length of the cable is %6.2f length units\n',L)%% Version 5: Change global variable to all caps.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -