MaplePrimes Commons General Technical Discussions

The primary forum for technical discussions.
Hi, I imported some data from a csv file, and it's a big 2x1000 matrix, and it's assigned to a variable A, if I input A[1,1], it can't show the correct content in the matrix. On the contrary, if I input a matrix by hand, say a 3x3 matrix,and assign it to B, then I input B[2,1], I can get the correct number in the matrix B. Can anyone show me what's wrong? Also, how can take out one column or one row in a matrix and do calculations in the future? (say assign them to seperate variables and calculate and plot....) Thanks, Vic

One for the Maple bugkeepers. There seems to be a problem with DEtools[initialdata] -- in some circumstances the output initial data is wrong -- missing "D" operators. For instance, suppose one has a PDE system with dependent variables u(x), v(x,y). Then initialdata works. But if the PDE has dependent variabls u(x), v(y,x) then initialdata returns incorrect results.

To any maplet expert: The following maple code works and want to upgrade it using Maplet[Element](action(function=)) p1:=plot([[0,0],[15,0],[24.50,9.69],[0,0]],filled=true); t1:=textplot([0,0,"Angle A"],align=BELOW); t2:=textplot([15,0,"Angle C"],align=BELOW); t3:=textplot([24.50,9.69,"Angle B"],align=ABOVE); display({p1,t1,t2,t3}); However, I am having difficulty translating the above maple code into maplet using maplet[element](function=__). Or is this even possible? Thank you for what ever assistance you may provide. pv
I used to be able to do this copy/paste ... Here, I got an integral, then copied the output and pasted onto the next line. I wanted Maple input format, of course. Is it a change for Maple 10.03? for Mac? Or what? Have I got some setting wrong?
Dear colleagues: I am interested on taking some data from serial Port (Com 1) to process them with Maple. Can you give me some suggestion, library or anything that could help me? Greetings Somos4maple
I've been using Maple 9.5 on my mac for a while with no problems. Then last week my delete key stopped working. I can still highlight and delete but I can't delete straight text. Does anyone know what's going on with my Maple? Thanks!
If I attempt to evaluate the integral int(exp(I*z*cos(x)),x=0..Pi), I should get a Bessel Function, in fact J_0(x). But Maple does not do this, the way I use it. How does make maple10 recognize such integrlas?
To my fellow maple user: I wanted to label critical point/s in plotted curve. For example: plot y=x^2 + 5. P(0,5)is the vertex. I like to label this point as "Vertex" on the plot itself. Thanks in advance for any assistance. pv
Hello, I was hoping someone could suggest a way to add a index counter to the title of a Maple plot. I have some snapshots of an animation that I wish to include the value of the for loop/index counter in the title. Does anyone have any suggestions? I am using Maple 10. Thanks very much for any help, sbh.
I would like to solve the following problem as stated below:

> ode3:=J=diff(E(x),x)*E(x)-diff((diff(E(x),x)),x);


> dsolve(ode3);



> odeplot(dsolve({ode3,D(E)(0)=2,D(E)(1)=2000},numeric,range=0..1),refine=1);

Error, (in dsolve/numeric/BVPSolve) initial Newton iteration is not converging

I have taken "J=2" doesn't matter too much for now. As you will see from the second command Maple can find an analytical solution to the problem. From my trials it seems that the initial condition D(E)(1)=2000 makes the problem, smaller values are ok. I have tried "Digits:=100" but this didn't help me. In the end it would be nice to go to larger (about 7 orders of magnitude) values for D(E)(1) in comparison to D(E)(0). Can you help me find a way to solve this problem?
To anyone: Please provide the syntax on how to substitute without maple evaluating the expression. For example if I have an expression x^2+2x+5. I want to substitute to the expression x=2. I want simply to see 2^2+2*2+5 without Maple evaluating the result preferably in maplet form. Thanks PV
Hello.

Can anybody explain me please this error? Thanx :-)

Error, cannot determine if this expression is true or false:

-2.500000000*exp(0.) <= -1.675000000


Program:

> restart:
> with(linalg):
> with(plots):
> with(DEtools):
> with(inttrans):
# Warning, the protected names norm and trace have been redefined and
# unprotected
# Warning, the name changecoords has been redefined
# Warning, the previous binding of the name adjoint has been removed
# and it now has an assigned value
# Warning, the previous binding of the name hilbert has been removed
# and it now has an assigned value

Here's a frustrating problem I've been having with "assume".
You'll see below that I assume that v'(m) >0 and v''(m) <>
Maple clearly remembers that v'(m) > 0 (as seen in the assumptions list and by looking at the first "is" in (4)), however, it now can't figure out that v'(m) > 0 implies !(v'(m) <>
Strangely, this worked perfectly fine before the additional assumption was added, and looking up the property (6) reveals the correct answer.
Moreover, maple seems to have two sets of assumptions on v'(m) (for six total assumptions, when I would expect four).

Any maple geniuses have an idea as to why Maple's "is" function is confused?

Implement a computer program which, for a given lower triangular matrix A with the diagonal entries different from zero,finds the matrix inverse to A by solving the equations Axj= ej for j=1,...,n by the " forward substitution"
Implement a compter program which decides whether a given matrix A e Mn is symmetric positive definite.
First 69 70 71 72 73 74 75 Last Page 71 of 79