calculates weight based on gravity

wont print anything