From ce1a22fa837baaa0ff90f6338db647d0490e34fc Mon Sep 17 00:00:00 2001 From: LivingInSyn Date: Wed, 12 Mar 2014 19:54:22 -0400 Subject: [PATCH] Fix Loop Work previously this output just the initial state of the problem, not the work done. I'm pretty sure A was done correctly but not clearly. The last line needed to be changed to: work = mu * b (cos(theta)-1) --- .../homework_13_forces_and_torques_on_currents/loop_work.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Homework/homework_13_forces_and_torques_on_currents/loop_work.py b/Homework/homework_13_forces_and_torques_on_currents/loop_work.py index f2afeb4..320c9bd 100644 --- a/Homework/homework_13_forces_and_torques_on_currents/loop_work.py +++ b/Homework/homework_13_forces_and_torques_on_currents/loop_work.py @@ -6,7 +6,7 @@ B = 1.3 -A = sqrt(3) * d**2/4 +A = (sqrt(3)/4) * (d**2) mu = I * A -print(- mu * B * cos( radians(180))) +print( mu * B * (cos( radians(180)) - 1))