Grading Policy - Moed A Exam

Homeworks
max(hw1*0.28 + hw2*0.28 + hw4*0.44, (hw1*0.28 + hw2*0.28 + hw4*0.44)*0.9 + hw3*0.1)
ExamARaw grade of the Moed-A exam
ExamAFactored
ExamA*1.04
FinalA
round((ExamAFactored >= 55) && (Homeworks  - ExamAFactored <= 25) ? ExamAFactored*0.7+ Homeworks*0.3 : ExamAFactored)