summaryrefslogtreecommitdiff
path: root/132/CH14/EX14.2/Example14_2.sce
blob: 0371389a59b75943a190917ed6fc206bc7f55085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example 14.2
//Program to Determine the Shunt Resistance required 
clear;
clc ;
close ;
//Given Circuit Data
Rm=100; //Ohms
CS=100*10^(-6); //A
Imax=10*10^(-3); //A
//Calculation
Ish=Imax-CS;
Rsh=Rm*CS/Ish;
//Displaying The Results in Command Window
printf("\n\t The Value of Shunt Resistance is, Rsh = %f Ohms .",Rsh);