Stearic acid formula is CH₃(CH₂)₁₆COOH
The molecular mass of stearic acid is 284.48 g/mol
The mass of stearic acid in 1 ml of solution is 0.1 g
Therefore number of moles in 1 ml is - 0.1 g / 284.48 g/mol = 0.000352 mol
Molarity is number of moles in 1 L of solution
If 1 ml contains - 0.000352 mol
Then 1 L solution contains - 0.000352 /1 x 1000 = 0.352 mol/L
Therefore molarity is 0.352 M