summaryrefslogtreecommitdiff
path: root/3754/CH3/EX3.2/3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH3/EX3.2/3_2.sce')
-rw-r--r--3754/CH3/EX3.2/3_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3754/CH3/EX3.2/3_2.sce b/3754/CH3/EX3.2/3_2.sce
new file mode 100644
index 000000000..4675465f7
--- /dev/null
+++ b/3754/CH3/EX3.2/3_2.sce
@@ -0,0 +1,12 @@
+clear//
+
+//Variables
+
+V = 1.5 //Voltage (in Volts)
+E =7.5 //Energy produced (in Joules)
+
+//Calculation
+Q = E/V //Charge separated ( in Coulomb )
+
+//Result
+printf("\n The Amount of charge separated by the battery is %0.3f C.",Q)