summaryrefslogtreecommitdiff
path: root/53/CH6/EX6.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /53/CH6/EX6.4
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 '53/CH6/EX6.4')
-rwxr-xr-x53/CH6/EX6.4/example_4.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/53/CH6/EX6.4/example_4.sce b/53/CH6/EX6.4/example_4.sce
new file mode 100755
index 000000000..a41ba027d
--- /dev/null
+++ b/53/CH6/EX6.4/example_4.sce
@@ -0,0 +1,9 @@
+
+Av=100;
+printf("Av=1+(R1/R2)\n");
+//Let R2=1 Kohms
+R2=1;//in Kohms
+printf("R1=(Av-1)*R2");
+R1=(Av-1)*R2;
+printf("\nRESULTS:\n");
+printf("The design values are R1=%d Kohms and R2=%d Kohm",R1,R2); \ No newline at end of file