Numerical Methods for Engineers
Numerical Methods for Engineers
7th Edition
ISBN: 9780073397924
Author: Steven C. Chapra Dr., Raymond P. Canale
Publisher: McGraw-Hill 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
Main/84589a48-b934-4b6e-a6e1-a5d75f559df9?transferToken=MxNewDS NGIFSFh5aZ5MQMzuGzB.. Critics review films out of 5 based on three attributes: the story, the special effects and the acting. The ratings of four critics for a film are collected in the table below. B Special Critic Critic 1 Story rating Effects rating Acting rating 4.4 4.3 4.5 Critic 2 4.1 4.2 3.9 Critic 3 3.9 4 3.4 Critic 4 4.2 4.1 4.2 44° X Critic 1 also gave the film a rating for the Director's ability. If the average of Critic 1's ratings was 4.3 what rating did they give to the Director's ability? 3.9 4.0 OOOO Esc 4.1 4.2 Q Search L 2 A AR F2 +4 % x Ö- 1+ FS F4 F5 F6 F7 F8 £ %5 14 96 T 27 F9 화요 4 * 8 F10 U F11 61 UTROGENA apid Cle 2-in-1 & Fade Toner TOCLEAR FADES The look of ENG 17:51 UK 25/01/2025 TYLITTLETHING DY MIST ONIKI ALM # 공☆ Home End F12 Insert Delete +11 K P
eminder to complete the Case X T Civil Service Numerical Test Sec X C T Casework Skills Practice Test x + euauthoring.panpowered.com/DeliveryWeb/Civil Service Main/84589a48-b934-4b6e-a6e1-a5d75f559df9?transferToken=MxNewOS NGIFSFH5aZSMQMzuGzB The table shows the value of the FTSE 100 share index over 6-month periods for 2 years. Month Value (£) January 2017 7,147 July 2017 7,455 January 2018 7,692 July 2018 7,668 January 2019 7,154 If the value of shares held in the FTSE 100 was £2,450 in July 2017, what would it be in July 2018? £2,478 £2,505 O O O O C £2,520 £2,553 £2,560 EN Q Search பல் L -☀- F5 0+ F6 C F8 27 8 화요 * 0 F10 E 61 F12
(c) Suppose that all the pages are black and white, but each group of 25 con- secutive pages (1-25, 26-50, 51-75, 76-100, 101-125) must be assigned to the same printer. Each printer can be assigned 0, 25, 50, 75, 100, or 125 pages to print. How many ways are there for the 125 pages to be assigned to the five printers?

Chapter 2 Solutions

Numerical Methods for Engineers

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