Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer in scilab calculate the GPA for a studentWrite a user - defined function that calculates grade point average ( GPA ) on a scale

Answer in scilab calculate the GPA for a studentWrite a user-defined function that calculates grade point average (GPA) on
a scale of 0 to 5, where A=5,B=4,C=3,D=2, and F=0. For the
function name and arguments, use GPA = GradePtAve (G,C). The input
argument G is a vector whose elements are letter grades A,B,C,D, or F
entered as a string (e.g.,['ABACFB']). The input argument C is a vector
with the corresponding credit hours. The output argument GPA is the calcu-
lated GPA rounded to the nearest tenth (i.e.,3.75 is rounded to 3.8, and
3.749 is rounded to 3.7). Use the function to calculate the GPA for a student
with the following record:
with the following record:
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Differentiate 3sin(9x+2x)

Answered: 1 week ago

Question

Compute the derivative f(x)=(x-a)(x-b)

Answered: 1 week ago