summaryrefslogtreecommitdiff
path: root/3845/CH20/EX20.4/Ex20_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH20/EX20.4/Ex20_4.sce')
-rw-r--r--3845/CH20/EX20.4/Ex20_4.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3845/CH20/EX20.4/Ex20_4.sce b/3845/CH20/EX20.4/Ex20_4.sce
new file mode 100644
index 000000000..e60949cc7
--- /dev/null
+++ b/3845/CH20/EX20.4/Ex20_4.sce
@@ -0,0 +1,7 @@
+//Example 20.4
+V=12;//Voltage (V)
+I=2.50;//Current (A)
+R=V/I;//Resistance from Ohm's law (ohm)
+printf('Resistance of automobile headlight = %0.2f ohm',R)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest