summaryrefslogtreecommitdiff
path: root/620/CH26/EX26.1/example26_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH26/EX26.1/example26_1.sce')
-rw-r--r--620/CH26/EX26.1/example26_1.sce4
1 files changed, 4 insertions, 0 deletions
diff --git a/620/CH26/EX26.1/example26_1.sce b/620/CH26/EX26.1/example26_1.sce
new file mode 100644
index 000000000..dac540e17
--- /dev/null
+++ b/620/CH26/EX26.1/example26_1.sce
@@ -0,0 +1,4 @@
+p=50;
+i=1.5;
+r=p/i^2;
+disp("the resistance (in Ω) of the AC circuit is"); disp(r); \ No newline at end of file