Prob 1 2. Let x = [2 5 1 6]. a. Add 16 to each element b. Add 3 to just the odd-
ID: 3543091 • Letter: P
Question
Prob 1
2. Let x = [2 5 1 6].
a. Add 16 to each element
b. Add 3 to just the odd-index elements
c. Compute the square root of each element
d. Compute the square of each element
Prob 2:
Write down the MATLAB expression.(s) that will compute the length of the third side (Z) of a triangle given the
lengths of the other two sides, given the cosine rule
Z^2 = x^2 + y^2 - 2(x)(y)cos(m)
where m is the included angle between the given sides. m= 30 degree, x= 4m, y = 5m
Explanation / Answer
Ans 1:
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.