Recall that the x% of y can be computed using the following expression:

Now, since Ravi's chocolate bar is 62% cocoa, and the weight of the chocolate bar is 61 gr, then the chocolate bar contains:

grams of cocoa.
Simplifying the above result we get:

Answer: Ravi's chocolate bar contains 37.8 grams.