summaryrefslogtreecommitdiff
path: root/172/CH2/EX2.1/ex1.sce
diff options
context:
space:
mode:
Diffstat (limited to '172/CH2/EX2.1/ex1.sce')
-rwxr-xr-x172/CH2/EX2.1/ex1.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/172/CH2/EX2.1/ex1.sce b/172/CH2/EX2.1/ex1.sce
new file mode 100755
index 000000000..c6f730a04
--- /dev/null
+++ b/172/CH2/EX2.1/ex1.sce
@@ -0,0 +1,8 @@
+//example 1
+//weight of a person
+clear
+clc
+m=1 //kg
+g=9.75 //acc.due to gravity in m/s^2
+F=m*g //weight of 1 kg mass in N
+printf("\n hence,weight of person is F = %.3f N. \n",F) \ No newline at end of file