Multiply or add the following monomials and polynomials.
SOLUTION :
a.
(-8 x^5)( - 9x^3)
= (- 8)(- 9) (x^5 * x^3)
= 72 x^(5 + 3)
= 72 x^8 (ANSWER)
b.
2(7x^3 + 2x^2 + x + 4) - (x^3 + 7x - 9) - (4x^2 + 7x)
= 14x^3 + 4x^2 + 2x + 8 - x^3 - 7x + 9 - 4x^2 - 7x
Grouping similar items :
= (14x^3 - x^3) + (4x^2 - 4x^2) + (2x - 14x) + (8 + 9)
= 13x^3 + 0 x^2 - 12x + 17
= 13x^3 - 12x + 17 (ANSWER)
c.
(3x - 1) (- x^2 + 5x - 2)
= 3x (- x^2 + 5x - 2) + (- 1) (- x^2 + 5x - 2)
= - 3x^3 + 15x^2 - 6x + x^2 - 5x + 2
= - 3x^3 + (15x^2 + x^2) + (- 6x - 5x) + 2
= - 3x^3 + 16x^2 - 11x + 2 (ANSWER)
183. Multiply. 5.4 292. Divide the monomials. 25mn
I need help filling in the the code in the methods add, multiply, and evaluate package poly; import java.io.IOException; import java.util.Scanner; /** * This class implements evaluate, add and multiply for polynomials. * * * */ public class Polynomial { /** * Reads a polynomial from an input stream (file or keyboard). The storage format * of the polynomial is: * <pre> * <coeff> <degree> * <coeff> <degree> * ... *...
A designer decides to add a fused multiply-add (FMA) instruction to our MIPS processor. The instruction does the following operation on registers: A=A*B+C. What type of instruction format can we use to encode this new instruction? I, J, Need a new format or R
Show how to apply the fast Fourier Transform to multiply three polynomials A(x) = a0 +a1x+a2x 2 +· · ·+an−1x n−1 of degree n−1, B(x) = b0 +b1x+b2x 2 +· · ·+bn−1x n−1 of degree n − 1, and C(x) = c0 + c1x + c2x 2 + · · · + cn−1x n−1 of degree n − 1 when n is a power of 2. Analyze its time complexity.
Calculator = 0.01 Calculate . Add O subtract O Multiply ODvide uttons on the right determine the operation that is performed on the numbers. For example, the following image shows values 12 and 3 are entered in the ion in selected. When the Calculate button is pressed, the result of the addition operation is shown after the equal sign ( In this example, the result is 1 Calculator 12 .15.01 Calculate | ⓔAdd subtract。Multiply O Divide g images show the...
A significant outcome from Hermite's equation are the Hermite Polynomials Hn(x). They are the nth-order polynomial solution toHermite's equation(v or v,) multiplied by an appropriate constant cn such that the coefficient of x" is 21. (a) Find the first three even Hermite Polynomials. That is, to find Ho(x) find a constant co to multiply with y1 when α-0 such that the coefficient in front of xo is 20. To find H2 (x) find a constant c2 to multiply with y1...
Problem Six: Given two polynomials: g(x) = anx" + an-iz"-1 +--+ aix + ao Write a MATLAB function (name it polyadd) to add the two polynomials and returns a polynomial t(x) = g(x) + h(x), whether m = n, m < n or m > n. Polynomials are added by adding the coefficients of the terms with same power. Represent the polynomials as vectors of coefficients. Hence, the input to the function are the vectors: g=[an an-1 ao] and h=[am...
Create a C++ calculator that allows you to add, multiply, divide, or subtract, and allows you to inlcude an infinite amount of inputted numbers for it.
Add, subtract, and multiply in Binary a) 6 and 17 (2 Pts) b) 75 and 54 (2 Pts) c) 44 and 36 (2 Pts)
Task 6: Write a Java program to make a calculator. The calculator should add, subtract, multiply and divide the numbers inserted by the user. Feel free to add more operations to your calculator, such as power, sqrt etc. (Hint: Use Switch)