Numerical Methods For Engineers, 7 Ed
Numerical Methods For Engineers, 7 Ed
7th Edition
ISBN: 9789352602131
Author: Canale Chapra
Publisher: MCGRAW-HILL HIGHER EDUCATION
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
Students have asked these similar questions
16.3. Evaluate each of the following integrals where the path is an arbitrary contour between the limits of integrations (a). [1 ri/2 edz, (b). (b). La cos COS (2) d dz, (c). (z−3)³dz. 0
Q/ prove that:- If Vis a finite dimensional vector space, then this equivalence relation has only a single equivalence class.
/ prove that :- It is easy to check that equivalence of norms is an e quivalence relation on the set of all norms on V.

Chapter 2 Solutions

Numerical Methods For Engineers, 7 Ed

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.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,
Text book image
Algebra: Structure And Method, Book 1
Algebra
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:McDougal Littell
Text book image
Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill
Text book image
Holt Mcdougal Larson Pre-algebra: Student Edition...
Algebra
ISBN:9780547587776
Author:HOLT MCDOUGAL
Publisher:HOLT MCDOUGAL
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