CALCULUS - Editorial

:grin:

Why did they gave non standard Calculus Problem in a Programming Contest ?
I did not studied any such theorems in my college :slightly_smiling_face:.

4 Likes

i did the same

My approach might be simpler :slight_smile:

4 Likes

If u subtract and manipulate the two consecutive values u will get the real fractions
like for N=2 the calculator gave 2.6667 , from here I guessed the fraction 0.6667 as 2/3 added 2 to get 8/3 and then for N=3 I got 3.06667 made it 30.6667 then did calculation and calculated the fraction as (1/10)*(30+2/3) and got 46/15 and for N=4 I got 3.35238 I subtracted this with N=3
i.e 3.06667 little cleverly and then i understood the pattern

Really great way of explanation. Thanks

glad you found it helpful!

1 Like

Can you clear how you used walformalpha

@codemaster7s
thanks for the feedback. I also included a link on my blog showing how you can do it on WolframAlpha. hope it helps!

We can find any integral in this??

@codemaster7s yea, pretty much. indefinite integrals are harder to calculate but if you specify range and have no unknown variables, it usually can give you a numerical answer. (perhaps they use numerical methods if the integration itself is nontrivial)