summaryrefslogtreecommitdiff
path: root/226/CH18/EX18.1/example1_sce.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /226/CH18/EX18.1/example1_sce.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 '226/CH18/EX18.1/example1_sce.sce')
-rwxr-xr-x226/CH18/EX18.1/example1_sce.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/226/CH18/EX18.1/example1_sce.sce b/226/CH18/EX18.1/example1_sce.sce
new file mode 100755
index 000000000..83830e208
--- /dev/null
+++ b/226/CH18/EX18.1/example1_sce.sce
@@ -0,0 +1,16 @@
+//chapter 18
+//example 18.1
+//page 761
+printf("\n")
+printf("given")
+Vs=21;Vo=12;Av=100;
+vo=(Vs*.1)/Av;//source effect is 10% of the Vs
+printf(" source effect is %3.3fV\n",vo)
+vo=(21-20)/100;
+printf(" laod effect is %3.3fV\n",vo)
+LR=(21*10^-3 *100)/12;
+printf("line regulation is %3.3fpercentage\n",LR)
+LR=(10*10^-3*100)/12;
+printf(" load effect is %3.3fpercentage \n",LR)
+RJ=20*log10(1/Av);
+printf("ripple rejection is %ddB\n",RJ) \ No newline at end of file