diff options
Diffstat (limited to '1553/CH34/EX34.3/34Ex3.sce')
-rw-r--r-- | 1553/CH34/EX34.3/34Ex3.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH34/EX34.3/34Ex3.sce b/1553/CH34/EX34.3/34Ex3.sce new file mode 100644 index 000000000..7091b9f61 --- /dev/null +++ b/1553/CH34/EX34.3/34Ex3.sce @@ -0,0 +1,9 @@ +//Chapter 34 Ex 3
+
+clc;
+clear;
+close;
+theta1=(60*%pi)/180; theta2=(30*%pi)/180; //converted into radian
+//forming the equations from given condition and solving them we get (h/tan(theta2))-(h/tan(theta1))=24 and solving we get
+h=24/((1/tan(theta2))-(1/tan(theta1)));
+mprintf("The height of the tower is %.2f meters",h);
|