Thread: December 2019
View Single Post
Old 2019-12-04, 20:44   #3
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

1101001010112 Posts
Default

Quote:
Originally Posted by uau View Post
Did I misunderstand something about the challenge/example? I thought the error would be calculated as half (due to interval length 2) of:

Code:
sage: integral( (abs(x) - (x+1)/2)^2, (x, -1, 1))
1/3
But 1/6 does not equal 0.125?
I was struggling with the same thing. I'm hoping it is a typo in the provided example.
bsquared is offline   Reply With Quote