From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2345/CH5/EX5.1/Ex5_1.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 2345/CH5/EX5.1/Ex5_1.sce (limited to '2345/CH5/EX5.1/Ex5_1.sce') 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) + + -- cgit