From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3802/CH1/EX1.11/Ex1_11.jpg | Bin 0 -> 40362 bytes 3802/CH1/EX1.11/Ex1_11.sce | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 3802/CH1/EX1.11/Ex1_11.jpg create mode 100644 3802/CH1/EX1.11/Ex1_11.sce (limited to '3802/CH1/EX1.11') diff --git a/3802/CH1/EX1.11/Ex1_11.jpg b/3802/CH1/EX1.11/Ex1_11.jpg new file mode 100644 index 000000000..6e63d80fe Binary files /dev/null and b/3802/CH1/EX1.11/Ex1_11.jpg differ diff --git a/3802/CH1/EX1.11/Ex1_11.sce b/3802/CH1/EX1.11/Ex1_11.sce new file mode 100644 index 000000000..46838ac0e --- /dev/null +++ b/3802/CH1/EX1.11/Ex1_11.sce @@ -0,0 +1,40 @@ +//Book Name:Fundamentals of Electrical Engineering +//Author:Rajendra Prasad +//Publisher: PHI Learning Private Limited +//Edition:Third ,2014 + +//Ex1_11.sce. +clc; +clear; +R=10; //resistance in ohms +L=5; //inductance in henry +V=100; //supply voltage in volts +t1=2; //time at which k1 switch opened in seconds +//CASE1 +printf("\n (a)") +i=(V*(1-exp(-((R*t1)/L))))/R; +printf("\n The inductive current at the time k1 is opened=%1.2f A",i) + +//CASE2 +printf("\n (b)") +v1=V*exp(-((R*t1))/L); +printf("\n The voltage across the inductor at t=2second=%1.2f V",v1) + +//CASE3 +printf("\n (c)") +t2=3; //time in seconds +Imax=(V/R); +v2=Imax*R*(exp(-((R*t2))/L)); +printf("\n The voltage across the inductor at t=3 second=%1.4f V",v2) +//For v2 calculation ,the answer in the book is wrong + +//CASE4 +printf("\n (d)") +t3=0; //initial time in seconds +it=(-R*(-Imax)*exp(-(R*t3)/L))/L; //rate of decay of inductor current in amphere per seconds +printf("\n The initial value of rate of decay of inductor current=%d A/s",it) + +//CASE5 +printf("\n (e)") +Energy=(1/2)*L*Imax^2; +printf("\n The energy dissipated in the resistor=%d J",Energy) -- cgit