Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi

I lunch a .mpl maple program in a bash shell.

Between the other things, the program shoud print in a file a line that gives the user informations about the elapsed time

I've put inthe code this line

appendto("./out.txt"):
printf("\n The total elapsed time has been of %d hour(s)  %d minute(s) and %a seconds \n",hou, mini,seci):

the problem is that the out file contains not only the formatted answer, but also the very call:

Hi
I am struggling with GlobalSolve (in Maple 12) and would really appreciate some help.
 
The problem is that a non-optimal solution is being found

Hi,

I have a die and I want to keep rolling it until I get all the 6 numbers on the die at least once.

What could be a possible code?

 

Thanks,

Hi, all,

I want to implement F4 computing Groebner basis in maple. However, when I read the paper described the F4 algorithm, it is terribly difficult to understand that example and I am pretty much sure there are mistakes in that paper.

Do you guys have some advice or documents to let me really get through the F4 algorithm?

 

Many thanks.

gepo

I am solving a PDE coupled with an ODE, as following:

pde1:=diff(RR(tau), tau) = dRdt                                                                               (1)

Hi I'm trying to do something that looks very simple, but I don't find a simple way to do it. In my program I've a procedure which pass to another procedure a variable that can in one of these form: 1) A:= 5*f^a * ln(f) 2) A:= 5*ln(f with "a" real (his value change and I don't know it in advance) and a real coeff (5 in this exemple) The next procedure, that use this variable should be capable to understand if f^a is present with a<>0 or with a=0 (ie not present), and should make different choices in the two cases. I don't know how to make this test. I've tried

Q1) Why doesn't this subthread show up when putting MPFR in the Mapleprimes Search?

Q2) How does Maple make use of these?

> # on a system with `ls`
> system(cat("ls ","bin*/*mpfr*"));
bin.APPLE_UNIVERSAL_OSX/libmmpfr.dylib
bin.APPLE_UNIVERSAL_OSX/libmpfr.1.0.0.dylib
bin.IBM_INTEL_LINUX/libmpfr.so.1
bin.IBM_INTEL_LINUX/libmpfr.so.1.0.0
bin.SUN_SPARC_SOLARIS/libmpfr...

I have to generate a set of antihermitian matrices and the entries the non-zero entries have to be randomly generated. i can generate one antihermitian matrix. but now i want to generate many of them and store them in an array.

my code is:

Hello I need to find the eigen vectors for eight solutions of an eighth order equation in the parameter 'm' .

This is simple, however I have a 'do' command that generates 2 of these equations, with two values of lambda which you can see in the attached file

View 11295_TEST3.mw on MapleNet or Download 11295_TEST3.mw
View file details

Would You help me? How to export results (numeric data) from Maple to program Origin after solving system of ordinary differential equations by odeplot– function?

Hello, I've already posted a similar Problem, but didn't get any answers. Now I think I got the solution, but now there pops up another problem.

I try to run the openMaple sample java code from the samples folder in Maple. I'm running Windows 7 with Maple 13.

When I run test.java, a Popup appears with:

"Error launching OpenMaple splash screen"

with an OK button.

After this, a Popup appears with

"Fatal Error, unable to open C:\Program Files\ Maple 13\bin.win\libgmp-3.dll. This library is required for Maple to run."

hi, i need help with some maple code.

i want to evaluate a function at a number of points from a set (i have done this using a loop), and then sort the resulting values in a set (done with the inbuilt sort function), and finally convert the sorted results back to their original values so i can establish which values give the highest and lowest function values.

if i use the solve function, i get more than one solution for each function value, but i only want the specific original value which led to that function value.

i hope this makes sense, thanks for any help!

The first question: Is it possible in a procedure to combine datatypes ie

zz:=proc( X:: Matrix(datatype = [integer[2], float[8], float[8] ] ))

The second question :  If we assume that q is a floating number is convert( q, rational)  the
best way to convert a float to a integer ?

I have a simple loop and a couple of questions

a:=1:
n:=30:
for i from 1 to n do
   a := nextprime(a),i:
od;

Why didn't the colon supress the output?  And how do I get the output in the form i,a ?  I tried what I thought might have worked i,a:=nextprime(a):

I found in the Advanced Engineering Mathematics we have the statement: qq3 := map(int,qq2,x)+(0=a); 1 - ln(2 y(x) + 1) = ln(x) + a 2 which integrates the expression qq2 and then adds a constant. What does (0=a) mean and why does it differ from just adding a? Whenever I try and use it I get this: > int1 := (2*x^2+4)*sin(x): > ans1b := map(int, int1, x)+(0 = c); -(2/3*x^3 + 4 x)*cos(x) = c - (2/3*x^3 + 4 x)* cos(x)
First 1847 1848 1849 1850 1851 1852 1853 Last Page 1849 of 2219