diff options
Diffstat (limited to '995/CH1/EX1.19/Ex1_19.sce')
-rwxr-xr-x | 995/CH1/EX1.19/Ex1_19.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/995/CH1/EX1.19/Ex1_19.sce b/995/CH1/EX1.19/Ex1_19.sce new file mode 100755 index 000000000..a9ae099d4 --- /dev/null +++ b/995/CH1/EX1.19/Ex1_19.sce @@ -0,0 +1,8 @@ +//Ex:1.19
+clc;
+clear;
+close;
+v=3;//in volts
+i=1.5;//in amperes
+p=v*i;
+printf("Power supplied = %f watts",p);
\ No newline at end of file |