summaryrefslogtreecommitdiff
path: root/3754/CH3/EX3.1
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH3/EX3.1')
-rw-r--r--3754/CH3/EX3.1/3_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3754/CH3/EX3.1/3_1.sce b/3754/CH3/EX3.1/3_1.sce
new file mode 100644
index 000000000..92d5e3827
--- /dev/null
+++ b/3754/CH3/EX3.1/3_1.sce
@@ -0,0 +1,12 @@
+clear//
+
+//Variables
+
+W = 75.0 //Work done (in Joules)
+Q = 50.0 //Charge produced (in Coulomb)
+
+//Calculation
+V = W/Q //Voltage between battery terminals (in Volts)
+
+//Result
+printf("\n Terminal voltage of a battery is %0.3f V.",V)