summaryrefslogtreecommitdiff
path: root/1376/CH5/EX5.2/5_2.sci
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1376/CH5/EX5.2/5_2.sci
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 '1376/CH5/EX5.2/5_2.sci')
-rwxr-xr-x1376/CH5/EX5.2/5_2.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/1376/CH5/EX5.2/5_2.sci b/1376/CH5/EX5.2/5_2.sci
new file mode 100755
index 000000000..7e10062f8
--- /dev/null
+++ b/1376/CH5/EX5.2/5_2.sci
@@ -0,0 +1,7 @@
+//5.2
+clc;
+V_per_cm=1.0186/60;
+//When S is replaced by a dry cell we get PK=85 cm for null deflection
+Dpk=85;
+V_dry_cell=Dpk*V_per_cm;
+printf("Voltage of dry cell=%.2f V",V_dry_cell) \ No newline at end of file