diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2297/CH5/EX5.10/Ex5_10.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2297/CH5/EX5.10/Ex5_10.sce')
-rwxr-xr-x | 2297/CH5/EX5.10/Ex5_10.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2297/CH5/EX5.10/Ex5_10.sce b/2297/CH5/EX5.10/Ex5_10.sce new file mode 100755 index 000000000..abcdb5b55 --- /dev/null +++ b/2297/CH5/EX5.10/Ex5_10.sce @@ -0,0 +1,21 @@ +// Example 5.10;true resistance of the unknown resistor , percentage error and reading voltmeter +clc; +clear; +// given : +format('v',7) +disp("part (i)") +ra=0.1;//ohms +vr=18;//voltage in volts +am=0.2;//current in amperes +apr=vr/am;//in ohms +rv=5000;//ohms +im=vr/rv;//amperes +rxi=am-(im);//in amperes +rx=vr/rxi;//ohms +disp(rx,"true value of resistance is,(Ohm)=") +per=((rx-apr)/rx)*100;//percentage error +disp("part (ii)") +disp(per,"percentage error is,(%)=") +rvv=am*(ra+rx);//reading of voltmeter +disp("part (iii)") +disp(rvv,"reading of voltmeter is,(V)=") |