MaplePrimes Questions

can you help me about multiplication :

when I type a multiplication in Maple 15, Can I skip the multiplication sign between two variable?

for example : instead of type  x*y , could I type xy ?

i want to write a program to simulate a walk of a drunken sailor who walks out of a bar at the centre of a city. the city has a regular pattern of 24\24 square blocks. the sailor doesnt know where he is going and how to exist teh city. the question is how many blocks will he have to walk to exit the city?

let him start at the centre of the city and assume that he exists the city when he reaches either north, east, south or western borders. it can happen that he wlks...

Dear members,

I would like to generate a tree (the simplest "stage tree"that I have in mind is in the attached file) ad to work with it. For that I need to  "replicate" [the stage tree which starts in O (with some value R)] after the nodes x2, y2, z2. The nodes x1, y1, z1 are terminal (with values f(R), g(R), h(R) ).

I found soemthing on the posts on mapleprimes, but it is only bor "binarytrees".

How may I proceed?.

 

I really...

i have a procedure like this 

>f:=x-> A*x^2 - B*x -C:
   Bisection:= proc(f,a,b)
   local c;
   x:=evalf((a+b)/2);
   if abs(evalf(b-a))<=0 then return c; end if;
   if signum(f(c))=signum(f(a)) then
   Bisection(f,c,b);
   else
   Bisection(f,a,c);
   end if;
   end proc;

Given:

f:=proc(a) x->modp(a*x,256); end proc:

Determine for which values of a in Z[256] the functions f(a) are onto.

I know that I need to use evalb to check if the image and coDomain are the same. I just cannot get it to work.

How do you allow negative distances but not negative cycles.  Thanks!

I can get the tangent line by using "Tangent"  Then what about the normal plane

 

Tangent(t->{t, t^2, t^3}, t = 2)

I explain my problem with an example:

 

When I write

sort(3x^3+x^2+x+1);

the answer is

      3    2        
 3 x  + x  + x + 1

 But when I write

sort((x+1)(x+2))

answer is

x(x+2)+1

while I want this form:

   2          
 x  + 2 x + 1

Even when I type only

(x+1)(x+2)

into a blank page, again the answer is 

x(x+2)+1

not 

Hello,

I have a big problem and I don't know how to resolve it.

I have two matrices: A and B. I want to use B[1] as an index of A ,i.e., 

B[1] := [1, 1]; Ok

A[B[1]]; But this does'nt work. 

Thanks for your help...

Hello.

I need to filter a 2D Matrix based on the values in one of its columns.

Let's have a 2D Matrix like this one:

[1, 2]
[-2, 3]
[3, 18]

Now let's suppose we want to remove all rows with a negative number in the first column (second row in our example).

One possible solution would be to iterate over the whole Matrix in a for-loop removing rows one-by-one, but I was hoping for something more elegant (and hopefully faster).

I need to make a procdeure which checks whether a list L is a palindrome or not. Any help would be appreciated.

Dear Sir/Madam:

I have the following simultaneous equations to get the 4 unknow variables
by maple engine. However, the maple did not give me anything. Actually,
the exact solutions exist in the educational text. Now, I am trying to get them
on maple. Why it does not work at all?
Please let me know how to do.

Thanks in advance.

restart;
eq1:=A2*t2*exp(zt*t2*om)*sin(t2*wd)+A3*t3*sin(t3*wd)*exp(zt*t3*om) = 0:
eq2:=A2*t2*exp(zt*t2*om...

I want to extend the Maple CodeGeneration[C] by a handler for the piecewise function (no idea why it is not included).
To this end I did:

    with(CodeGeneration):
    with(LanguageDefinition):
    
    LanguageDefinition:-Define("NewC", extend="C",
        AddFunction("piecewise", anything::numeric,
            proc()

So I want to display a plot containing a spiral and a polygon graph approximating the shape. I use a seq to make the points in pointplot3d and then connect them with the connect option. It looks like this:

y(t):=t-><cos(t),sin(t),t>:
graph := spacecurve(y(t), t = 0 .. 6, thickness = 3, axes = box, color = blue):
poly6 := pointplot3d({seq([cos(t), sin(t), t], t = 0 .. 6, 1)}, connect, axes = box, 
color = red, thickness = 3, caption = {n = 6}):

I installed Maple 16 on Windows 7, 64 bit, french edition, last week. Everything works fine, except that suddenly the Maple 16 icon has been replaced by the anonymous exec file on windows. Tried to restart, but the icon is gone...

Does anyone else get this problem ?

First 1738 1739 1740 1741 1742 1743 1744 Last Page 1740 of 2428