summaryrefslogtreecommitdiff
path: root/2330/CH3/EX3.7/ex3_7.sce
blob: 71df4861fa5bf9c37ec7499ecd12b9674f60a4e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Exa 3.7
format('v',5)
clc;
clear;
close;
// given data
P= 100;// power rating in mW
V= 6.2;// in V
// The maximum current rating 
I_ZM= P/V;// in mA
disp(I_ZM,"The maximum current rating in mA is : ")