summaryrefslogtreecommitdiff
path: root/2642/CH5/EX5.1/Ex5_1.sce
blob: cf855405bf84c7c6e9822adb153367037d65502e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// FUNDAMENTALS OF ELECTICAL MACHINES 
// M.A.SALAM 
// NAROSA PUBLISHING HOUSE 
// SECOND EDITION

// Chapter 5 : REVIEW OF ELECRTIC CIRCUITS  
// Example : 5.1 

clc;clear; // clears the console and command history 

// Given data 
l = 10 // conductor length in m
B = 0.56 // magnetic flux density in T
I = 2 // current through conductor in A

// caclulations 
F = B*I*l // magnitude of force in N

// display the result 
disp("Example 5.1 solution");
printf(" \n Magnitude of force \n F = %.1f N ", F);