Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

15. if 0 < x < 10 y = 4*x elseif 10 < x < 40 y = 10*x else y = 500 end Cases:

15. if 0 < x < 10 y = 4*x elseif 10 < x < 40 y = 10*x else y = 500 end Cases: a. x = -1 y = ? b. x = 5 y = ? c. x = 30 y = ? d. x = 100 y = ? Write brief scripts to evaluate the following functions. You should test that your script provides the correct results.

18. Given x = [4 1 6] and y = [6 2 7], compute the following arrays a. aij = xiyj b. bij = xi/yj c. ci = xiyi, then add up the elements of c. d. dij = xi/(2 + xi + yj) e. eij = reciprocal of the lesser of xi and yj

19. Find the eigenvalues and associated eigenvectors of the matrix A=[-2 2; 0 -1]

20. Check whether the vectors a = {3; 4; 5}, b = {-3; 0; 5}, c = {4; 4; 4}, d = {3; 4; 0} are linearly independent.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions