summaryrefslogtreecommitdiff
path: root/1319/CH12/EX12.7/i_7.sce
blob: c2b9785e68fb1ec7db203b9c7bff5561a341e7bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Power Rating Calculation

clc;
clear;

V=250;
I=15;

// Power Equation or Watt's Law P=V*I.

P=V*I;

disp('watts',P,'The power rating of the device =')