Commit 49a6dcc0 authored by Hans Buchmann's avatar Hans Buchmann

the formula

parent f2be2464
......@@ -5,8 +5,19 @@
#include <iostream>
#include <fstream>
/*
value:
a0 +x*a1 +x^2*a2 + x^3*a3
a0 +x*(a1 + x*(a2+x*a3))
integral:
x*a0 + (x^2)*(1/2)*a1 + (x^3)*(1/3)*a2 + (x^4)*(1/4)*a3
=
x*(a0 + (x^1)*(1/2)*a1 + (x^2)*(1/3)*a2 + (x^3)*(1/4)*a3)
*/
//eval{
//your code
//eval}
//****** DO NOT CHANGE BELOW THIS LINE
......
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