Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MATLAB Credit Hours // Filename: creditHours.m Consider the following word problem and create a MATLAB program, which must be named creditHours.m, that sets up the
MATLAB
Credit Hours // Filename: creditHours.m Consider the following word problem and create a MATLAB program, which must be named creditHours.m, that sets up the A matrix and b vector for the system of equations and solves for the unknowns (u). Display the number of credit hours for each course in the Command Window. Three engineering students aren't sure how many credit hours their first-year engineering courses were worth, but they do know their grades in each of the class and their total quality points, which is defined as: N class | Hiclass * Giclass Eqn. 1 iclass=1 where Po is the student's total quality points, Nclass is the number of classes, Hiclass is the credit hours corresponding to a particular class (iClass), and Giclass is the GPA value for a particular class (iClass). For reference, an A has a GPA value of 4, a B has a GPA value of 3 and a C has a GPA value of 2. Using the grade and total quality points information in Table 1, below, write a code called creditHours.m that outputs the credit hours for EG101, EG102, and EG103 in a format that is easy to read for the user. Please note these are fake classes and student grades. Table 1. Information for Problem 6 Name EG101 Grade EG102 Grade EG103 Grade Total Quality Points Avery 24.5 Kelly 28.5 Peyton 31.0 . A B A A
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started