summaryrefslogtreecommitdiff
path: root/3630/CH11/EX11.2/Ex11_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH11/EX11.2/Ex11_2.sce')
-rw-r--r--3630/CH11/EX11.2/Ex11_2.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3630/CH11/EX11.2/Ex11_2.sce b/3630/CH11/EX11.2/Ex11_2.sce
new file mode 100644
index 000000000..f1167ab3e
--- /dev/null
+++ b/3630/CH11/EX11.2/Ex11_2.sce
@@ -0,0 +1,9 @@
+clc;
+Vcc=12; //Volt
+R1=300; //Ohm
+R2=100; //ohm
+I1=Vcc/(R1+R2); //Ampere
+Icq=0.103; //Ampere
+Icc=Icq+I1; //Ampere
+Ps=Vcc*Icc; //Watt
+disp('W',Ps,"Ps=");//The answers vary due to round off error