MaplePrimes Questions

Hey,

Is there a way of searching a list for two consecutive numbers?

Eg. I have the sequence:

Hi!

I've got this annoying problem and it's quite simple reproducible.

> with(GraphTheory): G := Graph({{a, b}, {b, c}, {c, d}}); Edges(G);

Edges(G) returns me

Error, (in EdgesExt) external library libgraphtheory.so could not be found/used

 

It's the first time I encounter such a problem and have no idea on how to solve it, any advice?

I can see that libgraphtheory.so...

Hi, all. The problem is following. I have an ODE where right hand side is an integral function. For simplicity consider the following example:

 

with(DETools);

f:=q->int(exp(cos(s)), s=0..q);

DEplot({diff(x(t), t) = f(t)}, [x(t)], t = 0 .. 1, [[x(0) = 1]]);

 

this code doesn't work:

Error, (in DEtools/DEplot/CheckDE) extra unknowns found: s

In a related question to this answer (http://www.mapleprimes.com/questions/129140-Surface-Fitting#comment129195). How can we take partial derivatives of the multivariable fitting function (in the example above, the function B(a,b)?
It seems like the package CurveFitting only allows to numerically evaluate the fitted function when we use ArrayInterpolation, but I assume deep in the code there must be an analytic ...

I try to write sqrt(4) so that it will not be calculated to 2. I typed uneval(sqrt(4)) and received sqrt('4'). I do not want quotes surrounded number 4. How can I suppress it? Is there another way to write sqrt(4) without calculation to 2?

Dear experts,

 I want to extract the coefficient of z^k from an infinite series summation (known as probability generating function or characteristic function or Z-transformation) , the co-efficient is actually the probability of the R.V. will take value k.

Next problem in the same question is the summation is not working if I sum from 0 to infinity. It is working from 0 to 300.

I have attached the PDF for expressing the problem and the Maple code. I have used convert...

hi,

I am trying to make a simple model of a combustion. To start i am just calculating the composition of the products for a complete combustion and flame´s adiabatic temperature. The equations used to solve the model are:

equations:

nch4 = nco2;
2 * nar = 2 * nco2 + nh2o + 2 * no2;
7.52 * nar = 2 * nn2;
4 * nch4 = 2 * nh2o;
nch4 * hfch4 + nar(hfo2 + 3.76 * hfn2) = nco2(hfco2 + cpco2(Tad - 25)...

I have written a (rather extensive) module, which I can load without problems if I run it in the following way:

 

restart: libname:="C:\\PathToLib",libname; with(NameOfLib);

 

Note that the above is all in one line and executed at once. If, however, I load the library like above, but line by line, the loading fails, giving the error "Error, Did not recognize this structure's syntax".

How can there be a difference...

In geom3d, how i can subs coordinates of a point M(t+1, t - 2, t+ 3) into equation of a plane (P) has equation x + 2*y -3*z + 1 = 0? Please help me.

I just purchased Maple16 and am working on a problem where I need to solve for variables which are imbedded in non-trivial equations. When I first began using Maple16 to solve for these symolic variables, the solve function worked; however, after about 45 min of using the solve command, on non-trivial equations, it would output nothing and the cursor would move down to the next line. A simple equation such as: f(x)^2-g(x)f(x)=s(x) it will still solve. Has anyone ever experienced...

hi

i have problem to find the x with Romberg's method and ask for your help...

how to find x when the integral is equal to 3

thanks for your helps

Hey,

I'm currently working on sequences and can't figure out how to get all of the terms to work modp, is there an easy way of doing this instead of having to use mod(a,p) on each separate term?

Thanks

Rach

Hi all,

I have to create a Matrix of Matrix 

I have the following

Fm:= 0.01, Rs:=0.0031

W:=Fm/Rs

WM:=(2,2,W,shape=diagonal)

Now I want a matrix which has WM as a Matrix in it diagonally.

is there any command I can use.

The result needs to be like            [WM   0    0]

         ...

I am working over F_p, where p is prime. When p = 2, the number of 2x2x2 arrays (aka hypermatrices or tensors) over this field is 2^(2*2*2) = 256. Of those 256 arrays, I only want the symmetric ones: that is, if x_{ijk} is the ijk-th element of the array X, then x_{ijk} = x_{ikj} = x_{jik} = x_{jki} = x_{kij} = x_{kji}. Is there a quick loop that does this? 

 

Hi, I would like to solve for i and c in this system. But whenever I try to solve it, it give a warning message "the solution may have been lost"

eq:={rho*(psi*i+psi*epsilon*c)*(1-i-phi*((`ϑ`+mu)*(mu+delta)*(1-i-c)-beta*c*(`ϑ`+mu)-xi*i*(mu+delta))/((`ϑ`+mu)*(mu+delta)*(phi+omega+`ε`*psi*i+`ε`*epsilon*psi*c+mu))-c-(tau*`ϑ`*xi*i+beta*c*`ϑ`+beta*c*mu)/((`ϑ`+mu...

First 1706 1707 1708 1709 1710 1711 1712 Last Page 1708 of 2430