Input | Output |
-4 | 10 |
-3 | 4 |
-2 | 0 |
-1 | -2 |
0 | -2 |
1 | 0 |
2 | 4 |
3 | 10 |
4 | 18 |
JUST NEED TO KNOW THE TYPE OF FUNCTION OF THIS TABLE. Is it Linear, Quadratic, Polynomial, Exponential, Logs, Square Root, Rational? Explain why the table is that type of function?
Input Output -4 10 -3 4 -2 0 -1 -2 0 -2 1 0 2 4 3 10 4 18 JUST NEED TO KNOW THE TYPE OF FUNCTION OF THIS TABLE. Is it Linear, Quadratic, Polynomial, Exponential, Logs, Square R...
Complete 1. Create a function to solve the Quadratic Formula as know as ax +bx+cwit solution is 2a The function must have only 3 reference parameters which are the coefficient of the quadratic equation a, b and c, at the end the function must return the real value of x. If a-0, or there is a negative root square obtained, the function must sent a message error to the user The coefficient of it can't be equal zero" or "Negative...
6. Given the input { 4, 42, 39, 18, 77, 97, 7 }, a fixed table size of 10 and a hash function H( x ) = x modulo 10, show the resulting hashtable. Index Linear Probing Hashtable Quadratic Probing Hashtable Separate Chaining Hashtable 0 1 2 3 4 5 6 7 8 9
1. estimate a linear cost function 2. estimate a quadratic cost function 3. estimate a cubric cost function 1 A B с D 1 Cost data for a lumber mill 2 3 TC 4 11 5 32 2 6 93 3 7 248 4 8 575 5 9 1176 6 10 2177 7 11 3728 8 12 6003 9 13 9200 10 14 13541 11 15 19272 12 1626663 13 17 36008 14 18 47625 15 19 61856 16 20...
Assignment 4 File “quad_sol.s” contains a quadratic polynomial solver, which calculates the integer solution of a quadratic polynomial equation. 1. Rewrite the program using instructions reordering to reduce the number of cycles needed to execute the program. Indicate the number of cycle reduction. 2. Describe how forwarding would affect the execution of the program. CODE # quad_sol.s # This assembly program calculates the integer solutions of a quadratic polynomial. # Inputs : The coefficients a,b,c of the equation a*x^2 +...
Which quadratic function represents the data shown in the table? X -3 - 2 0 1 2. 3 y 20 0 -4 -4 0 1. f(x)= 2x2 – 2x - 4 II. f(x)= 2(x - 2)(x + 1) III. f(x)=2(x -0.5)2 - 4.5 O A. I only O B. ll only C. Ill only O D.I, II, and III
8396 5101281 5 8 2 0 1 12 ( 4 2 1 ) ) ) 0000 f-000 0246802 (i) Defining fo-f(zo). Л that the quadratic f(x) and f2 f(x2), where Zo-x1-h and x2-xuth, show 2 , f2 - jo 2h2 2h is the quadratic interpolating function for fo, fı and f2 (i.e. show that p(x)-f) 4] (ii) Use the interpolating polynomial p(x) as defined above, with Zo-12, xỉ-1.4 and 22 -1.6 (and fo, fı and f2 given by the table...
2. (Chapter 2). A linear, time-invariant, continuous-time (LTIC) system with input f(t) and output y(t) is specified by the differential equation D2(D +1)y(t) (D - 3)f(t) Find the characteristic polynomial, characteristic equation, characteristic root(s), and characteristic mode(s) of this system. a. b. Is this system asymptotically stable, marginally stable, or unstable? Justify your answer. 2. (Chapter 2). A linear, time-invariant, continuous-time (LTIC) system with input f(t) and output y(t) is specified by the differential equation D2(D +1)y(t) (D - 3)f(t)...
ANSWER ONLY QUESTION #3!!!!! 2) (10 points) A moore FSM has a single infinitely long binary string r as input and a single output. The output is a logic 1 if the input changes from 0 to 1 or 1 to 0 For example, output is r-00101110 001110001 Design the FSM. Use full encoding. Construct a timing diagram for the input sequence shown above. Be sure and do an implication table check 3) (5 points) Show the schematic of a...
Please do question 5 for me. Thanks Question 1 (10 marks) For a linear system Ax- b with 1 0 -1 A-1 2-1 2 -1 3 b=14 18 and compute by hand the first four iterations with the Jacobi method, using x()0 Hint: for the ease of calculation, keep to rational fractions rather than decimals Question 2 For the same linear system as in Question 1, compute by hand the first three iterations (10 marks) with the Gauss Seidel method,...
Question 1 (10 marks) For a linear system Ax b with 1 0-1 A-1 2-1 2-13 and b4 18 compute by hand the first four iterations with the Jacobi method, usg0 Hint: for the ease of calculation, keep to rational fractions rather than decimals. (10 marks) Question 2 For the same linear svstem as in Question 1. compute by hand the first three iterations with the Gauss Seidel method, us0 Hint: for the ease of calculation, keep to rational fractions...