asma khan

10 Reputation

One Badge

6 years, 49 days

MaplePrimes Activity


These are replies submitted by asma khan

@Carl Love Ok thank u so much ..

@vv for N*N matrix how we can do it 

@Carl Love thank u sir but kindly can u guide me that with the help of loop how we can generate these two matrices in one matrix for N=5?because i don't want to mention U and W matrices separately for every queation.

@tomleslieThank u but Sir M2 should be below then M1 in form of one matrix that was my question ....according to ur answer these are in form of argumented matrix..

@tomleslie sir how we can Combine two matrices on maple?like given below

@tomleslie exactly that was my question thanx a lot

@tomleslie Sir plz can u help me...How i can generate Pr matrix when P= -x and x0=-1 , x1=-2/3 , x2=-1/3 , and x3=0 with the help loop?means after putting values of x0....x3 in pr=-x we can get  Pr? I have generatred loop but here how i can mention p=-x because for next question p is (1-x) so its necesssary to mention p.

@Carl Love ok got it but here we did't mention that p is -x? because we are putting values of x in p like in other question p is (1-x) so its necessary to mention p 

@mmcdara Plz one thing tell me i want to put x[i],i=0..N inplace of (<-1, -2/3, -1/3, 0>) how it will possible? because i have already define x[i] with help of loop

 

@mmcdara thank u so much for such a detailed answer ....Option 1 is useful for me...

@tomleslie thank u so muchhhh sir

@tomleslie 

getMat:= N-> Matrix
               ( N+1,
                 N+1,
                 (i,j)-> `if`( type(j, odd),
                               `if`( `and`( type(i, odd),
                                            i>=j
                                          ),
                                      phi[ i-1, (i-j)/2 ],
                                      0
                                   ),
                               `if`( `and`( type(i, even),
                                            i>=j
                                          ),
                                      phi[ i-1, (i-j)/2 ],
                                      0
                                   )
                             )
               ):
 

 Z:= getMat(N)^+; 
                 
 

@tomleslie Sir it should be +2 (1st R,3rd column) and +1(2nd R,4th column) how i can do it ?

@tomleslie got it thank u sir 

what about Matrix when values of x are X0 ,x1,x2,x3 ... -1,-2/3,-1/3,0 respectively?     

1 2 Page 1 of 2