
MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
expand_more
expand_more
format_list_bulleted
Concept explainers
Textbook Question
Chapter 6, Problem 24P
A list of exam scores (S) (in percent out of 100% is given: 72, 81, 44, 68, 90, 53, 80, 75, 74, 65, 50, 92, 85, 69, 41, 73, 70, 86, 61, 65, 79, 94, 69. Write a computer program that calculates the average (Av) and standard deviation (Sd) of the scores, which are rounded to the nearest integer. Then, the program determines the letter grade of each of the scores according to the following scheme:
Score% | S=Av+1.3Sd | Av+ 0.5Sd=S
|
Letter grade | A | B |
Score% | Av-1.5Sd=S
| Av-1.3Sd=S
|
Letter grade | C | D |
Score% | S
| |
Letter grade | F |
The program displays the values of Av and Sd followed by a list that shows the scores and the corresponding letter grade (e.g., 72% Letter grade C).
Expert Solution & Answer

Want to see the full answer?
Check out a sample textbook solution
Students have asked these similar questions
You assume that the annual incomes for certain workers are normal with a mean of $28,500 and a standard deviation of $2,400.
What’s the chance that a randomly selected employee makes more than $30,000?What’s the chance that 36 randomly selected employees make more than $30,000, on average?
What’s the chance that a fair coin comes up heads more than 60 times when you toss it 100 times?
Suppose that you have a normal population of quiz scores with mean 40 and standard deviation 10.
Select a random sample of 40. What’s the chance that the mean of the quiz scores won’t exceed 45?Select one individual from the population. What’s the chance that his/her quiz score won’t exceed 45?
Chapter 6 Solutions
MATLAB: An Introduction with Applications
Ch. 6 - Prob. 1PCh. 6 - Given: d=6e=4f=2 . Evaluate the following...Ch. 6 - Given: v=[-2 4 1 0 2 1 2] and w=[2 50 1 2 1 3]....Ch. 6 - Use the vectors v and w from Problem 3. Use...Ch. 6 - Evaluate the following expressions without using...Ch. 6 - Use loops to create a 46 matrix in which the value...Ch. 6 - Write a program that generates a vector with 30...Ch. 6 - Write a program that asks the user to input a...Ch. 6 - Write a program that asks the user to input a...Ch. 6 - The daily high temperature (°F) in New York City...
Ch. 6 - The Pascal triangle can be displayed as elements...Ch. 6 - Fibonacci numbers are the numbers in a sequence in...Ch. 6 - The reciprocal Fibonacci constant ?is defined by...Ch. 6 - The value of p can be estimated from:...Ch. 6 - The value of p can be estimated from the...Ch. 6 - Write a program that (a) generates a vector with...Ch. 6 - A vector is given by x= [9 -1.5 13.4 13.3 -2.1 4.6...Ch. 6 - The Pythagorean theorem states that a2+ b2= c2....Ch. 6 - Write a MATLAB program in a script file that finds...Ch. 6 - A safe prime is a prime number that can be written...Ch. 6 - Sexy primes are two prime numbers that the...Ch. 6 - A Mersenne prime is a prime number that is equal...Ch. 6 - A perfect number is a positive integer that is...Ch. 6 - A list of exam scores (S) (in percent out of 100%...Ch. 6 - The Taylor series expansion for axis:...Ch. 6 - Write a MATLAB program in a script file that finds...Ch. 6 - The following are formulas for calculating the...Ch. 6 - Body mass index (BMI) is a measure of obesity. In...Ch. 6 - Write a program in a script file that calculates...Ch. 6 - Write a program that determines the change given...Ch. 6 - The concentration of a drug in the body CPcan be...Ch. 6 - One numerical method for calculating the cubic...Ch. 6 - Write a program in a script file that converts a...Ch. 6 - In a one-dimensional random walk, the position x...Ch. 6 - The Sierpinski triangle can be implemented in...Ch. 6 - The roots of a cubic equation a3x3+a2x2+a1x+a0=0...Ch. 6 - The overall grade in a course is determined from...Ch. 6 - A Keith number is a number (integer) that appears...Ch. 6 - The following MATLAB commands create a sine-shaped...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.Similar questions
- Suppose that you take a sample of 100 from a population that contains 45 percent Democrats. What sample size condition do you need to check here (if any)?What’s the standard error of ^P?Compare the standard errors of ^p n=100 for ,n=1000 , n=10,000, and comment.arrow_forwardSuppose that a class’s test scores have a mean of 80 and standard deviation of 5. You choose 25 students from the class. What’s the chance that the group’s average test score is more than 82?arrow_forwardSuppose that you collect data on 10 products and check their weights. The average should be 10 ounces, but your sample mean is 9 ounces with standard deviation 2 ounces. Find the standard score.What percentile is the standard score found in part a of this question closest to?Suppose that the mean really is 10 ounces. Do you find these results unusual? Use probabilities to explain.arrow_forward
- Suppose that you want to sample expensive computer chips, but you can have only n=3 of them. Should you continue the experiment?arrow_forwardSuppose that studies claim that 40 percent of cellphone owners use their phones in the car while driving. What’s the chance that more than 425 out of a random sample of 1,000 cellphone owners say they use their phones while driving?arrow_forwardSuppose that the average length of stay in Europe for American tourists is 17 days, with standard deviation 4.5. You choose a random sample of 16 American tourists. The sample of 16 stay an average of 18.5 days or more. What’s the chance of that happening?arrow_forward
- How do you recognize that a statistical problem requires you to use the CLT? Think of one or two clues you can look for. (Assume quantitative data.)arrow_forwardSuppose that you take a sample of 100 from a skewed population with mean 50 and standard deviation 15. What sample size condition do you need to check here (if any)?What’s the shape and center of the sampling distribution for ?What’s the standard error?arrow_forwardQuestion 3 The following stem-and-leaf displays the weekly salary of employees at this firm. Stem-and-Leaf Display Leaf Unit = 10.0 N=x 5 3 00123 12 4 0125888 (y) 5 11234456777 z 6 13568 5 7 154 2 8 46 i. Determine the value of x, y and z. [3] ii. What is the value of the median? [2] iii. Find the mode of this data set. iv. Calculate the range [1] [2]arrow_forward
- Let Y be a continuous RV with PDF otherwise Find the CDF, Fry), of Y . Find an expression for pth, p € (0, 1), quantile of the distribution. Find E(Y) and V(Y). Find E(-2Y + 1) and V(-3Y - 2). Find E(Y3).arrow_forwardLet X be a continuous RV with CDF Find P(X < 0), P(-1 < X < 1) and P(0.5 < X). Based on your answers to the above questions, what is the median of the distribu-tion? Why Find the PDF, fx (x), of X.arrow_forwardA survey of 581 citizens found that 313 of them favor a new bill introduced by the city. We want to find a 95% confidence interval for the true proportion of the population who favor the bill. What is the lower limit of the interval? Enter the result as a decimal rounded to 3 decimal digits. Your Answer:arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Glencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillBig Ideas Math A Bridge To Success Algebra 1: Stu...AlgebraISBN:9781680331141Author:HOUGHTON MIFFLIN HARCOURTPublisher:Houghton Mifflin HarcourtHolt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGAL
- College Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage Learning

Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill

Big Ideas Math A Bridge To Success Algebra 1: Stu...
Algebra
ISBN:9781680331141
Author:HOUGHTON MIFFLIN HARCOURT
Publisher:Houghton Mifflin Harcourt

Holt Mcdougal Larson Pre-algebra: Student Edition...
Algebra
ISBN:9780547587776
Author:HOLT MCDOUGAL
Publisher:HOLT MCDOUGAL


College Algebra (MindTap Course List)
Algebra
ISBN:9781305652231
Author:R. David Gustafson, Jeff Hughes
Publisher:Cengage Learning
The Shape of Data: Distributions: Crash Course Statistics #7; Author: CrashCourse;https://www.youtube.com/watch?v=bPFNxD3Yg6U;License: Standard YouTube License, CC-BY
Shape, Center, and Spread - Module 20.2 (Part 1); Author: Mrmathblog;https://www.youtube.com/watch?v=COaid7O_Gag;License: Standard YouTube License, CC-BY
Shape, Center and Spread; Author: Emily Murdock;https://www.youtube.com/watch?v=_YyW0DSCzpM;License: Standard Youtube License