diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3554/CH13/EX13.2/Ex13_2.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3554/CH13/EX13.2/Ex13_2.sce')
-rw-r--r-- | 3554/CH13/EX13.2/Ex13_2.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3554/CH13/EX13.2/Ex13_2.sce b/3554/CH13/EX13.2/Ex13_2.sce new file mode 100644 index 000000000..64174d9e4 --- /dev/null +++ b/3554/CH13/EX13.2/Ex13_2.sce @@ -0,0 +1,22 @@ +// Exa 13.2 + +clc; +clear; + +// Given data +Ra=5; // (R1+R2) in k Ohms +Rb=5;// (R3+R4) in k Ohms +Vt=5; // Applied voltage (V) +Shaft=5; // Shaft distance in inches + +// Solution + +disp(" As given, wiper moves 0.5 inch towards A from the centre, it will have moved 3 inches from B"); +Wiper=3; // Wiper movement from B in inches +Wiper1=2.5;//Wiper movement from A in inches +R2=Wiper/Shaft * R; // in k Ohms +R4=Wiper1/Shaft * R; // in k Ohms +//Ve=VR2-VR4 +Vc=(R2/(Ra)) *Vt - (R4/(Rb)) * Vt; + +printf(' The new value of Vc= %.1f V \n',Vc);
\ No newline at end of file |