diff options
Diffstat (limited to '569/CH3/EX3.26')
-rwxr-xr-x | 569/CH3/EX3.26/3_26.sci | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/569/CH3/EX3.26/3_26.sci b/569/CH3/EX3.26/3_26.sci new file mode 100755 index 000000000..961b9be06 --- /dev/null +++ b/569/CH3/EX3.26/3_26.sci @@ -0,0 +1,13 @@ +//to find no of rods of desired length
+
+clc;
+n=25000; //no of rods
+n1=12500; //length>10mm
+n2=2000; //length>10.25
+a=n1-n2; //10<length<10.25
+p=a/n;
+t=1.41; //using p
+t1=t*2;
+p1=.4975;
+b=p1*n; //9.5<length<10
+disp(a+floor(b),'total no of rods');
\ No newline at end of file |