summaryrefslogtreecommitdiff
path: root/3802/CH2/EX2.14/Ex2_14.sce
blob: 29641811867ccc56e1a4e0bde571fd2d56b41ae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014

//Ex2_14.sce

clc;
clear;
I=5/31;    //Circuit current in ampere
Vs=5;       //Source voltage in volt
R1=3;       //Resistance in ohm
R2=4;       //Resistance in ohm
driving_point_resistance=Vs/I;
printf("\n The driving point resistance of the voltage source=%d ohm \n",driving_point_resistance)