summaryrefslogtreecommitdiff
path: root/1379/CH1/EX1.1.4/example1_4.sce
blob: c35ee6398e2f064f1a5b2b27a3be04d736a80ee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13


//exapple 1.4 
clc; funcprot(0);
// Initialization of Variable
d=0.05;
l=12;
per=100-2;
pi=3.1428
//calculation
s=sqrt(per/100/4*d^2);//radius of core of pure material
V=pi*d^2/4*l/(2*(1-(2*s)^2/d^2));
disp(V, "The volume of pure material so that 2% technical material appears at the end in (m^3):")