and g is the acceleration due to gravity.