you have an error because you are computing with a % in your equations... did you try the program i uploaded?