Friday, March 25, 2022

Multiplication of two 3 x 3 matrices using Scilab (Advanced Mathematical Physics, B.Sc. CBCS)

Scilab based simulations experiments based on 

Mathematical Physics problems




1. Linear algebra:

  • Multiplication of two 3 x 3 matrices


Source code:


//Lab exp 01

//Define the matrices at first


a=[1 2 3;4 5 6;7 8 9];

b=[2 3 1;5 3 2;4 1 4];

disp(a,"Matrix a is =>")

disp(b,"Matrix b is =>")

disp(a*b,"Product of a and b is =>")

c=[0 8*(%i) 1;2 5 2*(%i);7 1*(%i) 5];

disp(c,"Matrix c is =>")

d=[2 -6 3*(%i) ;%i 2 7;-2*%i 3 -1];

disp(d,"Matrix d is => ")

disp(c*d,"Product of c and d is =>")

FORTRAN Program: Centigrade to Fahrenheit conversion and vice-versa

 c Centigrade to Fahrenheit conversion and vice-versa c Designed by anonymous. real c,f 33 write(*,*)'Please select the conversi...

Popular Posts