summaryrefslogtreecommitdiff
path: root/3835/CH1/EX1.18/Ex1_18.sce
blob: 6b6146ae27c6bde7d9f44a3212fd3bb1fe10adab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear
//
l=1
b=1.5
i=50
u=5
//case a
f=b*i*l
printf("\n f= %0.1f  N",f)
//case b
p=f*u
printf("\n p= %0.1f  W",p)
//case c
e=b*l*u
printf("\n e= %0.1f  V",e)