please help me I need a c ++ program that solves problems about infinite limits with their respective graph.
If you would help me, I would be very grateful for my final project of integral calculation.
I tried it in different ways but I did not leave the program
Do you realize just how ambiguous and vague your post is?
It sounds like you've already tried something, but it isn't working right. Why not show us specifically what you've tried, and what you're trying to accomplish?
I assume you mean numerical calculations for limits and integrals, and not symbolic. Because symbolic would be a whole lot harder.
A simple way of numerically calculating a limit could be something like this:
sin(0)/0 = -nan
Limit of sin(x)/x as x approaches 0 = 1
Of course, this isn't very robust. Won't work for cases where the limit doesn't exist (e.g. 1/x as x approaches 0). You would want an extra test on top of this one to check if the LHS limit roughly matches the RHS limit.
Thank you friend @ for your contribution to my project, I would have shown my code if I only needed something small to modify, but the reality is that I have a bad majority since I still don't have much knowledge, but as you can see they sent me this type of task.