
Concept explainers
The overall grade in a course is determined from the grades of 10 homework assignments. 2 midterms, and a final exam, using the following scheme:
Homework: Homework assignments are graded on a scale from 0 to 80. The grade of the two lowest assignments is dropped and the average of the eight assignments with the higher grades constitutes 2YYo 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, or the same as, the score on the final exam, the average of the midterms constitutes 40% of the course grade and the grade of the final exam constitutes 40% of the course grade. If the final exam grade is higher than the average of the midterms, the average of the midterms constitutes 30% 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 10 homework assignment grades (in a
(a) Homework assignment grades: 65, 79, 80, 50, 71, 73, 61, 70, 69, 74. Midterm grades: 83. 91. Final exam: 84.
(b) Homework assignment grades: 70, 69, 83, 45, 90, 89, 52, 78, 100, 87. Midterm grades: 87, 72. Final exam: 90.

Want to see the full answer?
Check out a sample textbook solution
Chapter 6 Solutions
MATLAB: An Introduction with Applications
- A 3-phase, 4-wire distributor supplies a balanced voltage of 400/230 V to a load consisting of 50 A at p.f. 0-866 lagging for R-phase, 30 A at p.f. 0-866 leading for Y phase and 30 A at unity pf. for B phase. The resistance of each line conductor is 0-2 Q. The area of X-section of neutral is half of any line conductor: Calculate the supply end voltage for R phase. The phase sequence is RYB.arrow_forward- A 3-phase, 4-wire distributor supplies a balanced voltage of 400/230 V to a load consisting of 8 A at p.f. 0.7 lagging for R-phase, 10 A at p.f. 0-8 leading for Y phase and 12 A at unity p.f. for B phase. The resistance of each line conductor is 0.4 2. The reactance of neutral is 0.2 2. Calculate the neutral current, the supply voltage for R phase and draw the phasor diagram. The phase sequence is RYB.arrow_forwardNo AI WILL REJECTarrow_forward
- Please show all the steps!arrow_forward10-3) similar to Lathi & Ding, Prob. P.6.3-7 The Fourier transform P(f) of a the basic pulse p(t) used in a certain binary communication is shown in the figure below: P(f) 1 0.5 0 f₁ = 0.8 √₂ = 1.2 f, MHz (a) From the shape of P(f), explain at what pulse rate this pulse would satisfy Nyquist's first criterion. (b) Assuming that the pulse is a raised-cosine pulse, find its rolloff factor. (c) Find p(t) and verify that this pulse satisfies Nyquist's first criterion in the time domain. (d) Show how rapidly the pulse decays as a function of t, (i.e., what power of t does the envelope obey for large time values).arrow_forwardDon't use ai to answer I will report you answerarrow_forward
- Don't use ai to answer I will report you answerarrow_forwardDon't use ai to answer I will report you answerarrow_forwardChoose the correct answer for from the following sentences: 1. The purpose of the microprocessor is to control b. memory c. processing d. tasks a. switches 2. Which of the following instructions represents base-plus-index addressing mode? a. MOV AL,[BX] b. MOV AL,[SI] c. MOV AL,BX d. MOV AL,[BX+SI] 3. The BIU pre-fetches the instruction from memory and store them in b. memory c. stack d. queue a. register 4. Which function is used to control the PWM (Pulse Width Modulation) on the Arduino output pin? a. digitalRead() b. analogRead() c. digitalWrite() 5. Which port in the PIC16F877A has an 8 external interrupt inputs? a. Port-A b. Port-C c. Port-B d. analogWrite() d. Port-D d. 4KByte 6. How much Flash EEPROM memory program found in the PIC16F877A microcontroller? a. 32KByte b. 16KByte c. 8KBytearrow_forward
- Introductory Circuit Analysis (13th Edition)Electrical EngineeringISBN:9780133923605Author:Robert L. BoylestadPublisher:PEARSONDelmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage LearningProgrammable Logic ControllersElectrical EngineeringISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
- Fundamentals of Electric CircuitsElectrical EngineeringISBN:9780078028229Author:Charles K Alexander, Matthew SadikuPublisher:McGraw-Hill EducationElectric Circuits. (11th Edition)Electrical EngineeringISBN:9780134746968Author:James W. Nilsson, Susan RiedelPublisher:PEARSONEngineering ElectromagneticsElectrical EngineeringISBN:9780078028151Author:Hayt, William H. (william Hart), Jr, BUCK, John A.Publisher:Mcgraw-hill Education,





