Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a function (in matlab) called Chance2BHired to estimate the probability of an applicant being hired based on GPA. The input is a numeric called
Write a function (in matlab) called Chance2BHired to estimate the probability of an applicant being hired based on GPA. The input is a numeric called GPA and the output is chanceHired, equal to the probability of an applicant based on the following table.
GPA >= 3.5 Probability 90%
3.0 <= GPA < 3.5 Probability 80%
2.5 <= GPA < 3.0 Probability 70%
2.0 <= GPA < 2.5 Probability 60%
1.5 <= GPA < 2.0 Probability 50%
GPA < 1.5 Probability 40%
function chanceHired= Chance2BHired( GPA )
Code to call your function
chanceHired= Chance2BHired( GPA )
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