diff options
Diffstat (limited to '2915/CH2/EX2.13/Ex2_13.sce')
-rwxr-xr-x | 2915/CH2/EX2.13/Ex2_13.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2915/CH2/EX2.13/Ex2_13.sce b/2915/CH2/EX2.13/Ex2_13.sce new file mode 100755 index 000000000..291a767d3 --- /dev/null +++ b/2915/CH2/EX2.13/Ex2_13.sce @@ -0,0 +1,10 @@ +//Example 2.13
+//To determine area of triangle when 2 sides and an angle is given
+clc,clear
+
+c=7 //side oposite to vertex C
+A=33 //angle at vertex A
+b=5 //side opposite to vertex B
+
+area_K = b*c*sind(A)/2
+printf('Area of triangle ABC = %.2f square units',area_K)
|