blob: 92c8673afc37f4a7003e410949421f2f410cb824 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 2 : BESICS OF MAGNETIC CIRCUITS
// Example : 2.1
clc;clear; // clears the console and command history
// Given data
l = 4 // lenght in m
w = 2 // width in m
B = 0.12 // magnetis flux density in tesla
// caclulations
A = l*w // area in m^2
flux = B*A // magnetic flux in Wb
// display the result
disp("Example 2.1 solution");
printf(" \n Magnetic flux \n flux = %.2f Wb \n", flux);
|