summaryrefslogtreecommitdiff
path: root/3673/CH1/EX1.4/Ex1_4.sce
blob: c0d7943ea998f7513a996b20637accd388190581 (plain)
1
2
3
4
5
6
7
//Example 1_4 page no:5
clc
clear
R=10;//Resistance in ohm
V=12;//Voltage in volt
I=V/R;
disp(I,"current flowing through resistor(in A):")