summaryrefslogtreecommitdiff
path: root/995/CH1/EX1.26/Ex1_26.sce
blob: 0406694bf2f95047cb184f3178a56799581b17e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Ex:1.26
clc;
clear;
close;
flux=0.8*10^-3;
a=(500*10^-6);//in sq. meter
l=0.6;//in meter
N=800;
B=flux/a;
printf("Flux Density = %e Tesla",B);
H=3500;//in A/m
i=(H*l)/N;
printf("\n Current required = %f amp.s",i);