MaplePrimes Questions

Hi

I have this sequence which I would like to find an equation f(n) (using RSolve?).

the independant variable is n.

n=4,5,6....inf (incrementing by 1)

f(n)=2,3,3,3,4,5,5,5,6,7,7,7,8,9,9,9,10,11,11,11,12...etc

(an even number followed by three subsequent odds and so forth)

thanks!

 

y = g/(1+exp(-a-i*c))+h/(1+exp(-b-i*d))

I cannot solve this for i. When I use maple I get a big result with a RootOf function that I don't know how to handle. I've looked around and I cannot find anything that will help me.

 

Can someone please show me how to solve this?

 

Thanks!

I created a small procedure to select a random number from a list. 

pickrand:=proc(num,list)
local a,b,i:
randomize():
a:=nops(list):
for i from 1 to num do
  b||i:=rand(1..a)():
end do:
seq(list[b||i],i=1..num);
end proc:

a:=[3,6,7,8,3,6,5,7,8,9,1,2,3,4]:

pickrand(3,a);

          [8,8,5]

Now it's possible that the two 8's are in two different positions of...

I can't seem to find anything on cluster anlaysis (kmean etc...) in Maple's help.  I thought graph theory might contain something close but not really.  I haven't tried but I suppose it shouldn't be too hard to create a few procedures for such things?  Can someone provide a few examples?

Of the 3 M's Maple seems to have left this one out?

Hi all,

 

I was wondering if their is a way to import c++ output to maple 12 as I need to plot my output.

If yes, I will appreciate if someone can guide me through the steps.

 

Thanks 

do u have any manual procedure , may be in vedic mathematics, to check out if  large number like 600851475143 is a prime???? also to find out the posssible factors for that number....

Hello.

 

I have a problem with creating eigenvalues of a 14x14 matrix.

when i execute "LinearAlgebra[Eigenvalues](A)" there are only results like "-3.2211+29.1111I"


The problem is the 'I' at the end. I need numeric values for plotting or stuff like that.

Wheres my mistake? I have no clue.

Im looking forward to any suggestions! At the bottom...

I tried to skip some iterations of a do loop, by using the following code:

for i from 1 to 19 do
if i=8 or i=16 then
  next
end if:

...

 

Unfortunately Maple just accounts for the i=8 but not for the second condition i=16.

How may I specify more than one condiions in an if statement?

I´d like to compute some sums where x ranges to infinity.

How may I compute that in Maple?

 

sum(ln(x)/((x)^(2)+3*x+2.),x=1..infinity):


didn´t work.

 

add(ln(x)/((x)^(2)+3*x+2.),x=1..10000):

 

is possible and though I know the limit of the expression

limit(ln(x)/((x)^(2)+3*x+2),x=infinity) is known and zero, I have no idea of how to compute the sum to infinity from the first place.

When I execute a do loop and an invalid output shows up, Maple breaks the loop.

Is there a way to tell Maple to show me, where the error occured, but nonetheless execute the loop to the very end?

Hi, sorry if the question is stupid =)

On my slow machine only two iterations (consisting of 200 iterations) are possible without restart. So, to be able to leave evaluation for the night, I would like to restart server inside the loops.

But if I do so, will the values of a, m and n (see below) be lost?

So the question is - how can I restart maple server after this loop [for i to iter do

Hello everyone,

 

I want to create a loop in descending order like this: for i from 100 by -0.01 to 0 do ....

I wrote functions trying this logical solution but nothing, please help, it's very important to me to get the answer as soon as possible.

Thanks in advance!

Steve

I defined a procedure with two arguments.

The first one called Options is a list of lists (but no listlist), the second called Paratemers is a list of intergers.
Anyway both lists have the same number of elements and the ith element of Options is connected to its ith counterpart in Parameters.

One part within that procedure looks for an element in Parameters, that has a value of -1.

If that is the case, its counterpart in Options which will then be...

I´d like to use the remove command, to select elements of a list.

E.g.

L:=[1,2,3,4,5,6,7,3,9];

L1:=remove('boolean function',L);

Where can I get an overwiew of all boolean functions, i.e. commands, that output true, false or fail?

E.g. I wanted to simply say

L1:=remove(<>3,L);

which should just leave all "3" values in L1, but that didn´t work. So I needed to define a boolean function to say "if element...

E.g. I have three lists:

L1:=[1,2,3];

K1:=[4,5,6,7,8];

K2:=[7,8,9,10,11];

and if needed I have a fourth list

ALL:=[L1,K1,K2];

 

Now I´d like to add 99 to all lists whose name contains a 1 and add a 999 to all lists whose name contains a K.

The problem is, when I refer to the elements of ALL, Maple "thinks" I refer to the list. But how do I tell Maple,

that I want to refer to the lists´ name instead of the list itself ...

First 1991 1992 1993 1994 1995 1996 1997 Last Page 1993 of 2434