diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1529/CH10/EX10.9 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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)
|