I'm trying to enter a piecewise function (named eq30) into Mathematica. However, it seems not to work. The expression I entered is
eq30 = gr[x] == Piecewise[{{x, x > 1}, {0, x <= 0}}]
But, when I try to plot the equation as...
Plot[eq30, {x, -5, 5}]
It gives me an empty coordinate plane. Also, the eq30 doesn't turn blue, as do my other 29 equations when I enter them. Any advice?