So I'm trying to write a program to draw graphs that are entered by the user. The way I draw them is by finding y values at a number of x values across the graph and then connecting them by lines. However, some graphs (like tan(x)) have asymptotes, so the bottom and top values are connected. Is there any mathematical way to detect whether there is a asymptote at a point or not?
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top