Professional Documents
Culture Documents
Suppose Vectors A and B Is Described As Follows:: Computer Simulation Quiz
Suppose Vectors A and B Is Described As Follows:: Computer Simulation Quiz
a = [2 1 5 0]; 4];
b = [3 2 1
c c c c c c c c c
= = = = = = = = =
and 75.
b. Let
b1. Add the sum of the elements in x to y b2. Raise each element of x to the power specified by the corresponding element in y. b3. Divide each element of y by the corresponding element in x b4. Multiply each element in x by the corresponding element in y, calling the result z.
COLLEGE OF ENGINEERING & TECHNICAL DEPARTMENT Manuel S. Enverga University Foundation University Site, Brgy. Ibabang Dupay, Lucena City, Philippines; Telephone No. (042) 710-3151
b5. Add up the elements in z and assign the result to a variable called w.
COLLEGE OF ENGINEERING & TECHNICAL DEPARTMENT Manuel S. Enverga University Foundation University Site, Brgy. Ibabang Dupay, Lucena City, Philippines; Telephone No. (042) 710-3151