diff options
Diffstat (limited to '165/CH17/EX17.3/ex17_3.sce')
-rw-r--r-- | 165/CH17/EX17.3/ex17_3.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/165/CH17/EX17.3/ex17_3.sce b/165/CH17/EX17.3/ex17_3.sce new file mode 100644 index 000000000..fbb6c1961 --- /dev/null +++ b/165/CH17/EX17.3/ex17_3.sce @@ -0,0 +1,10 @@ +//Example 17.3
+close;
+clc;
+//Given Data
+Vin=5; //in volts
+Rin=2500; //in ohms
+Rf=1000; //in ohms
+//Calculation of output voltage
+Vo=-Vin*Rf/Rin;
+printf('\nOutput Voltage = %.2f V \n',Vo)
\ No newline at end of file |