diff options
Diffstat (limited to '3754/CH3/EX3.4/3_4.sce')
-rw-r--r-- | 3754/CH3/EX3.4/3_4.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3754/CH3/EX3.4/3_4.sce b/3754/CH3/EX3.4/3_4.sce new file mode 100644 index 000000000..0d8ee0cdd --- /dev/null +++ b/3754/CH3/EX3.4/3_4.sce @@ -0,0 +1,12 @@ +clear//
+
+//Variables
+
+I = 5 //Current (in Ampere)
+Q = 4 * 10**-3 //Charge (in Coulomb)
+
+//Calculation
+t = Q/I //time (in seconds)
+
+//Result
+printf("\n Time in which the 4 mC of charge flows through this element is %0.3f ms.",t * 10**3)
|