diff options
Diffstat (limited to '1850/CH5/EX5.6/exa_5_6.sce')
-rwxr-xr-x | 1850/CH5/EX5.6/exa_5_6.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1850/CH5/EX5.6/exa_5_6.sce b/1850/CH5/EX5.6/exa_5_6.sce new file mode 100755 index 000000000..a8a2dc352 --- /dev/null +++ b/1850/CH5/EX5.6/exa_5_6.sce @@ -0,0 +1,12 @@ +// Exa 5.6
+clc;
+clear;
+close;
+// Given data
+R= 10;// in k ohm
+Rp= 1;// in k ohm
+// Let R1= (1+2*R/Rp)
+R1= (1+2*R/Rp);
+// output voltage, V5= R1*(V2-V1)
+disp("Output voltage in volt is : "+string(R1)+"*(V2-V1)");
+
|