Maria2212

25 Reputation

3 Badges

3 years, 267 days

MaplePrimes Activity


These are replies submitted by Maria2212

@tomleslie 
I see. The order cannot be controlled. Thank you very much!

@acer 
 

Can I go into more detail, please?

assume I put in order to get a solution of the form:

_C1*sin(sqrt(-lambda)*v)+_C2*cos(sqrt(-lambda)*v)

linalg require the university, Digits to change the value to a larger one? % will be removed

Will it work after that?

@tomleslie 

Unfortunately, the version is only like this, the university only gives this))

@tomleslie 

Could you help some more?
Your program works fine, I just need to substitute the resulting lambda in the equation, but again there is a problem with the loop (the sum is also not considered). What is the problem? Maple doesn't see the lambda?

As soon as I touch the code it stops working))

NULL

restart; with(linalg); t := 2

2

(1)

S := proc (a, b, z) local L, y, s1, s2, sist, chl, lambda1, q, ef; interface(showassumed = 0); L := diff(y(x), x, x) = lambda*y(x); assume(lambda < 0); dsolve(L, y(x)); y := unapply(rhs(%), x); s1 := y(a) = 0; s2 := y(b) = 0; sist := {s1, s2}; genmatrix(sist, {_C1, _C2}); det(%); chl := combine(%); _EnvAllSolutions := true; solve(chl); sort(%); lambda1 := subs(indets(%, name)[] = k, %); lambda1 := unapply(%, k); lambda1(z); y(x); isolate(s1, _C2); subs(%, lambda = lambda1(z), y(x)); simplify(combine(%)); select(has, %, x); ef := unapply(%, x) end proc

``

``

wl := interface(warnlevel = 0)

sum(S(0, Pi, i), i = 1 .. 3)

3*summand

(2)

``

wl := interface(warnlevel = 0); S(0, Pi, 3); interface(warnlevel = wl)

proc (x) options operator, arrow; sin((-lambda)^(1/2)*x) end proc

(3)

wl := interface(warnlevel = 0); S(0, Pi, 3); for i to t do S(0, Pi, i) end do; interface(warnlevel = wl)

proc (x) options operator, arrow; sin((-lambda)^(1/2)*x) end proc

 

proc (x) options operator, arrow; sin((-lambda)^(1/2)*x) end proc

 

proc (x) options operator, arrow; sin((-lambda)^(1/2)*x) end proc

(4)


 

Download help1.mw
 

@tomleslie 

Thank you very much
I am a student, still studying at the university.
I use linalg, because that's what they taught me at the university
I've been studying Maple recently, so I make stupid mistakes

Thank you again, you are very smart!!))

Page 1 of 1