diff options
Diffstat (limited to '876/CH8/EX8.7/Ex8_7.sce')
-rwxr-xr-x | 876/CH8/EX8.7/Ex8_7.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/876/CH8/EX8.7/Ex8_7.sce b/876/CH8/EX8.7/Ex8_7.sce new file mode 100755 index 000000000..b31d94cfa --- /dev/null +++ b/876/CH8/EX8.7/Ex8_7.sce @@ -0,0 +1,15 @@ +//caption:Find peak amplitude and frequency of the signal
+//Ex8.7
+clc
+clear
+close
+V=0.5//vertical attenuator(in V/division)
+Vo=10^-6//horizontal attenuator(in second/division)
+n=6//number of divisions on vertical axis
+N=5//number of division for complete one cycle
+V1=V*n
+Vp=V1/2
+disp(Vp,'peak amplitude(in V)=')
+T=Vo*N
+f=1/T
+disp(f,'frequency of the signal(in Hz)=')
\ No newline at end of file |