summaryrefslogtreecommitdiff
path: root/2498/CH1/EX1.39/ex1_39.sce
blob: 68e3d075932243c509e005f23003452b1ea71c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Exa 1.39
clc;
clear;
close;
format('v',6)
// Given data
V = 10;// in V
R = 10;// in ohm
// Current through resistance,
I = V/R;// in A
disp(I,"Part (a): The current through resistance in A is : ")
disp("Part (b) : Current through 10 ohm resistance will be Zero")
disp("Part (c): Current will be zero")
disp(I,"Part (d): The diode will be ON and current in A is : ")