I didn't find this type problem in programming and yet I just guess the answer and it matched then found out this is calculus.