chemistry
posted by rose .
A 0.286g sample of carbon dioxide, CO2, has a volume of 585mL and a pressure of 495mmHg . What is the temperature, in kelvins and degrees Celsius, of the gas?

Use PV = nRT and solve for T which will be in kelvin. Then
kelvin = 273 + C
n = number of mols = grams/molar mass 
How would i use the grams in this equation though?

That's the line I wrote for
n = grams/molar mass
You must have n for PV = nRT
n = number mols CO2 and that is grams CO2/molar mass CO2
n = 0.286/44 = ?