summaryrefslogtreecommitdiff
path: root/1553/CH34/EX34.1/34Ex1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH34/EX34.1/34Ex1.sce')
-rw-r--r--1553/CH34/EX34.1/34Ex1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH34/EX34.1/34Ex1.sce b/1553/CH34/EX34.1/34Ex1.sce
new file mode 100644
index 000000000..fcf4dc6bd
--- /dev/null
+++ b/1553/CH34/EX34.1/34Ex1.sce
@@ -0,0 +1,9 @@
+//Chapter 34 Ex 1
+
+clc;
+clear;
+close;
+d1=2*sqrt(3); d2=2;
+x=d1/d2;
+theta=atan(x);
+mprintf("The angle of elevation is %.2f degree",((theta*180)/%pi));