Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Check these 3 code lines. a,b are some reals.

s:=a/b

g:=(a,b)->s

g(1,2)

yields a/b

Is it possible to make Maple spit out 1/2, maybe with some default setting command? I still want to keep the function call format g() , so no eval(g(),...)

 

 

 

 

We are a group of students trying to solve this, we can't find a way.

We are given the system of equations

ax + y +z +u =  1
  x  -y  -z +u  = -a
       y +z -au = b
  x- y +bz +u =-2a


For what values ​​of a and

Modify the shortest path problem by rewriting a procedure Path, non-Recursion
 that print out the shortest path from a to e base on the information from
 setShortestDistNode
 input:  destination "e" and setShortestDistNode
 output:  path : a -> b -> d -> e the total cost: 9
hint: copy everything that we did in shortest path problem, and rewriting a procedure Path, with while loop

I'm assuming this means this, but...

I don't understand the error that appears in blue sentence. How can I solve this error? Thank you very much.

Having a little trouble getting Remove to work properly in Maple 12

 

a := "Just try to remove a letter using Maple 12's StringTools[Remove]";
                                     a := "Just try to remove a letter using Maple 12's StringTools[Remove]"
with(StringTools);

Hi,

I was trying to find the generalized eigenvalues for the (3x3) matrix pair (P,G) defined below. (I have left everything in symbols with beta and kappa both of which are strictly positive real numbers). For some reason the command Eigenvalues(P,G) is only returning 2 generalized eigenvalues. Any ideas why it doesn't return 3?

 

Thanks,

Lee

Hi!

I want to write the following textfile in a matrix of the size 4x24:

      1    0.5    0.5      1      1    0.5    0.5      1      1    0.5    0.5      1    0.25    0.25   ...

Hi all,

 

I have a strange problem with the Classic worksheet in maple 15. To explain the problem i added an image.

when i want to plot vergl_6 without copying the equation i get an error. But when i just copy and paste equation 6 like i did everything works like i suspect.

Can anybody tell me the problem? I need to...

Modify the shortest path problem by rewriting a procedure Path, non-Recursion
that print out the shortest path from a to e base on the information from
setShortestDistNode
input: destination "e" and setShortestDistNode
output: path : a -> b -> d -> e the total cost: 9
hint: copy everything that we did in shortest path problem, and rewriting a procedure Path, with while loop
can...
write a procedure to remove all repeating elements from a given list
input: a list with repeating elements, such as [1, 5, 4, 1, 2, 4, 5, 1, 6]
output: a list without repeating elements
note: use list as your only structual datatype, can't convert it to set
hint:  you may use maple function has, no srting needed.
can someone help me on how to write this ? thank you

Dear Maple Users,

I'm beginner in Maple and I will appreciate any help and guidance.

 

I need to integrate function (which values vary in wide range) on the specified domain.

Maple returns Float(undefined) error. Is there any way to overcome this?


the question is in attached Maple file mp_qsn.mw

 

Thank you in advance.

 

While substituting expressions for θ(t),θ'(t),θ''(t) with some rather simple polynoms (see attached demonstration), the result icludes terms such as "·2" or "θ1·" (see terms multiplying ε8 and ε7in result for C1). It seems MAPLE treates the "·" sign as a variable/constant instead of as an operator. What am I doing wrong?

 

Maple Programming Environment (MPE) is the only Eclipse™ based efficient development toolkit to rapidly build standout applications for Maple.

MPE harnesses the flexibility of Eclipse and focuses it into a powerful Maple development engine.

MPE includes multiple productivity-boosting features, which spare you from tedious routine, time loosing and keeping your focus on your ideas.

restart:with(plots):
Nb:=0.5:Nt:=0.5:G:= 2:B:= 2:beta:= .2:Q:=2: alpha:= 2:
de := diff(alpha*f(y), y, y, y, y)+G*(diff(theta(y), y, y))+B*(diff(phi(y), y, y))
+6*beta*(diff(f(y), y, y))*(diff(f(y), y, y, y))^2+3*beta*(diff(f(y), y, y, y, y))*
(diff(f(y), y, y))^2 = 0, diff(theta(y), y, y)+Nb*(diff(theta(y), y))*(diff(phi(y), y))
+Nt*(diff(theta(y), y))^2 = 0, diff(phi(y), y, y)+Nb*(diff(theta(y), y, y))/Nt = 0:
I installed M16 32 Bit on my new machine with Win7 64 Bit.

But the following results in crushing mserver.exe:

  tmp := proc( x :: float ) :: float; 2.3 * x end proc:
  cp:=Compiler:-Compile(tmp);

with system info below.

Do I have to set certain rights for the compiler or define a specific working directory?

The FAQ http://www.maplesoft.com/support/faqs/results.aspx?search=compiler does not help me.

Dito http://www.maplesoft...
First 1549 1550 1551 1552 1553 1554 1555 Last Page 1551 of 2235