INTERNATIONAL EDITION---Numerical Methods for Engineers, 7th edition
INTERNATIONAL EDITION---Numerical Methods for Engineers, 7th edition
7th Edition
ISBN: 9781259170546
Author: Steven Chapra and Raymond Canale
Publisher: MCG
bartleby

Videos

Textbook Question
Book Icon
Chapter 2, Problem 6P

The following algorithm is designed to determine a grade for a course that consists of quizzes, homework, and a final exam:

Step 1: Input course number and name.

Step 2: Input weighting factors for quizzes ( WQ ) , homework ( WH ) , and the final exam ( WF ) .

Step 3: Input quiz grades and determine an average quiz grade ( AQ ) .

Step 4: Input homework grades and determine an average homework grade ( AH ) .

Step 5: If this course has a final grade, continue to step 6. If not, go to step 9.

Step 6: Input final exam grade ( FE ) .

Step 7: Determine average grade AG according to

AG = WQ × AQ + WH × AH + WF × FE WQ + WH + WF × 100 %

Step 8: Go to step 10.

Step 9: Determine average grade AG according to

AG = WQ × AQ + WH × AH WQ + WH × 100 %

Step 10: Print out course number, name, and average grade.

Step 11: Terminate computation.

(a) Write well-structured pseudocode to implement this algorithm.

(b) Write, debug, and document a structured computer program based on this algorithm. Testitusingthefollowingdatato calculate a grade without the final exam and a grade with the final exam: WQ = 30; WH = 40; WF = 30 ; quizzes = 98, 95, 90, 60, 99 ; homework = 98 ,   95 ,   86 ,   100 ,   100 ,   77 ; and final exam = 91 .

Blurred answer

Chapter 2 Solutions

INTERNATIONAL EDITION---Numerical Methods for Engineers, 7th edition

Additional Math Textbook Solutions

Find more solutions based on key concepts
Knowledge Booster
Background pattern image
Advanced Math
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Advanced Engineering Mathematics
Advanced Math
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Wiley, John & Sons, Incorporated
Text book image
Numerical Methods for Engineers
Advanced Math
ISBN:9780073397924
Author:Steven C. Chapra Dr., Raymond P. Canale
Publisher:McGraw-Hill Education
Text book image
Introductory Mathematics for Engineering Applicat...
Advanced Math
ISBN:9781118141809
Author:Nathan Klingbeil
Publisher:WILEY
Text book image
Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,
Text book image
Basic Technical Mathematics
Advanced Math
ISBN:9780134437705
Author:Washington
Publisher:PEARSON
Text book image
Topology
Advanced Math
ISBN:9780134689517
Author:Munkres, James R.
Publisher:Pearson,
Graph Theory: Euler Paths and Euler Circuits; Author: Mathispower4u;https://www.youtube.com/watch?v=5M-m62qTR-s;License: Standard YouTube License, CC-BY
WALK,TRIAL,CIRCUIT,PATH,CYCLE IN GRAPH THEORY; Author: DIVVELA SRINIVASA RAO;https://www.youtube.com/watch?v=iYVltZtnAik;License: Standard YouTube License, CC-BY