summaryrefslogtreecommitdiff
path: root/656/CH2/EX2.1
diff options
context:
space:
mode:
Diffstat (limited to '656/CH2/EX2.1')
-rw-r--r--656/CH2/EX2.1/example2_1.pdfbin0 -> 5427 bytes
-rw-r--r--656/CH2/EX2.1/example2_1.sce11
2 files changed, 11 insertions, 0 deletions
diff --git a/656/CH2/EX2.1/example2_1.pdf b/656/CH2/EX2.1/example2_1.pdf
new file mode 100644
index 000000000..ebbcb0be3
--- /dev/null
+++ b/656/CH2/EX2.1/example2_1.pdf
Binary files differ
diff --git a/656/CH2/EX2.1/example2_1.sce b/656/CH2/EX2.1/example2_1.sce
new file mode 100644
index 000000000..e2a363f32
--- /dev/null
+++ b/656/CH2/EX2.1/example2_1.sce
@@ -0,0 +1,11 @@
+// current is 2A
+//120V
+i=2;
+v=120;
+// v=I*R where R is the resistance in Ohms
+r=v/i;
+disp("r=")
+disp(r)
+units='Ohms'
+r=[string(r) units];
+disp(r)