summaryrefslogtreecommitdiff
path: root/2504/CH7/EX7.1/7_1.sce
blob: e353c6823b7fa62e772218973abaf121fbc75281 (plain)
1
2
3
4
5
6
7
8
9
clc
//initialisation of variables
clear
r= 1.5
f= 0.025
//CALCULATIONS
r1= (2/f)*(r^2-1)
//RESULTS
printf ('ratio L/D2 = %.f',r1)