summaryrefslogtreecommitdiff
path: root/2102/CH1/EX1.11/exa_1_11.sce
blob: 04218f546ec94d74a13267e9297140fde3ae083e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Exa 1.11
clc;
clear;
close;
// Given data
H= 5*10^3;// in amp/meter
N= 50;
l= 10;//in cm
l=l*10^-2;// in m
n=N/l;// in turns/meter
i= H/n;// in amp
disp(i,"Current should be sent through the solenoid in ampere is : ")