summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.21/Ex5_21.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.21/Ex5_21.sce')
-rw-r--r--3537/CH5/EX5.21/Ex5_21.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3537/CH5/EX5.21/Ex5_21.sce b/3537/CH5/EX5.21/Ex5_21.sce
new file mode 100644
index 000000000..28aac16fa
--- /dev/null
+++ b/3537/CH5/EX5.21/Ex5_21.sce
@@ -0,0 +1,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)