diff options
Diffstat (limited to '2915/CH4/EX4.5/Ex4_5.sce')
-rwxr-xr-x | 2915/CH4/EX4.5/Ex4_5.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/2915/CH4/EX4.5/Ex4_5.sce b/2915/CH4/EX4.5/Ex4_5.sce new file mode 100755 index 000000000..e20806793 --- /dev/null +++ b/2915/CH4/EX4.5/Ex4_5.sce @@ -0,0 +1,9 @@ +clc,clear
+//Example 4.5
+//To determine angle in radians and degrees
+
+r=5 //radius of circle
+s=2 //length of arc
+theta = s/r //central angle in radian
+printf('Measure of central angle = %.2f rad\n',theta)
+printf('Measure of central angle = %.2f degree',theta*(180/%pi))
|