summaryrefslogtreecommitdiff
path: root/876/CH8/EX8.2
diff options
context:
space:
mode:
Diffstat (limited to '876/CH8/EX8.2')
-rwxr-xr-x876/CH8/EX8.2/Ex8_2.sce12
-rwxr-xr-x876/CH8/EX8.2/Ex8_2.txt7
-rwxr-xr-x876/CH8/EX8.2/Ex8_2t.txt12
3 files changed, 31 insertions, 0 deletions
diff --git a/876/CH8/EX8.2/Ex8_2.sce b/876/CH8/EX8.2/Ex8_2.sce
new file mode 100755
index 000000000..edcb5170d
--- /dev/null
+++ b/876/CH8/EX8.2/Ex8_2.sce
@@ -0,0 +1,12 @@
+//caption:Find peak to peak amplitude of the signal and frequency of the signal
+//ex8.2
+clc
+clear
+close
+V=0.5//vertical attenuation(in V/division)
+n=4//number of divisions of vertical axis
+P=V*n
+disp(P,'peak to peak amplitude of the signal(in V)=')
+T=P*n
+f=1/T
+disp(f,'frequency of the signal(in Hz)=') \ No newline at end of file
diff --git a/876/CH8/EX8.2/Ex8_2.txt b/876/CH8/EX8.2/Ex8_2.txt
new file mode 100755
index 000000000..81d4e7c88
--- /dev/null
+++ b/876/CH8/EX8.2/Ex8_2.txt
@@ -0,0 +1,7 @@
+peak to peak amplitude of the signal(in V)=
+
+ 2.
+
+ frequency of the signal(in Hz)=
+
+ 0.125 \ No newline at end of file
diff --git a/876/CH8/EX8.2/Ex8_2t.txt b/876/CH8/EX8.2/Ex8_2t.txt
new file mode 100755
index 000000000..edcb5170d
--- /dev/null
+++ b/876/CH8/EX8.2/Ex8_2t.txt
@@ -0,0 +1,12 @@
+//caption:Find peak to peak amplitude of the signal and frequency of the signal
+//ex8.2
+clc
+clear
+close
+V=0.5//vertical attenuation(in V/division)
+n=4//number of divisions of vertical axis
+P=V*n
+disp(P,'peak to peak amplitude of the signal(in V)=')
+T=P*n
+f=1/T
+disp(f,'frequency of the signal(in Hz)=') \ No newline at end of file