MaplePrimes Questions

Hi,

The eigenvalue command gives me a vector like: [ [5] , [4] , [3] ].

Is there a quick way I could grap the first eigenvalue and make that a function without copying and pasting?

I have the following nonlinear ODE symmetric in the functions A(r) < - > B(r):

eq:= diff(A(r),r)^2/A(r)^2 + diff(A(r),r)*diff(B(r),r)/A(r)/B(r) + diff(B(r),r)^2/B(r)=k;

The task is to solve for A(r) in terms of B(r) and it goes like this: solve the quadratic equation for A'/A in terms of B'/B (or vise versa cause equation is symmetric) and then integrate.

dsolve(eq, A(r));  produces the required solution for A(r) in terms of integral over B and B'.

Hi I used the "search" option of this forum. I have seen old messages about  the continuation of line "#" of fortran77 that is different from the ones in fortran90. I have thousands lines of fortran code created by codegeneration and I can't use "replace all # with &", because # are at the beginning and "&" at the end of the line. It takes a while to substitute all of them by hand every time I generate the fortran subroutine. Do you know if they are going to introduce the continuation of line with & instead #?

thanks

Hello

This works:

zz:= s/sqrt(s) ;

produces sqrt(s);

-------------

but zz2:=s/sqrt(s*m);

produces s/sqrt(s*m)  instead of   sqrt(s/m);

---------------

Also, how do I get sqrt(s) to display as (s)^(1/2) ??

Thanks!

Hi everyone,  I am using dsolve with a stop condition and want to suppress the error message "warning, cannot evaluate the solutin further right of.... stop condition 1 violated#

I believe that _Env_dsolve_nowarnstop:=true  will help, but I can't get it to work.

Any ideas please?  and any general info about environmental variables in general?

Thanks

Judith

 

 

Hi,the following is my confused problem

the effective statements 
   restart;
   with(group):with(StringTools):with(Maplets[Examples]):
   a:=GetInput("Input the moves.");#input: IMIM10IM2IM9IM7IM8IM10
   i:=0:b:=Explode(a):
   M10:=[[2, 12, 7, 4, 11, 6, 10, 8, 9, 5, 3]]:
   M2:=[[2, 5, 8, 6, 4, 12, 3, 9, 10, 11, 7]]:
   M8:=[[2, 4, 10, 5, 12, 11, 8, 3, 7, 6, 9]]:

Guys, really need your help!

I'm carrying out some computations on my recent project. The final aim is to obtain a 2-D Graph. The function depends on an integral with floating limit, which depends on the variable of the graph.

that looks like

plot( FunctionOf(int(F(x,z), x=arccosh(z)...0)), z=1..2)

Hello!

The command coulditbe works incorrectly with abs:

restart;

coulditbe(t,infinity);

                                 true
 It is OK.

 

I'm experimenting with a backtracking procedure to solve the subset-sum problem: given a list L of integers, and an integer N not in L, to see if elements of L can be found which sum to N.  Basically the procedure works recursively, adding elements to the current list until either the sum equals N, in which case we stop with a solution, or the sum exceeds N, in which case we go back one level: 

hi

i use under code for plot

but only vertex has been show

help me

with(plots);

with(stats);

f1:=y-

The Maple11 loglog plot does a poor job in scaling and axis.  The plot works, but, compared to something like the Scilab bode plot, the scaling and axis presentation is poor.

Someone on another forum mentioned an application that improves this.  I searched and found nothing.

Is there an application that improves this?

tomdean

I want to use the STOP_COND option in dsolve when z(t)=0 and t>0.

This is because at t=0 z(t)=0, and I want it to continue until z(t) returns to 0 again.

Any ideas please?

Thomas Exercise 5.6.39 won't integrate on Maple. I tried it using int, simplify, eval, etc. But the answer won't show. The exercise is shown below.

Hi everyone.

I have a very particular situation here: I'm running a series of programs that grab string output from command line Maple as plaintext. For this reason, I don't have the normal Numerical Format dropdowns, etc., available to me for this issue.

First 2195 2196 2197 2198 2199 2200 2201 Last Page 2197 of 2415