Question: Sometimes a student has a certain GPA goal for some reason (maintain financial aid, avoid academic suspension, etc). Write a function file that takes as

 Sometimes a student has a certain GPA goal for some reason

Sometimes a student has a certain GPA goal for some reason (maintain financial aid, avoid academic suspension, etc). Write a function file that takes as inputs a student's current GPA, GPA goal, number of earned credit hours, and number of hours being taken this semester. The function should output the minimum semester GPA that the student can earn this semester in order to meet the GPA goal. Function C Reset D MATLAB Documentation 1 function semGPA = GPAneeds(currentGPA, goalGPA, earnedCredits, currentCredits) 2 %compute the sem GPA needed in order to end up with the goal GPA 3 sEMGPA = (goalGPA*(earnedCredits+totalCredits)-currentGPA*earnedCredits)/currentCredits end Code to call your function C Reset 1 GPAneeds(currentGPA, goalGPA, earnedCredits, currentCredits) Sometimes a student has a certain GPA goal for some reason (maintain financial aid, avoid academic suspension, etc). Write a function file that takes as inputs a student's current GPA, GPA goal, number of earned credit hours, and number of hours being taken this semester. The function should output the minimum semester GPA that the student can earn this semester in order to meet the GPA goal. Function C Reset D MATLAB Documentation 1 function semGPA = GPAneeds(currentGPA, goalGPA, earnedCredits, currentCredits) 2 %compute the sem GPA needed in order to end up with the goal GPA 3 sEMGPA = (goalGPA*(earnedCredits+totalCredits)-currentGPA*earnedCredits)/currentCredits end Code to call your function C Reset 1 GPAneeds(currentGPA, goalGPA, earnedCredits, currentCredits)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!