Analysis of the Battle of Khandaq