summaryrefslogtreecommitdiff
path: root/569/CH5/EX5.7/5_7.sci
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /569/CH5/EX5.7/5_7.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 '569/CH5/EX5.7/5_7.sci')
-rwxr-xr-x569/CH5/EX5.7/5_7.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/569/CH5/EX5.7/5_7.sci b/569/CH5/EX5.7/5_7.sci
new file mode 100755
index 000000000..9d495b243
--- /dev/null
+++ b/569/CH5/EX5.7/5_7.sci
@@ -0,0 +1,10 @@
+// Calculating the maximum excitation voltage and the sensitivity
+clc;
+Rm=10000;
+Rp=Rm/15;
+R=600;
+P=5;
+ei= (P*R)^0.5;
+disp(ei,'Maximum excitation voltage (V)=')
+S=ei/360;
+disp(S,'Sensitivity (V/degree)=') \ No newline at end of file