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
Both portions of the rod ABC are made of an aluminum for which E = 70 GPa. Based on the given information find: 1- deformation at A 2- stress in BC 3- Total strain 4- If v (Poisson ratio is 0.25, find the lateral deformation of AB Last 3 student ID+ 300 mm=L2 724 A P=Last 2 student ID+ 300 KN 24 24 Diameter Last 2 student ID+ 15 mm Last 3 student ID+ 500 mm=L1 724 C B 24 Q=Last 2 student ID+ 100 KN 24 Diameter Last 2 student ID+ 40 mm
Q2Two wooden members of uniform cross section are joined by the simple scarf splice shown. Knowing that the maximum allowable tensile stress in the glued splice is 75 psi, determine (a) the largest load P that can be safely supported, (b) the corresponding shearing stress in the splice. น Last 1 student ID+5 inch=W =9 4 L=Last 1 student ID+8 inch =12 60° P'
Q4 The two solid shafts are connected by gears as shown and are made of a steel for which the allowable shearing stress is 7000 psi. Knowing the diameters of the two shafts are, respectively, dBC determine the largest torque Tc that can be applied at C. 4 and dEF dBC=Last 1 student ID+3 inch dEF=Last 1 student ID+1 inch 7 R=Last 1 Student ID+5 inch 9 R B Tc 2.5 in. E TF H

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
Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning
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