diff options
Diffstat (limited to '24/CH44/EX44.5')
-rwxr-xr-x | 24/CH44/EX44.5/Example44_5.sce | 8 | ||||
-rwxr-xr-x | 24/CH44/EX44.5/Example44_5_result.txt | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/24/CH44/EX44.5/Example44_5.sce b/24/CH44/EX44.5/Example44_5.sce new file mode 100755 index 000000000..5963fd3a1 --- /dev/null +++ b/24/CH44/EX44.5/Example44_5.sce @@ -0,0 +1,8 @@ +//Sample Problem 44-5
+txt = mopen('Example44_5_result.txt','wt')
+mfprintf(txt, '**Sample Problem 44-5**\n')
+MassRate = 4*1.67*10^-27/(4.20*10^-12) //mass of proton required to produce 1 unit of energy
+Ps = 3.90*10^26 //in W
+Rate = MassRate*Ps
+mfprintf(txt, 'The rate at which hydrogen is consumed is %ekg/s', Rate)
+mclose(txt)
\ No newline at end of file diff --git a/24/CH44/EX44.5/Example44_5_result.txt b/24/CH44/EX44.5/Example44_5_result.txt new file mode 100755 index 000000000..7d7cece21 --- /dev/null +++ b/24/CH44/EX44.5/Example44_5_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 44-5**
+The rate at which hydrogen is consumed is 6.202857e+011kg/s
\ No newline at end of file |