I've been trying to create a plot for a specific function, but I'm encountering an issue with the code. Here's the code I'm using:
kr: makelist(subst(C = k, ats), k, [0, 1, 2]);
[y/sqrt(2*e^x+1) = 0, y/sqrt(2*e^x+1) = 1, y/sqrt(2*e^x+1) = 2]
load(draw)$
y(x) := sqrt(2*e^x+1);
plot2d(y(x), [x, -6, 6], [y, -6, 6])
The output I'm getting is:
plot2d: nothing to plot.
I've tried troubleshooting this on my own without success.Can you please help me identify what I'm doing wrong?
Figured out a solution, not sure how neat it is