# note: this method of doing a piecewise function seems to be better suited for plotting than using the piecewise code found in the sage documentation.
plot(bimodal_pdf,-5,5)
# The modes for this bimodal pdf are -1 and 1 (the mode being defined for a continuous pdf as the value which maximizes the pdf function)