version()
%display latex
F(x) = exp(x)*(x-1) F
graph = plot(F(x), (x,0, 2), axes_labels=[r'$x$', r'$F(x)$'], thickness=2, gridlines=True) graph.save('max_X2mT2.pdf') graph
F(-1)
graph = plot(lambert_w(x), (x,-1/e, 2.7), axes_labels=[r'$y$', r'$W_0(y)$'], thickness=2, gridlines=True) graph
def w(x): return RDF(lambert_w(RDF(x/e)) + 1)
w(0)
w(-0.9999999)
w(2)
graph = plot(w, (x, -1, 5), aspect_ratio=1, axes_labels=[r'$x$', r'$\tilde{W}_0(x)$'], thickness=2, gridlines=True) graph.save('max_lambert_rescaled.pdf') graph