Don't need calculus unless you're a masochist. If the rod is standing on the ground, its center of mass is 1/2 way up the bar. PE=mgl for the center of mass, thus mgl/2 for the bar.
If you get to thinking you’re a person of some influence, try ordering somebody else’s dog around.