summaryrefslogtreecommitdiff
path: root/172/CH2/EX2.1/ex1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /172/CH2/EX2.1/ex1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
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