Who here knows mathematica?? I tried getting the square of a matrix but all i get is this. In[24]:= B = MatrixPower[A,2] Out[24]= MatrixPower[{{0.85787, 0.18619, 0.785592, 0.954878, 0.616075}, {0.107179, 0.0699923, 0.500129, 0.58611, 0.833044}, {0.733113, 0.757394, 0.0202323, 0.604503, 0.700401}, {0.7707, 0.413424, 0.322793, 0.523565, 0.169472}, {0.948852, 0.254859, 0.626333, 0.335197, 0.985757}},2] Thanks.
In[5]:= MatrixPower[A,2] Out[5]= {{2.65231,1.31954,1.47705,2.10963,2.00297},{1.70825,0.85827,0.840278,1.0318,1.39514},{1.85539,0.633253,1.58895,1.70745,1.88964},{1.50643,0.67656,1.0939,1.50429,1.30108},{2.49415,1.05869,1.61116,1.93995,2.26408}}
Also, you can try, \[A.A\] as a command.
I have taken your matrix A in order to do the operation I have posted before.
well that is your output but for some reason when i hit enter or shift enter it just returns the same function again but with the value of A shown. Thats it. it doesnt provide the actual answer.
it shows exactly what i typed. i want it to have your output. what am i doing wrong?
Join our real-time social learning platform and learn together with your friends!