MaplePrimes Questions

Hi, I'm really new to maple and I'm trying to learn how to do few basic things. I have sequential files 1740.tmp, 1741.tmp, .... 1770.tmp. and each file contains 12 float numbers: 0.400 0.324 0.232 . . . 0.342 what I've done so far is the following: L := [seq(i, i = 1740 .. 1770)] filename := cat("/Users/humadih/test/", L, ".tmp") > Y := readdata(filename, 1) and it's giving me this error: Error, (in readdata) expecting a file name or descriptor I can get rid of this error message if I put one file name like: > Y := readdata("/Users/name/test/1741.tmp", 1)

I am trying to solve a problem of liquid-liquid equilibrium based on the gibbs free energy equation:

DGdef := DG/RT = sum(n[i]*ln(phi[i]), i = 1 .. nc)+sum(sum(X[i, j]*n[i]*phi[j], j = i+1 .. nc), i = 1 .. nc)

DGdef1 := subs(n[i] = phi[i]*V/v[i], DGdef)

DG := eval(rhs(DGdef1), nc = 3)

Somebody named Alec have gave me this programme after he modified my old programme.

I am having trouble trying to perform some of the computations listed in the Maple Advanced Engineering Mathematics E-book.  I directly copy and paste the text into my worksheet but Maple does not compute the answer as shown in the e-book.  It simply rewrites what I copied in a different format.  For example I'll write:

simplify(CrossProduct('A' , 'E') ) ;

Instead of computing the answer it just rewrites my input in a differnent way like this:

=CrossProduct((cos(p)-psin(p),-2sin(p)-pcos(p))

Dear Experts,

I want to solve 2 workssheets with NPL Solve with Maple 12.

But how is it done? In worksheet 1 I always get this error. Unless I have solved this worksheet one err I can not continue wrking on worksheet two.

Thnaks for help

Walter

can someone please tell me why maple says that x=root(x^2+1)/x=.5root(2+root(2)) please someone help, or even better that why does arcsin(1/x)=arctan(x)=>x=-root(-2+root(20))/(-1+root(5))???????

Hi,

I want to solve the following inequation: solve( -a + sqrt(a^2 - 4*x) < 0, [x]) assuming a>0

the result from maple is: x < 0, (1/4) a^2 < x

which is wrong!

anybody can tell me why?

Thank you,

CN

Hi, I am defining a matrix this way: m := Matrix(2, 3): But I don't want zero value to be assigned by default to its elements, instead I want to have them as just m[i,j] and not zero. Please tell me how I can do that. Thanx,
Is it possible to print a hyperlink to the worksheet (programatically, not by clicking menu)? In Maple 13 worksheets are errors and warnings displayed as hyperlinks to web.

 

I have designed a Maplet that can load time series data from any selected csv file (data organized in columns) 

and plot such a time series with the help of a Dropdown list. I think such a functionality is something Maple is missing.

I would like to have a simple button in the Maple original meny where you can load such a maplet from.

However , the maplet still have some problems which I was wondering if someone could help me iron out :-)

I have attached the worksheet.

 

Hi, I want to construct a general 3 by 3 matrix, but its form is symmetric. How can I do that? As the result maple must consider a[1,2]=a[2,1] in calculations afterwards. Thank you,



Hello,

I wanted to use the Split command of StringTools package and I realized that it is different from the Split command in Visual Basic.

In VB one can give a third argument to define the maximum numbers of splittings:
For example : in Visual Basic returns the array . , i.e.the function splits the string at the first occurrence of the ":".

It would be useful the improve this command in Maple to have this possibility.

By unexpected, I mean unexpected to me, of course.

The following substitution fails:

> A := y*(f[x]-z)/(f(x)-y);


> subs({(f[x]-z)/(f(x)-y)=lambda},eval(A));

but if I replace the multiplication by an addition, the substitution works:

> B := y+(f[x]-z)/(f(x)-y);
> subs({(f[x]-z)/(f(x)-y)=lambda},eval(B));

Or if I simplify the expression, the substitution also works:

> C := y*(f[x]-z);
> subs({(f[x]-z)=lambda},eval(C));

How come? Is there a way to make the substitution sought into A?

Good Night all:


Anybody could tell me how can I obtain this integral with maple?

int(x^s*exp(-1/2*(x*(1+k)+exp(-x))), x = -infinity .. infinity)

I am trying to solve the following problem numerically

diff(u(t), t) = u(t)^4-u(t)+1

I am getting the following message:

cannot evaluate the solution further right of .41669147e-4, probably a singularity

Appreciating any help

First 2118 2119 2120 2121 2122 2123 2124 Last Page 2120 of 2428