summaryrefslogtreecommitdiff
path: root/1895/CH6/EX6.3/EXAMPLE6_3.SCE
diff options
context:
space:
mode:
Diffstat (limited to '1895/CH6/EX6.3/EXAMPLE6_3.SCE')
-rwxr-xr-x1895/CH6/EX6.3/EXAMPLE6_3.SCE29
1 files changed, 29 insertions, 0 deletions
diff --git a/1895/CH6/EX6.3/EXAMPLE6_3.SCE b/1895/CH6/EX6.3/EXAMPLE6_3.SCE
new file mode 100755
index 000000000..de90efc4d
--- /dev/null
+++ b/1895/CH6/EX6.3/EXAMPLE6_3.SCE
@@ -0,0 +1,29 @@
+
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.3(PAGENO 282)");
+
+//given
+R_1 = 20*10^3//resistance one
+R_2 = 50*10^3//resistance two
+T = 273+15//temperature in kelvin
+B = 100*10^3//bandwidth
+k = 1.38*10^-23//boltzman's constant
+
+//calculations
+R_s = R_1 +R_2//series effective resistance
+R_p = (R_1*R_2)/(R_1 + R_2)//parallel effective resistance
+V_1 = sqrt(4*k*T*R_1*B)//noise voltage in R_1
+V_2 = sqrt(4*k*T*R_1*B)//noise voltage in R_2
+V_s = sqrt(4*k*T*R_s*B)//noise voltage when resistance connected in series
+V_p = sqrt(4*k*T*R_p*B)//noise voltage when resistance connected in parallel
+
+//results
+printf("\n\ni.Noise voltage due to R_1 = %.10f V",V_1);
+printf("\n\nii.Noise voltage due to R_2 = %.10f V",V_2);
+printf("\n\niii.Noise voltage due to two resistance in series = %.10f V",V_s);
+printf("\n\niv.Noise voltage due to two resistance in parallel = %.10f V",V_p);