summaryrefslogtreecommitdiff
path: root/1301/CH13/EX13.6
diff options
context:
space:
mode:
Diffstat (limited to '1301/CH13/EX13.6')
-rwxr-xr-x1301/CH13/EX13.6/ex13_6.sce5
1 files changed, 5 insertions, 0 deletions
diff --git a/1301/CH13/EX13.6/ex13_6.sce b/1301/CH13/EX13.6/ex13_6.sce
new file mode 100755
index 000000000..320a5b70f
--- /dev/null
+++ b/1301/CH13/EX13.6/ex13_6.sce
@@ -0,0 +1,5 @@
+clc;
+v=120; //potential diff in Volt
+r=12; //resistance in ohms
+i=v/r; //calculating current in Ampere using Ohm's law ie. V=I*R
+disp(i,"Current in the toaster in Ampere = "); //displaying result \ No newline at end of file