Maple 16 Questions and Posts Maple 16 Questions and Posts Feed

These are Posts and Questions associated with the product, Maple 16

Here is a relation: t[n+1]:=((a*n^2+a*n+b)*t[n]+c*(n^2)*t[n-1])/(n+1)^2

t[-1]:=0 and t[0]:=1

a,b,c are integers and a,b,c are from 1 to 20 and n is from 0 to 20

the series t[n+1] is integer

 

I want to know how to list (a,b,c) that satisfies the above. Please help!

 

 

 

Why is there a difference between pdetest and algsubs for a PDE?
Shouldn't pdetest work the same as algsubs for the example below?

restart: with(PDEtools):

Eq:=u(x,t)*diff(u(x,t),t)=0:

tmp:=sin(w*(c*t-x))-(1/4)*epsilon*c^2*cos(w*(c*t+x))^2+epsilon*c^3*w*cos(w*(c*t-x))*sin(w*(c*t-x))*t+(1/4)*epsilon*c^2*cos(w*(c*t-x))^2+(1/8)*c^4*epsilon^2*sin(w*c*t+w*x)+(1/8)*c^4*epsilon^2*sin(w*c*t+w*x)+(1/24)*c^4*epsilon^2*sin(3*w*c*t+3*w*x):

sol:=u(x,t)=tmp:

I am attempting to apply some routine tests to determine the convergence of series with positive terms. I have run into a little difficulty with the root test. I am using surd( ) as shown below, but Maple will not give the exact value, which in my example, should be exp(6). Why is this happening and is there a way to get the root test to work?

Thanks!

 

I tried to use the parallelized Map function in Maple 16.

The following code worked as expected:

with(Threads);
Map(`^`,[1,2],2);

But then I tried:
Map(`op`,[[a,b]]);

and the Maple kernel crashed. This happens every time.

Any ideas what can be a reason of this?

I have a large sheet containing about three proc(). Four symbolic matrices of though small order but with complex values are being imported. There are also some other statements other than mentioned above. I have writing them in text mode.

What could be the possible reasons for connnection lost with maple though I have 4 GB of ram.

 

Thankyou!!!

Hi all,

I have 3 numerical methods s1, s2 and s3 for solving the linear system Ax=b ,

and I have the maple script (program) for each one of the methods. BUT I want to collect all of them in one program only such that the user(person) can select (choose) one of them,

How can I do this?

Thanks

Hi Guys. I´ve got a problem with the mod (mods,modp) function of maple.

I want to calculate the following congruences:

mod(4,-5) = -1 BUT maple returns 4

mod(-3,-4)=-3 but maple returns 1

and so on....

 

Does anybody of you know how to fix this? thanks!

Let say that you have two datasets:

restart:
with(MyFinance):
z1 := GetCSV("http://www.quandl.com/api/v1/datasets/USER_18Q/18R.csv?&auth_token=BXckVSG3twWkV272c9Q4&trim_start=1968-04-01&trim_end=2013-04-12&collapse=daily&transformation=rdiff&sort_order=desc");
z2 := GetCSV("http://www.quandl.com/api/v1/datasets/USER_18Q/1EV.csv?&auth_token=BXckVSG3twWkV272c9Q4&trim_start=1994-01-03&trim_end=2013-04-12&collapse=daily&...

When I solve a systems of equations, fsolve gives the solution

{ x = 5, y= 6, z = 1}.

I now want want to define the variables x, y and z as respectively 5, 6 and 1 - but without copying the solution. Because this is a solution that I get in a loop, so it changes in every step. Maybe there is a easy way to put it in a vector?

I'm trying to separate a string of text, say "Iamreallybadatthistypeofstuff", into "Iamre allyb adatt histy peofs tuff".  I'm not really sure how, though.  I was told you're supposed to use printf, but I'm a little unsure of how to use it.

Thanks.

Maple is saying 'Error, Vector index out of range'. Can you see how maple executes all steps, so I can see where exactly the problem is?

I want to solve the system A - B = C to A, with A, B, C matrices and the variables in the matrix C are a combination of the variables in A. How do I do this?

Hi when i'm trying to solve, i get the following warning: Warning, solutions may have been lost.

 

The equations i'm trying to solve are the following:

 

> P := 21000;

> v := 10/(60*1000);

> r := 983;

> Cp := 4181;

> Tl := 40;

> K1 := 124.27;

> K2 := 102.03;

> K3 := 7.23;

> K4 := 2.947;


> eqn1 := P = v*Cp*r*(Tf-Tr);

www.quandl.com...

April 08 2013 marc005 3048 Maple 16

quandl (http://www.quandl.com/) has a great feature called superset (you need a free acount)
where the user can combine different data variables (4 000 000 to choice from) into a big
dataset (csv file) that can be downloaded from a permenant web url. This a great data feed
for maple. The problem is however that you have to use stringtools (quite messy) in maple to
extract the data. Hence, it would be great to have a simple procedure that only needs the web

Why does this not work?

restart:
with(Statistics):

P := Sample(RandomVariable(Normal(10, 10)), 500):
X := RandomVariable(EmpiricalDistribution(P)):

DensityPlot(X);

First 12 13 14 15 16 17 18 Last Page 14 of 36