EBK MATLAB: AN INTRODUCTION WITH APPLIC
EBK MATLAB: AN INTRODUCTION WITH APPLIC
5th Edition
ISBN: 8220102007642
Author: GILAT
Publisher: YUZU
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 6, Problem 35P

The overall grade in a course is determined from the grades of 6 quizzes, 3 midterms, and a final exam, using the following scheme:

Quizzes: Quizzes are graded on a scale from 0 to 10. The grade of the lowest quiz is dropped and the average of the 5 quizzes with the higher grades constitutes 30% of the course grade.

Midterms and final exam: Midterms and final exams are graded on a scale from 0 to 100. If the average of the midterm scores is higher than the score on the final exam, the average of the midterms constitutes 50% of the course grade and the grade of the final exam constitutes 20% of the course grade. If the final grade is higher than the average of the midterms, the average of the midterms constitutes 20% of the course grade and the grade of the final exam constitutes 50% of the course grade.

Write a computer program in a script file that determines the course grade for a student. The program first asks the user to enter the six quiz grades (in a vector), the three midterm grades (in a vector), and the grade of the final. Then the program calculates a numerical course grade (a number between 0 and 100). Finally, the program assigns a letter grade according to the following key: A for Grade = 90, B for 80 = Grade < 90, C for 70 = Grade < 80, Dfor 60 = Grade < 70, and E for a grade lower than 60. Execute the program for the following cases:

(a) Quiz grades: 6, 10, 6, 8, 7, 8. Midterm grades: 82, 95, 89. Final exam: 81.

(b) Quiz grades: 9, 5, 8, 8, 7, 6. Midterm grades: 78, 82, 75. Final exam: 81.

Blurred answer
Students have asked these similar questions
1. Answer the subparts A&B with the step, based on the Image. This question Q&A please no reject and solve thank u A) Based on the measurement data above, indicate that there is an error in the measurement      data. Give an explanation of the answers given. B) Determine in which element there is an error in the measurement data. What should be       the correct measurement result. Give an explanation of the answers given.
note that the question is not a graded question, its a past paper, please solve the question
plz solve my all question,,i need this..plz don't scrept any question ....plz plz

Chapter 6 Solutions

EBK MATLAB: AN INTRODUCTION WITH APPLIC

Knowledge Booster
Background pattern image
Electrical Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Text book image
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Text book image
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Text book image
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Text book image
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,
Bayes' Theorem 1: Introduction and conditional probability; Author: Dr Nic's Maths and Stats;https://www.youtube.com/watch?v=lQVkXfJ-rpU;License: Standard YouTube License, CC-BY
What is Conditional Probability | Bayes Theorem | Conditional Probability Examples & Problems; Author: ACADGILD;https://www.youtube.com/watch?v=MxOny_1y2Q4;License: Standard YouTube License, CC-BY
Bayes' Theorem of Probability With Tree Diagrams & Venn Diagrams; Author: The Organic Chemistry Tutor;https://www.youtube.com/watch?v=OByl4RJxnKA;License: Standard YouTube License, CC-BY
Bayes' Theorem - The Simplest Case; Author: Dr. Trefor Bazett;https://www.youtube.com/watch?v=XQoLVl31ZfQ;License: Standard Youtube License