Calculate percent error, which is the percent difference between an expected result and the theroretical one. For example: If I flip a coin 10 times and expect to get heads 5 times but really get it 4 times, the percent error would be 20%. The formula is listed below