Name: 3. (10 points) Given grammar: <program> → <stmts> Page: 2 <term> → <var> 1 const 1), write down derivation of: c-5+a 2) What are terminals and what are non-terminals in the grammar? Show a complete parse, including the parse stack contents, input string, and action for the string: id - id + id, using the grammar and parse table below. (10 points) 4. Grammar State id S4 4. T F 5. F (E) R2 S7 R4 R4 R2İR2 Parse...
a) Determine the total resistance, RT. (4 points) b) Find the source current Is. (2 points) c) Find voltages and currents for each resistor and fill in Table 1. (14 points) R2 R3 1.5k 1k R4 3.3k R 1 2k R7 4.7k 10V R5 8.2k R6 5.6k Figure 1 Table 1 VR4 IR4 R3 R3 IR1 R2 R2 R1 Table 1 Cont'd V R7 R7 R6 R6 V R5 R5
Circuit with Two Batteries and Six Resistors 1 2 3 4 5 6 A circuit is constructed with six resistors and two batteries as shown. The battery voltages are V1 18 V and V2 12 V. The I,I I, R positive terminals are indicated witha+ R Sp. R5 sign, The values for the resistors are: R1 = Rs 74 Ω, R2-R6-86 Ω R3-103 Ω, and ,a. VI R4 135 Q. The positive directions for the R4 currents l1, 12 and...
Table 3 (5 points) AV1_5.0 V R(22) im(A) (A) % Error R1 100 R2 200 0.005 R3 ! 3300 0.006 R400 .OZU R5 w 200 0.005 3. Using Kirchhoff's Rules, construct enough mathematically independent equations to solve for the current of each resistor. Then calculate the % error between your measured and theoretical values for the current of each resistor. You MUST use Kirchhoff's Rules and show work to receive any credit. (15 points) 3R5 NAV Rz