Question: where kin ( 1 , 2 , 3 , dotsN ) is the number of a particular course in the list, G P k i
where kindotsN is the number of a particular course in the list, is the grade point earned in course #k and is the number of credit hours for course
Write a code to calculate the GPA for you by creating arrays GP and then using builtin MATLAB functions and array operations to calculate your GPA. Use the variable names GP CH and GPA.
Your code should display nothing to the screen except a short message such as "Your GPA is and the GPA itself.
Note: You should choose the number of courses, the number of credit hours for each, and the grades in each. For privacy reasons, I do not recommend you use your own grades, though it is up to you.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
