summaryrefslogtreecommitdiff
path: root/2915/CH1/EX1.11/Ex1_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '2915/CH1/EX1.11/Ex1_11.sce')
-rwxr-xr-x2915/CH1/EX1.11/Ex1_11.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2915/CH1/EX1.11/Ex1_11.sce b/2915/CH1/EX1.11/Ex1_11.sce
new file mode 100755
index 000000000..4206af1db
--- /dev/null
+++ b/2915/CH1/EX1.11/Ex1_11.sce
@@ -0,0 +1,11 @@
+clc,clear
+//example 1.11
+//To find the height of the flagpole
+
+//conside the attached figure
+d=150 //distance of person from flagpole in feet
+angle_ele = 32 //angle of elevation in degree
+height_eyes =6 //height of man's eyes
+h= d*tand(angle_ele)
+height_flagpole = height_eyes + h
+printf('Required height of flagpole = %.0f ft',height_flagpole)