physics
posted by Ellen .
A pendulum consists of an object of mass 1.07 kg that hangs at the end of a massless bar, a distance 1.14 m from the pivot point. Calculate the magnitude of the torque due to gravity about the pivot point if the bar makes an angle of 22° with the vertical.

the weight will be mgCos22 in the direction perpendicular to the bar.
So torque will be weightpendulum*cos22*1.14 
will the weight be in kg or grams?

It does not matter IF you put your units on the problem. However, if your weight is in Newtons, you better use kg as masses.