summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.21/Ex5_21.sce
blob: 28aac16faae3281b604344c44a0594b57b89172d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Example 5_21
clc();
clear;
//To find intercepts along x and y axis
oa_ob=3/2
oa_oc=1/2
b=0.184   //units in nm
ob=(1/oa_ob)*b
c=0.197   //units in nm
oc=(1/oa_oc)*c
printf("OB=%.3f nm",ob)
printf("\nOC=%.3f nm",oc)