From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3411/CH1/EX1.8.u1/Ex1_8_u1.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 3411/CH1/EX1.8.u1/Ex1_8_u1.sce (limited to '3411/CH1/EX1.8.u1/Ex1_8_u1.sce') diff --git a/3411/CH1/EX1.8.u1/Ex1_8_u1.sce b/3411/CH1/EX1.8.u1/Ex1_8_u1.sce new file mode 100644 index 000000000..929aa2f19 --- /dev/null +++ b/3411/CH1/EX1.8.u1/Ex1_8_u1.sce @@ -0,0 +1,10 @@ +//Example 1_8_u1 +clc(); +clear; +//To calculate the distance from the edge of wedge +alpha=0.01 //units in radians +n=10 +lamda=6000 //units in armstrongs +lamda=lamda*10^-10 //units in mts +x=((2*n-1)*lamda)/(4*alpha) //units in mts +printf("Distance from the edge of the wedge is %.6fmts",x) -- cgit