blob: 87c9997886954279ae00f554833c656438d0c8e7 (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 19_3
clc();
clear;
//To findout how large an emf is generated
m=0.5 //Units in H
i=1 //Units in A
t=0.01 //Units in sec
emf=m*(i/t) //Units in V
printf("The emf generated is emf=%d V",emf)
|