News for hackers. Stuff that matters.

echojc

Re:A Simple Calculus Exercise on Monday April 17, 2023 @01:08AM (#35597034)
I think this kind of problem is less about maths and more about how one might approach an unfamiliar problem. Not knowing where to begin is normal. What you're looking to do is to build up the intuition for how you can break down the problem into smaller pieces so that you can investigate its properties.

x/2 - floor(x/2) is the natural place to start because it's the smallest independent piece of the equation. Take a couple of minutes to plot this on a graph for a small range of values, like 0 <= x <= 6 (deciding what range to check is also part of your problem solving skillset).

With this, you can calculate and sketch out e^(above result) on a graph. Finally, knowing the principle that a definite integral calculates the area under the curve, you should be able to use your sketch to reason out how to calculate the entire original integral.

Hopefully you can see how solving this kind of problem isn't about knowing anything about this particular problem, but simply investigating it without any prior expectations, which is why the author thinks this is an interesting exercise for students.