serena88

110 Reputation

7 Badges

13 years, 188 days

MaplePrimes Activity


These are questions asked by serena88

Hi,

I'm trying to creat u which is a function of ξ. but I do not have the full definition of u yet. how can i write it in a way where when i differentiate it, it'll give me something like u(ξ),ξ? And that i can differentiate it once more with ξ and it gives me u(ξ),ξξ and so on?

please advice. Thanks.

Hi, these are what I have, I'm trying tot get a set of answers.

elenum:=16:

nodes:=elenum*2+1:

L:=evalf((Pi*2)/(elenum*2)):

interface(rtablesize=infinity):

E0:=Matrix([[L/3,2*L/3,L/3)],[(2*L/3,11*L/15,2*L/3)],[(L/11,2*L/3,L/110]]):

for i from 1 to elenum do
node:=(2*(i-1))+1;
E0M[node..node+2,node..node+2]:=E0M[node..node+2,node..node+2]+E0
end do:

E0M:

What should I do if i want a different outcome of...

Hi, someone insert a .mw file in the mapleprimes answer, but i could not open it. May I know how do i open the worksheet please? It does not show when i click on it. I tried "save target as" it didn't work as well. Please help. Many thanks, Serena Lim

Hi, I have a J(5x5 diagonal matrix), I have M(5x5 matrix). Let i be my rows and j be my columns. I'm trying to calculate [A]ij = ([M]ij)/(JJi-JJj-2)

I cant think of a proper way to do it. Please help.

M:=Matrix([[2,5,7,9,8],[8,5,2,6,8],[5,4,5,5,7],[1,4,9,6,6]])

J:=Vector([3,5,4,9,6])

JJ:=DiagonalMatrix(J)

A11=2/(3-3-2), A12

Hi. I have nodes:=7

How do i write a matrix with my first set of nodes = -1 and a second set as 1, in a diagonal form? Sort of like a identity matrix but not quite.

What I did was to write J:=Matrix([[-1,-1,-1,-1,-1,-1,-1,1,1,1,1,1,1,1]])    ####my vector will have 2 times the number of my nodes.

Then DiagonalMatrix(J)

But I then want to change my number of nodes. Could you please advice if there's a smarter way to do this please?

First 11 12 13 14 15 16 17 Page 13 of 17