summaryrefslogtreecommitdiff
path: root/2915/CH4/EX4.1/Ex4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2915/CH4/EX4.1/Ex4_1.sce')
-rwxr-xr-x2915/CH4/EX4.1/Ex4_1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/2915/CH4/EX4.1/Ex4_1.sce b/2915/CH4/EX4.1/Ex4_1.sce
new file mode 100755
index 000000000..b3eef3e0d
--- /dev/null
+++ b/2915/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,9 @@
+clc,clear
+//Example 4.1
+//To convert a degree measure to radians
+
+deg=18 //degree measure
+radian=deg*(%pi/180) //radian measure
+printf('Radian measure is %f rad\n(or)\n',radian)
+printf('Radian measure is (pi/%.0f)rad',1/(radian/%pi))
+