Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Image: ubuntu2204
Graphing Functions and Solving Equations in CoCalc Assignment
Question 1
[1 point] Consider the function .
[Don't forget parentheses around the numerator and denominator.]
Part a
Graph this function in CoCalc with . Your graph should not be very nice. The problem is the vertical asymptotes.
Part b
Produce a new graph with and add and . You should see a much nicer graph. Remember, the vertical lines at and are not actually part of the graph of the function.
Question 2
[1 point] Consider the function .
[Make sure you type correctly, especially the 0.01 at the front]
Part a
Graph this function using the default window. Notice that no roots (zeros, x-intercepts) are visible. We know from precalc that a cubic polynomial has at least one and at most three roots.
Part b
Create a new plot of with . You should see two roots.
Part c
If you remember end behavior of polynomials, then you know that the y-values should go up as the x-values get bigger. On the previous graph, the y-values are heading down. That means this curve needs to turn around eventually, and when it does it will have to cross the x-axis again. Now try to graph again with . This time, you should see the third root (but the first two may be hard to see now).
Question 3
[1 point] Graph and on the same axes with and .
Use two different colors and two different line styles.
Question 4
[1 point] Use the solve command to solve the equations below.
Part a
Solve for :
Part b
Solve for :
[Don't forget parentheses around the denominators, and declare variables.]
Question 5
[2 points] Consider the equation .
Part a
Plot this equation with (remember to use two equal signs when typing the equation).
[Your graph should have only one curve.]
Part b
Adjust the plot window (zoom in) to approximate to two decimal places the x-intercept of the graph (this is the solution of the equation).
Part c
Use find_root to solve for .
Question 6
[2 points] Consider the equation .
Part a
Graph and on the same axes, and adjust the window until you can clearly see two points of intersection.
[Your graph should have two curves.]
Note: e is not a variable, it is a built-in constant. Never declare e.
Part b
Solve this equation for using find_root (remember, there are two real solutions).
Question 7
[1 point] Use the solve command to solve the inequality .
Question 8
[1 point] Use the solve command to solve the system: