Question: 1. Write a Scilab program that solves the following system of linear equations: 4x 2y - 3z = 5 -8x y +z= -5 2x +

 1. Write a Scilab program that solves the following system of

1. Write a Scilab program that solves the following system of linear equations: 4x 2y - 3z = 5 -8x y +z= -5 2x + y + 2z = 5 ZE Display a message that "x = , y = 2. Write a Scilab program that solves the following system of linear equations: x2 = x3 = X4 = , X5 = x6 = Display a message that "x1 = X7= 3. Create a vector x1 = [1,2] and x2 = (-2, 1). Show that these two vectors are orthogonal. Hint: To show two vectors are orthogonal, you need to show that the dot product between these two vectors is zero. Display the result of the dot product on the consol. Plot the two vectors with the same beginning as the origin (0,0). Linewidth=5, add x-label, y-label, title, and legend. Plot the x1 with red and x2 with blue. Turn on the grid. 4. Create a vector y1 = [1,2,3], y2 = (-2,1,-2). Create a vector y3 which is the cross product between the vector y1 and y2. Show that the y3 vector is orthogonal with y1 and y2. Use the unit in the previous question. Display a message on the console that The dot product between y1 and y3 is and the dot product between y2 and y3 is 5. Using the zeros, ones and eye matrix only to create the following special matrices: A1 TO 0 1 1 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 1 0 LO 1 1 0 0 0 1 A2 = ro -1 3 3 3 -1 0 3 3 3 2 2 -1 0 0 2 2 0 -1 0 2 2 0 0 -1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!