vault backup: 2026-02-21 22:45:09

This commit is contained in:
Álvaro Antônio de Lacerda Rosário 2026-02-21 22:45:09 -03:00
parent 2a0115528a
commit e737bd85ab

View File

@ -13,7 +13,7 @@ y2 = 2 ** (x2 + 4)
plt.figure(figsize=(8, 5)) plt.figure(figsize=(8, 5))
plt.plot(x1, y1, label=r"$f(x)=\sqrt{2(x^2-8)}+x$, $x<-4$", color="tab:blue") plt.plot(x1, y1, label=r"$f(x)=\sqrt{2(x^2-8)}+x$, $x<-4$", color="tab:blue")
plt.plot(x2, y2, label=r"$f(x)=2^{x+4}$, $x\\ge -4$", color="tab:orange") plt.plot(x2, y2, label=r"$f(x)=2^{x+4}$, $x\ge -4$", color="tab:orange")
# Open circle at x = -4 for first branch # Open circle at x = -4 for first branch
y_left_limit = np.sqrt(2 * ((-4) ** 2 - 8)) - 4 y_left_limit = np.sqrt(2 * ((-4) ** 2 - 8)) - 4
@ -28,7 +28,7 @@ plt.axvline(0, color="black", linewidth=0.8)
plt.grid(True, linestyle="--", alpha=0.5) plt.grid(True, linestyle="--", alpha=0.5)
plt.xlim(-12, 4) plt.xlim(-12, 4)
plt.ylim(-2, max(y2) * 1.1) plt.ylim(-2, max(y2) * 1.1)
plt.title("Graph of the piecewise function f(x)") plt.title("Gráfico de $f(x)$")
plt.xlabel("x") plt.xlabel("x")
plt.ylabel("f(x)") plt.ylabel("f(x)")
plt.legend() plt.legend()