Man, I don't know how I mixed that up -- it was supposed to read circumference of a circle and area of a right triangle (rather than area of a circle and perimeter of a right triangle). Fixed.
I'm going to attribute it to my having difficulty writing something incorrect on purpose, rather than to my being a dumbass.