Answer:

Step-by-step explanation:
The number of moles of the compound can be found by using the formula

where
m is the mass in grams
M is the molar mass in g/mol
n is the number of moles
From the question
m = 150 g
The molar mass of gingerol is 294.39 g/mol

We have the final answer as
0.509 moles