diff options
Diffstat (limited to '887/CH14/EX14.5/14_5.sce')
-rwxr-xr-x | 887/CH14/EX14.5/14_5.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/887/CH14/EX14.5/14_5.sce b/887/CH14/EX14.5/14_5.sce new file mode 100755 index 000000000..6019d7743 --- /dev/null +++ b/887/CH14/EX14.5/14_5.sce @@ -0,0 +1,14 @@ +clc
+//initialisation of variables
+ADOL= 10^5
+ADOL1= 10
+dc= 20
+dc1= 10
+f= 40 //kHz
+//CALCULATIONS
+ADOL2= dc*log(ADOL)
+ADOL3= dc*log10(ADOL1)
+f1= ADOL1*f
+//RESULTS
+printf ('A0CL = %.f dB ',ADOL3)
+printf ('\n frequency = %.f kHz ',f1)
|