[chronojump] Fixed power in reaction jump with TC
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed power in reaction jump with TC
- Date: Fri, 6 Nov 2015 15:15:14 +0000 (UTC)
commit 268d42e7db9bf5d9beed76ed3608965e5c2fd41a
Author: Xavier Padullés <x padulles gmail com>
Date: Fri Nov 6 16:13:50 2015 +0100
Fixed power in reaction jump with TC
src/util.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/util.cs b/src/util.cs
index ee45882..ee7deb8 100644
--- a/src/util.cs
+++ b/src/util.cs
@@ -660,7 +660,7 @@ public class Util
double tt = tc + tf; //totalTime
fallHeight = fallHeight / 100.0; //cm -> m
- return mass * g * ( fallHeight + 1.226 * Math.Pow(tf,2) ) / (Double)tt;
+ return mass * g * ( fallHeight + 1.226 * Math.Pow(tf,2) ) / (Double)tc;
}
//only Lewis now
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]