Starting from:

$24.99

UCS538 Assignment 3 Solution



1. Create an array A with elements (12, 13, 14, 15, 16) and display them.
2. Find the sum of all the elements of A.
3. Find the product of all the element of A.
4. Find the maximum and minimum element of A.
5. Find the range of array A.
6. Find the mean, variance, standard deviation and median of value of A.
7. Sort the element of A both in increasing and decreasing order and store them in B and C.
8. Create a matrix of 3x4 to have the set of natural numbers.
9. Create MxN matrix by combining A, B and C row-wise (RW) and column-wise(CW).
10. Find the 2 and 3 row element of RW.
11. Find the 1 and 4 column of CW.
12. Using both RW and CW find sub-matrices having elements [2, 3] and [2, 4].

More products