#DECLARING VARIABLES (WK 4)var("a")a(a^3)/aa^2#Note that Sage assumes that a 6= 0.#Symbolic variables donâ€™t have to be single letters.var("sheep, rabbits")(sheep,rabbits)2*sheep+3*rabbits3*rabbits+2*sheep#Once a symbolic variable has been declared, you can use it in subsequent calculations without re-declaring it until you close your worksheet.a*a2a^2#The command factor allows you to factor polynomials.factor(a^2+5*a+6)(a+2)*(a+3)

#OVERLAY A POINTplot(x^3,(x,-3,3),color="red")+point([1,3])