diff options
Diffstat (limited to '1529/CH10/EX10.9')
-rwxr-xr-x | 1529/CH10/EX10.9/10_09.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1529/CH10/EX10.9/10_09.sce b/1529/CH10/EX10.9/10_09.sce new file mode 100755 index 000000000..d994b79f4 --- /dev/null +++ b/1529/CH10/EX10.9/10_09.sce @@ -0,0 +1,16 @@ +//Chapter 10, Problem 9, figure 10.19
+clc;
+tc = 500e-6; // in s/cm
+Vc = 5; // in V/cm
+w = 4; // in cm ( width of one complete cycle )
+h = 5; // in cm ( peak-to-peak height of the display )
+//calculation:
+T = w*tc
+f = 1/T
+ptpv = h*Vc
+Amp = ptpv/2
+Vrms = Amp/(2^0.5)
+printf("\n\n (a)Frequency, f = %.0f Hz",f)
+printf("\n\n (b)the peak-to-peak voltage = %.0f V",ptpv)
+printf("\n\n (c)Amplitude = %.1f V",Amp)
+printf("\n\n (d)r.m.s voltage = %.2f V",Vrms)
|