blob: 763d820d25a0c08c6717bd06d0154807b8c1866f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Example 1.5
// Computation of length of conductor
// Page No. 25
clc;
clear all;
close;
// Given data
e=2.5; // Voltage generated
B=1.2; // Magnetic field
v=8.0; // Speed
// Length of conductor (e=B*l*v)
l=e/(B*v);
//Display result on command window
printf("\n Length of conductor = %0.2f m ",l);
|