summaryrefslogtreecommitdiff
path: root/281/CH3/EX3.11/example3_11.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /281/CH3/EX3.11/example3_11.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 '281/CH3/EX3.11/example3_11.sce')
-rwxr-xr-x281/CH3/EX3.11/example3_11.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/281/CH3/EX3.11/example3_11.sce b/281/CH3/EX3.11/example3_11.sce
new file mode 100755
index 000000000..f55b6c30e
--- /dev/null
+++ b/281/CH3/EX3.11/example3_11.sce
@@ -0,0 +1,28 @@
+disp('chapter 3 ex3.11')
+disp('given')
+disp('modifying circuit designed in example 3.10')
+disp('R1=27kohms and R2=1Mohms')
+disp('R3+R4=R1=27kohms')
+R1=27000
+R2=27000
+disp('R4/R3=R2/R1=37')
+disp('R3+37R3=27kohms')
+R3=27000/(1+37)
+disp('ohms',R3)
+disp('standard value R3=680ohms')
+R3=680
+R4=37*R3
+disp('ohms',R4)
+disp('allowing +10% or-10% adjustments of R4')
+disp('total resistance R%=R4+10%')
+R5=R4+R4*.10
+disp('ohms',R5)
+disp('variable portion Rv=20% of R4')
+Rv=.20*R5
+disp('ohms',Rv)
+disp('standard variable resistance is 5kohms')
+Rv=5000
+disp('ohms',Rv)
+disp('fixed portion of R4 is Rf=R4-Rv')
+Rf=R5-Rv
+disp('ohms',Rf) \ No newline at end of file