summaryrefslogtreecommitdiff
path: root/2863/CH2/EX2.30/ex2_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '2863/CH2/EX2.30/ex2_30.sce')
-rwxr-xr-x2863/CH2/EX2.30/ex2_30.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2863/CH2/EX2.30/ex2_30.sce b/2863/CH2/EX2.30/ex2_30.sce
new file mode 100755
index 000000000..7c34120b9
--- /dev/null
+++ b/2863/CH2/EX2.30/ex2_30.sce
@@ -0,0 +1,13 @@
+//chapter 2
+//P=k(Ta+Tr)B
+printf("\n");
+Ta=15;
+Tr=20;
+b=4*10^6;
+//part a
+k=1.38*10^-23;
+Pb=k*(Ta+Tr);
+printf("the power per unit bandwidth is %gW/hz",Pb);
+//part b
+P=Pb*b;
+printf("\nthe available noise power is %gW",P);