summaryrefslogtreecommitdiff
path: root/995/CH1/EX1.23/Ex1_23.sce
blob: 906b4dd492cfab5e3f3278d72415d17a88d1f4ac (plain)
1
2
3
4
5
6
7
8
9
//Ex:1.23
clc;
clear;
close;
u=4*%pi*10^-7;//in H/m
i=20;//in amps
d=50*10^-3;//in meters
B=(u*i)/(2*%pi*d);
printf("Flux Density = %e Tesla",B);