Hacker News new | ask | show | jobs
by ziroshima 1159 days ago
This is surely a stupid question: In the article, the graph sure looks like a right triangle, with a base of 2 and a height of 1. Wouldn't the area under this curve (from 0-2) be ~1?
2 comments

That's a graph of `x/2 - floor(x/2)`. The question is about `e^(x/2 - floor(x/2))`.
Ah, but that function is the input to another function and it’s that other function that’s getting integrated.