Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Difficulty with log and ploting log

x >= 0

x <= 2

g(x) = ln(x)

h(x) = (x - 2 ) ^ 2

f(x) = g(x) - h(x)

print(f)

show(plot(f))

i want to combine the funtions g(x) and h(x) but instead of giving me ln(x) - ( x - 2)^2, it gives me log(x) - (x-2)^2 for some reason after that, when i try to plot the funtion it is zoomed in too much(it only shows me form -1 to 1) and is also incorrect i would like to know if there is any simple ways to fix these problems