diff options
Diffstat (limited to '3754/CH12/EX12.4/12_4.sce')
-rw-r--r-- | 3754/CH12/EX12.4/12_4.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3754/CH12/EX12.4/12_4.sce b/3754/CH12/EX12.4/12_4.sce new file mode 100644 index 000000000..564177a98 --- /dev/null +++ b/3754/CH12/EX12.4/12_4.sce @@ -0,0 +1,15 @@ +clear//
+
+//Variables
+
+I300 = 10 * 10**-6 //Current at 300 kelvin (in Ampere)
+T1 = 300 //Temperature (in kelvin)
+T2 = 400 //Temperature (in kelvin)
+
+//Calculation
+
+I400 = I300 * 2**((T2-T1)/10) //Current at 400 kelvin (in Ampere)
+
+//Result
+
+printf("\n Current at 400 k is %0.1f mA.",I400*10**3)
|