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

//Ex3_1.sce

clc;
clear;
L=2.5;
s=-1; //complex frequency , which is taken from the coefficient value of time in the given exponential term
Z=L*s;
printf("\n Impedence=%1.1f ohm \n",Z)
Y=1/Z;
printf("\n Admittance=%0.1f mho \n",Y)
//Voltage cannot be determined since it involves equation in the result