1.50, y2-9.00. Calculate the slope of a line for which xl 1.00. y1-5.00, x2- Draw a...
1(a) Write a python program using a function name slope(x1, y1, x2, y2) that returns the slope of the line through the points (x1, y1) and (x2, y2). 1(b) For problem 1(a), write a python program using a function name Euclidean_dist(x1, y1, x2, y2) which will calculate and return the Euclidean distance between the points (x1, y1) and (x2, y2).
Realize the system which generates the output y1(n)-1/2 [x(n)+x(-n)] and y2(n)-1/2 [x(n)-x(-n)] using matlab. By generating signals xl(n)-sin(on) and x2(n)-cos(on) for various values of o-[0,/6, ,3Tt/2, 1.9T/2) obtain 3. a) Output yl(n) and y2(n) b) Critically analyze the system outputs y 1 (n) and y2(n) and find out the type of filter obtained.
Realize the system which generates the output y1(n)-1/2 [x(n)+x(-n)] and y2(n)-1/2 [x(n)-x(-n)] using matlab. By generating signals xl(n)-sin(on) and x2(n)-cos(on) for various values of o-[0,/6, ,3Tt/2, 1.9T/2)...
(a) If C is the line segment connecting the point (X1,Y1) to the point (X2, y2), find the following. Jexdy-y x dy - y dx O A = (b) If the vertices of a polygon, in counterclockwise order, are (X1,Y1), (x2, y2), ..., (Xn, Yn), find the area of the polygon. O A = 3 [(x112 - – *287) + (x3X3 – x3y2) + ... + (*n – 1'n – XnYn – 1) + (xn/1 – xqYn] = {[(x112 +...
16. Find all points on the circle x2 + y2 = 676 where the slope is 5/12 (x, y) = _______ (smaller y-value) (x, y) = _______ (larger y-value) 13.Find an equation of the tangent line to the graph at the given point. x2y2 - 9x2 - 4y2 = 0, (-4, -2√3) y = _______ 12. Find the slope of the tangent line to the graph at the given point. (4 - x)y2 = x3, (2, 2)
Consider the following equations: y1 = a1y2 +a2y3 +x1 +x2 +e1 (1) y2 = by1+2x3+x1+e2 (2) y3 =cy1+e3 (3) Here a1, a2, b, c are unknown parameters of interest, which are all posi- tive. x1, x2, x3 are exogenous variables (uncorrelated with y1, y2 or y3). e1, e2, e3 are error terms. (a) In equation (1), why y2,y3 are endogenous? (b) what is (are) the instrumental variable(s) for y2, y3 in equation (1)? (no need to explain why) (c) In...
The parametric equations where 0 tl describe the line segment that joins the points P1(x1, y and P2(x2, y2) Use a graphing device to draw the triangle with vertices A(1, 1), B(3, 4), C(1,7). Find the parametrization, including endpoints, and sketch to check. (Enter your answers as a comma- separated list of equations. Let x and y be in terms of t.) A to B B to C A to C
The parametric equations where 0 tl describe the line...
I need help answering question 2. Very clear hand writing would
be helpful.
Question 1 (a) Plot a graph of the data below. I(A) V -274 -10.00 2.25 -9.00 200-8.00 150-6.00 -149-5.00 -100 -4.00 0.51 -3.00 0.74-200 -049 -100 0.00 +0.00 049 +1.00 +0.50+200 +0.99 +3.00 +0.76 +400 1.01 5.00 +1.74 6.00 175 +7.00 +2.00 +8.00 +2 49 +9.00 250 10.00 (b) Calculate the slope of the line. (c) What does the slope of the line represent? Question 2 A...
Question 4-6 Please.
Python 3.6. def main().
entered by a user. Write a program that finds the sum and average of a series of numbers he program should first prompt the user to enter total numbers of numbers are to be summed and averaged. It should then as for input for each of the numbers, add them, and print the total of the numbers and their average 2. Write a progra m that finds the area of a circle. The...
B-F
C. Calculate the y-intercept, slope, and draw a Exercises For each of the problems below: A. Draw a scatterplot. B. Calculate Pearson's regression line on the scatterplot. D. Answer the "Prediction" problem. E. Calculate r and explain what it tells us about the relationship between the variables. F. Calculate the t-ratio for Pearson's r and deter- mine the level of significance. 1. Sociologists have discovered a phenomenon known as "environmental racism," a condition that exists when people of color...