summaryrefslogtreecommitdiff
path: root/2855/CH1/EX1.9/Ex1_9.sce
blob: f5ee5dde273353bf229110500396232f7e69e460 (plain)
1
2
3
4
5
6
7
8
9
10
//Ex1_9
//given 
//page no 13
clc;
clear;
//      Given formula   Io/Ii=exp(-(ao+ai)*d);
//       k=aa+as=63.1;
//       Io/Ii=1.5
d=log(.15)/-63.1;       //length of tube
printf("\nLength of tube, d = %0.0f cm   \n",d*100);      //Result