Find out exactly what you need on the final to get the grade you want.
The math is straightforward. Your final course grade is a weighted average of two things: everything you have done so far, and the final.
Let desired be the grade you want, current be your average without the final, and w be the final exam weight (as a decimal — 30% becomes 0.30). The score you need on the final is:
required = (desired − current × (1 − w)) ÷ w
If the answer comes out above 100 and your professor does not allow extra credit, the goal is not reachable. If it comes out negative, you have already locked in the grade and the final almost cannot hurt you.
:root block at the top — change the colors there to re-skin the whole app.letterGrade() function to adjust the grade-to-letter mapping for your school's scale.<header> block to match your course.Built with Claude. Generated from a single prompt. The full source you are reading right now is the entire app.