Commit 641590dc authored by Matthias Redies's avatar Matthias Redies

fixed 6th order poly

parent 17ff8cbe
......@@ -24,7 +24,7 @@ contains
case(5)
p = 0.125 * (63 * x**5 - 70 * x**3 + 15 * x)
case(6)
p = 0.0625 * (231 * x**6 -315 * x**4 + 105 * x - 5)
p = 0.0625 * (231 * x**6 -315 * x**4 + 105 * x**2 - 5)
case(7)
p = 0.0625 * (429 * x**7 -693 * x**5 + 315 * x**3 - 35 * x)
case(8)
......@@ -60,7 +60,7 @@ contains
case(5)
p = 0.125 * (63 * x**5 - 70 * x**3 + 15 * x)
case(6)
p = 0.0625 * (231 * x**6 -315 * x**4 + 105 * x - 5)
p = 0.0625 * (231 * x**6 -315 * x**4 + 105 * x**2 - 5)
case(7)
p = 0.0625 * (429 * x**7 -693 * x**5 + 315 * x**3 - 35 * x)
case(8)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment