diff options
Diffstat (limited to '2345/CH5/EX5.1/Ex5_1.sce')
-rwxr-xr-x | 2345/CH5/EX5.1/Ex5_1.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2345/CH5/EX5.1/Ex5_1.sce b/2345/CH5/EX5.1/Ex5_1.sce new file mode 100755 index 000000000..4d27b152e --- /dev/null +++ b/2345/CH5/EX5.1/Ex5_1.sce @@ -0,0 +1,15 @@ +//Finding charge and capacitance
+//Example 5.1(pg 193)
+clc
+clear
+t=0.25//time in sec
+I=0.22//Current in A
+V=220//voltage in V
+Q=I*t//charge given to condenser
+C=Q/V//capacitance of condenser
+C1=C*(10^6)
+printf('Charge given to condenser is %3.3f Coulombs \n',Q)
+printf('Capacitance of condenser is %3.4f F',C)
+printf('or %3.0f microF',C1)
+
+
|