Question: = 1. Write a Matlab function that uses as input, two vectors = (az, Ay, az) and 7 (bx, by, bz). The function should compute

= 1. Write a Matlab function that uses as input, two vectors = (az, Ay, az) and 7 (bx, by, bz). The function should compute the scalar product d=.5, and the cross product, = x by using the definitions of these operations. The function should return both quantities. Test your function with a = [5 1 -3] and b = (1 -3 4]. 2. Write a Matlab code that solves the quadratic equation ax2 + bx+c = 0) for any given values of (a,b,c). If the solutions are complex numbers, the code just need to say "The roots are complex". Otherwise, both roots need to be displayed on the screen. Test your program with (a=1, b=10,c=-39)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
