diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3835/CH3/EX3.12/Ex3_12.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3835/CH3/EX3.12/Ex3_12.sce')
-rw-r--r-- | 3835/CH3/EX3.12/Ex3_12.sce | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/3835/CH3/EX3.12/Ex3_12.sce b/3835/CH3/EX3.12/Ex3_12.sce new file mode 100644 index 000000000..917043a7e --- /dev/null +++ b/3835/CH3/EX3.12/Ex3_12.sce @@ -0,0 +1,35 @@ +clear +// +//given +//case a +B=1 //Wb/m**2 +u1=4*3.14*10**-7 +A=10**-4 //cm**2 +per=800 //permeability +n=250 //number of turns +flux=B*A +printf("\n flux %0.5f Wb",flux) +r=781250 //AT/Wb calculated using formula for reluctance +mmf=flux*r //AT +i=mmf/n //exciting current required in A +printf("\n i %0.5f A",i) +l=(n*flux)/i //self inductance of the coil +printf("\n l= %0.5f H",l) +w=(l*i*i)/2 //energy stored +printf("\n w= %0.5f J",w) +//case b +airgap=1*10**-3 //air gap is assumed +rair=airgap/(u1*A) //reluctance of air gap in AT/Wb +mmfa=flux*rair //mmf of air in AT +printf("\n mmfa") +//rcore=((2.5*3.14)-0.1)/(32*3.14*10**-6) //reluctance of core +//mmfc=flux*rcore +mmfc=780 //AT +F=mmfc+mmfa +I=F/n //A +printf("\n exciting current= %0.2f A",I) +n=250 //number of turns +L=(n*flux)/I //self inductanc eof coil with air gap +printf("\n l= %0.5f H",L) +e=(L*I*I)/2 //energy stored in coil +printf("\n e= %0.5f J",e) |