summaryrefslogtreecommitdiff
path: root/1092/CH1/EX1.2/Example1_2.sce
blob: 6d3ed6f453bc21fcd52211ff0e8bd821662c3394 (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
26
27
28
29
30
31
// Electric Machinery and Transformers
// Irving L kosow 
// Prentice Hall of India
// 2nd editiom

// Chapter 1: Electromechanical Fundamentals
// Example 1-2

clear; clc; close; // Clear the work space and console.

// Given data
l = 18; // l = length of the conductor in inches
B = 50000; // B = uniform magnetic field in lines/sq-inches
d = 720; // d = distance travelled by conductor in inches
t = 1; // t =time taken for the conductor to  move in second

// Calculations
v = d/t; // v = velocity in inches/second with which the conductor moves

// part a
e = B * l * v * 10 ^ -8; // e = instantaneous induced EMF in volt
// part b
A = d * l; // Area swept by the conductor while moving
phi = B * A; // phi = uniform magnetic field 
E = ( phi / t ) * 10 ^ -8; // E = average induced EMF

// Display the result
disp("Example 1-2 Solution : ");

printf(" \n a : e = %.2f V ", e);
printf(" \n b : E = %.2f V ", E);