Consider the formula: G = (A+C**2) * (E-1)**3 / D +B a) Show the order that a pr
ID: 3612965 • Letter: C
Question
Consider the formula: G = (A+C**2) * (E-1)**3 / D +B a) Show the order that a processor would follow to calculateG. To do so, break down the equation into the correct order ofoperations with one calculation per step. Show the formula for eachstep. b) Then find the value of G, if A = 5, B = 10, C = 3, D= 8 and E = 5 Consider the formula: G = (A+C**2) * (E-1)**3 / D +B a) Show the order that a processor would follow to calculateG. To do so, break down the equation into the correct order ofoperations with one calculation per step. Show the formula for eachstep. b) Then find the value of G, if A = 5, B = 10, C = 3, D= 8 and E = 5Explanation / Answer
Assuming ** as power operator a) The order the processor would follow is: 1) C**2 ( gives C-squared) 2)A+ C**2 will be evaluated 3) E-1 4) (E-1)**3 5) (E-1)**3/D 6) (A+C**2) * (E-1)**3/D 7) (A+C**2) * (E-1)**3/D + B b) if A=5, B=10, C=3, D=8, E=5.. the evaluation in every step is as follows after 1st step) (A+ 9) * (E-1)**3/D + B 2nd step) (14) * (E-1)**3/D +B 3rd step) 14 * (4)**3 /D +B 4th step) 14 * 64/D +B 5th step) 14 * 8+ B 6th step) 112 +B 7th step) 112+ 10 =122