2. Consider the following grammar: <assign> à <id> = <expr> <id> à A | B | C <expr> à <id> + <expr> | <id> * <expr> | ( <expr> ) | <id> Show a parse tree and leftmost derivation for the following statements: (a) A = ( A + B ) * C (b) A = A * ( B + C ) 3. [10 Points] Show that the following grammar is...
Let Pbé à pósitive, continuous, and decreasing function for x 2 1, such that an-n). If the series an n 1 converges to S, then the remainder RN -S-Sw is bounded by Use the result above to approximate the sum of the convergent series using the indicated number of terms. (Round your answers to four decimal place Σ ,T, ten terms n2 +1' Include an estimate of the maximum error for your approximation. (Give your answer to four decimal places.)...
The vector aā + Bb where a = 5, B =-2, à = (9, -3), b =(-1, 2) is parallel to
1. You are creating a portfolio from the following companies: 1. MSFT à B = 1.13 2. PG à B = 0.59 3. NFLX à ß = 1.66 You will invest 50% into PG, 25% in NFLX, and 25% in MSFT. Considering this information, which of the following statements is accurate? portfolio beta is smaller than the beta of the risk-free asset portfolio beta is greater than that of the market beta portfolio beta is smaller than that of the...
What would the sum of (X+1) be for the following data set? 4, 6, 0, 3, and 2 a. 100 b.20 c.15 d.10 What would the sum of (X+1) squared be for the following data set? 4, 6, 0, 3, and 2 a. 65 b. 20 c. 225 d.100
What would the sum of x be for the following data set? 4,6,0,3, and 2 a. 16 b. 14 c. 22 d.15 What would the sum of X squared be for the following data set? 4, 6, 0, 3 and 2 a. 56 b.65 c.225 d.100 What would the (sum of x) squared be for the following data set? 4, 6, 0, 3, and 2 a. 20 b.65 c.100 d.225
Determine the interval of convergence for the following series. a/ sum (x-3)k / sqrt k from k=1 to infinity b/ sum (-x)k / k! from k=0 to infinity c/ sum (2x - 21)k / k4 from k=1 to infinity
Calculate the convolution sum x{n]=x[n]*x,[n]: 3. a). xn] S[n]+36[n-1]+28[n-2], x,[n]- u[n]- u[n-3) b). [n]- S[n]+ d[n=1]+S[n-2]+0.58[n-3]+ S[n-51,x,[n]- x,[2n] 4. An LTI system is described with the following LCCDE: In]=x[n]+2y[n-1] a). Plot a block diagram to show the input-output relationship. b).With the input x[n]= S[n], and known y[0] = 0 . Find out the output sequence In] using recursive calculation. 5. A system is described with the following figure, find out a suitable LCCDE to express the input-output relationship y[n] [n]...
4. Balance the following chemical equations a) A,B,CD à AC, +2, + C + B,C b) ABC, + D, +E -> BD, + AD, + EC
7. (a) Compute a left-hand Riemann sum with 3 rectangles to approximate f(x)-1/ 1 1 2 3 4 (b) Is this approximation an overestimate or an underestimate of the definite integral?