calculate the carat of gold by specific gravity