Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Branched from huffman coding (excellent example).  The huffman tree was not encoded in the message. The tree was known from the original message but suppose we didn't have the original message.  We need the tree in the compressed message.

How do you include the huffman tree in the message?

Hi. I'm very new to maple, and got stuck on a task on my assignment. I'm supposed to find the area of the segment (gray area) with the diameter D as a function of h. Any help and pointers is appreciated, thanks. :)

 

Circle

Task: Two circles will be placed inside a square of side 20cm (see figure below). The circle diameters can vary, but the total being 20cm. Show that the circles takes less space (at least land) if they are equal.

Every time i open an already saved document and change it then try to save it it comes up with this error:cwmaple.exe has stopped working!!! Why does this happen??

 

 

Please Help

 

Thanks,

I'm trying to use define but get unexpected behavior. Say I want to declare that the map phi is additive. I would try this

define('phi',phi(x::`+`)=map(phi,x));

But if I do phi(x+y) now, I get a warning about an infinite recursion. I get an indication of what the problem is if I define instead

define('phi',phi(x::`+`)=op(x));

Now phi(x+y) produces "x+y" rather than "x,y", so somehow the sum is considered atomic. Can somebody explain this to me?

The following example has been a cornerstone in the computer lab exercises for Calculus II:

a := n -> (-1)^n*arctan(n):
Limit( a(n), n=infinity ):
% = value( % );
/ n \ 1 1 1 1
lim \(-1) arctan(n)/ = - - Pi - - I Pi .. - Pi + - I Pi
n -> infinity 2 2 2 2

Hi, My name is Remon. I am first year student in calculus 1, I want to be a financial engineer, I will study finance and I will do my best to study mathematics as well. I need to learn Calculus with Maple. but I do not really from where should I start? Is there any video training for Calc 1,2, 3 that I can buy to learn ?? If there is any advice to help me out to reach my goals I will be very thanksfull.

In trying to solve for a difference quotient, I've entered the following:

 

Why does the second solution appear in the way I want, but not the first? Is there any way to get the first to display in the same way as the second?

Thanks in advance.

In the name of God

 

I have 2 worksheets open, in my maple16 screen

In one of them I do

save rrK,"ttKazem.m"

and can easily restart and after that read "ttKazem.m" in that worksheet

but in the other worksheet, unfortunately read "ttKazem.m" yields:

Error, Could not open 'ttKazem.m' for reading

 

That's really wonderfull. Any idea?

Hello all

I have a set of differential equations and its numerical solution, for two functions. Here's the worksheet (just a part of it, I don't need the rest)

##########################################

eq1 := diff(W(r), r) = -(1-beta*(W(r)-W0))*(M(r)+4*Pi*r^3*p(r))/(beta*r*(r-2*M(r)));

eq2 := diff(M(r), r) = 4*Pi*r^2*rho(r);

W0 := solve(thetaR = theta0-W0, W0);

r0:=10^(-5);

rf:=10^20;

# ini := evalf({M(r0) = 0, W(r0) = W0});

Hi everybody

my eq is,

eq:=diff(u(x,t),t)+diff(u(x,t),t$3)+diff(u(x,t),x$2)=0

my question is how to calculate  diff(eq,diff(u(x,t),t)) 

maple fsolve function fails to give correct result for the following problem

aa:=evalf(fsolve(sin(xx*a)=0,xx,0..pi));

if i ignore a coefficient, the results will be correct.

Does someone know why?

Does maple have any function without such limitation?

How to include/code/type such type of boundary conditions in maple?

Thanks

 

Hello. I am creating a custom component similar to the one that maplesoft has as an example (the discretized counterflow heat exchanger), but with some diff. The problem is that when i execute dyamic systems i get an error saying:

Error, (in DynamicSystems:-ParseSystemInputs) cannot match the arguments to an appropriate system

Is this a problem on my equation (something that i may have forget) or is another thing? Are the arguments type of dynamic system in the right "type"?

Hello,

1. Is it possible to create a function file in Maple and call the function(file) from the main program(like Matlab?). If yes, please give me an example case.

I want to create a function file which has the general input terms and call the function from another script file without copying/running all the code.

2. Is it possible to run 'recursive function' in maple?

3. How can I create library of my function files?(like in Matlab I can create...

First 1558 1559 1560 1561 1562 1563 1564 Last Page 1560 of 2249