Coding Basics
1.A is row matrix of the given elements.
A = 1 2 3 4 5
2.B is a column matrix of the given elements.
B=
1
2
3
4
5
3.C is a product of A and Transpose of B,which is not possible according to the rules of matrix multiplication.
4.C is the product of B and A
C= 1 2 3 4 5
2 4 6 8 10
3 6 9 12 15
4 8 12 16 20
5 10 15 20 25
5.List all values of A starting from 1 till end
1 2 3 4 5
6. List all values of A from 1 to 2
1 2
7.List 3 values of B between 1 and 2,which in this case has only two so no output.
8.Number of elements in B-2
Ans=3