I am trying to fill in the area between two functions. F(x) = 4-x^6 and G(x) = x. it wont fill properly, it takes into consideration other areas of the functions.
x = var('x')
f(x) = 4 - x^6 g(x) = x
P1 = plot(f(x), xmin=-4,xmax= 4, color='purple',linestyle = "dashed", fill = True, legend_label='Plot of $4-x^6$') P2 = plot(g(x), -4,4, color='green',title = "Finding The Area Between Two Functions", legend_label='Plot of $x$')
show(P1+P2, ymin=-4, ymax=4)
this is my code so far.