Hamid_Chohan

30 Reputation

6 Badges

7 years, 92 days

MaplePrimes Activity


These are questions asked by Hamid_Chohan

Please tell me how to calculate the derivative of a matrix function?

Dear Friends!
I want to generate a system of the equation from the matrices! please help me in this regard! Thanks!

Dear Colleagues!
I want to define a tridiagonal matrix and the entries should have the following form. Please help me in this regard.

Dear Friends

Do I want to know how to merge these two loops in one? how to apply if-else loop? help me in this regard. the source file is attached. Thank you! 

restart; M := 5;
for i1 while i1 <= M do N[i1, 0](u) = 1 end do;
                         N[1, 0](u) = 1
                         N[2, 0](u) = 1
                         N[3, 0](u) = 1
                         N[4, 0](u) = 1
                         N[5, 0](u) = 1
for k1 while k1 <= M do N[0, k1](u) = 0 end do;
                         N[0, 1](u) = 0
                         N[0, 2](u) = 0
                         N[0, 3](u) = 0
                         N[0, 4](u) = 0
                         N[0, 5](u) = 0

 

1 2 Page 2 of 2