From: hackbard Date: Mon, 17 Aug 2009 13:59:13 +0000 (+0200) Subject: a modified posselt variation + the right one commented X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=dc980b4d12e3ad4f2421e09db6acd4ce83132dec;p=physik%2Fposic.git a modified posselt variation + the right one commented --- diff --git a/calc_delta_e b/calc_delta_e index 6a97cc5..2b4130e 100755 --- a/calc_delta_e +++ b/calc_delta_e @@ -20,5 +20,6 @@ echo "-------------------------------------------------------------------------" echo "$si_cnt $c_cnt $e1 $e0" | \ awk '{ print " Gao: "($3-$4)*($1+$2) }' echo "$si_cnt $c_cnt $musi $muc $e1 $music" | \ - awk '{ print " Posselt: "$5*($1+$2)-0.5*($1+$2)*$6-0.5*($1-$2)*($3-$4) }' + #awk '{ print " Posselt: "$5*($1+$2)-0.5*($1+$2)*$6-0.5*($1-$2)*($3-$4) }' + awk '{ print " Posselt: "$5*($1+$2)-$1*$3-$2*$4) }'