diff options
Diffstat (limited to '1529/CH10/EX10.8/10_08.sce')
-rwxr-xr-x | 1529/CH10/EX10.8/10_08.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1529/CH10/EX10.8/10_08.sce b/1529/CH10/EX10.8/10_08.sce new file mode 100755 index 000000000..27d3b0def --- /dev/null +++ b/1529/CH10/EX10.8/10_08.sce @@ -0,0 +1,13 @@ +//Chapter 10, Problem 8, figure 10.18
+clc;
+tc = 50e-3; // in s/cm
+Vc = 0.2; // in V/cm
+w = 3.5; // in cm ( width of one complete cycle )
+h = 3.4; // in cm ( peak-to-peak height of the display )
+//calculation:
+T = w*tc
+f = 1/T
+ptpv = h*Vc
+printf("\n\n (a)The periodic time, T = %.2f ms",T*10^3)
+printf("\n\n (b)Frequency, f = %.2f Hz",f)
+printf("\n\n (c)The peak-to-peak voltage = %.2f V",ptpv)
|