diff options
Diffstat (limited to '3809/CH19/EX19.1/EX19_1.sce')
-rw-r--r-- | 3809/CH19/EX19.1/EX19_1.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3809/CH19/EX19.1/EX19_1.sce b/3809/CH19/EX19.1/EX19_1.sce new file mode 100644 index 000000000..7150b8542 --- /dev/null +++ b/3809/CH19/EX19.1/EX19_1.sce @@ -0,0 +1,17 @@ +//Chapter 19, Example 19.1 + +clc +//Initialisation +r3=1.222*10**3 //resistance in ohm +r4=1*10**3 //resistance in ohm +v1=0.7 //voltage +vz=4.7 + +//Calculation +vo=(vz+v1)*((r3+r4)/r4) //Output Voltage + + +//Results +printf("Output Voltage Vo = %d V",round(vo)) + + |