summaryrefslogtreecommitdiff
path: root/2528/CH3/EX3.4/Ex3_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2528/CH3/EX3.4/Ex3_4.sce')
-rwxr-xr-x2528/CH3/EX3.4/Ex3_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2528/CH3/EX3.4/Ex3_4.sce b/2528/CH3/EX3.4/Ex3_4.sce
new file mode 100755
index 000000000..692a5d348
--- /dev/null
+++ b/2528/CH3/EX3.4/Ex3_4.sce
@@ -0,0 +1,13 @@
+//Chapter 3
+//Output current of circuit
+//page 88
+//Example no 3-4
+clc;
+clear;
+R1=9000; // in Ohm
+R2=1000; //in Ohm
+B=R2/(R1+R2);
+printf("\n B is %.2f\n",B);//Result
+//Aps=1/B;
+Aps=(R1+R2)/R2;
+printf("\n Aps = %.0f \n ",Aps);//Result