Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hello, this is probably a silly question but i am new to maple. I am constructing a loop but it does not accept complex numbers, for example:

 

for x from 1+I to 1+7I do;

x+I;

end do;

 

this is just a simple example, is there a way to do it like this or do i have to do something else?

 

Thank you very much

 

hi all,

swapping variables in the export line of a module changes its behavior.

First Example (works fine):

restart;
mp:= module() option package;
export mult, f2;
mult:=proc(v) return(3*v) end proc;
f2 :=proc(v) mult(v); end proc;
end module;

savelibname:="E:\\tmp";
savelib('mp');

restart;
libname := libname, "E:\\tmp";

with(mp);
mp:-f2(5);
mp:-mult(4);

# Output: [f2,mult], 15, 12

Hi all.

I was trying to perform a simple integration and convert the answer to a inverse hyperbolic function as follows:

int(9/sqrt(81*x^2-4),x);

simplify(%);

convert(%,arctrigh);

But the command convert fails to do the conversion. I should obtain arcosh(9/2*x)+c.   But the answer is in terms of the natural logarithm: ln(9*x+sqrt(81*x^2-4))

How do I manipulate the answer so that I can get the inverse hyperbolic answer?

Hi

In matlab we have this command:

I = FIND(X) returns the linear indices corresponding to the nonzero entries of the array X.

[I,J,V] = FIND(X) also returns a vector V containing the values that correspond to the row and column indices I and J.

Is there a command in Maple like "find" in Matlab

Thanks in advance

Hi,

I'd like to display a UNsimplified mathematical expression in a Mathcontainer component using a Button component. In Maple Help under Mathcontainer, it is writing that we can display a unsimplified expression using the value attribut. For example:

Do(%Mathcontainer0(value) = a^2*b/a);

should display the unsimplified expression in the Mathcontainer0 component. And

 Do(%Mathcontainer0(expression) = a^2*b/a);

In a Button, this command enables us to display in a Mathcontainer a Delta  (Delta). 

D(%Mathcontainer0 = 'Delta');

However, I want to display Delta y. (Delta y). If I write

D(%Mathcontainer0 = 'Delta y');

Hi everybody,

I am using Maple 14 in document mode. Recently I encountered the problem with exporting polish special characters (like ąęćłóńśźż) into PDF file. Maple 14 just omits them. Why?

A new edition of The Mathematics Survival Kit – Maple Edition is now available.  It contains 25 new topics, which were created in response to requests from readers of the first edition of the book. New materials range from basic operations such as factoring and fractions, to graph sketching, vectors, and integration.

The Math Survival Kit gives students the opportunity to review exactly the concept or technique they are stuck on, learn what they need to know,...

I use Maple in high school. My students deliver their homework created in Maple. Often this involves solving a number of exercises, say 7. Not all students are completely aware of how the Maple Engine works, so I tell them to put in restarts from time to time, at least when a new exercise begins. This prevents misunderstandings and loss of time which might else happen when calculations in one exercise interferes with calculations in the next exercise. One simple example...

This guy Giorges is using Python and wget inorder to do parrallel downloading
and he is arguing that it is very fast.

http://keramida.wordpress.com/2010/01/19/parallel-downloads-with-python-and-gnu-wget/


Now my questions become

1) Does there exist a simple way that I can use wget without installing it ?
I dont want to bother users of my Maple application with installing a 3:rd party software.
A simple file in a specific location would be ok though

How can I display 2 followed by 1 single animation?

ie

a:=animate(...)
b:=animate(...)
c:=animate(...)

I can animate all 3 in sequence with display((a,b,c),insequence=true)  or I can animate them all at once.  But how can I animate two at once followed by the 3rd animation?

I tried

h:=display(a,b)
g:=display(c)

gg:=dispaly((h,g),insequence=true)    Which I thought might have worked however that produces multiple frames.

Whilst I am glad that Maple have finally fixed their pdf and eps plot output with version 13 (corrupted on the Mac since version 10), I would like to re-ask the question asked by peterschmid 4 in 2006: how can I control the output size of the plot?  The plotsetup options axiswidth, axisheight, width, height, appear to have no effect.

Please note that I use Maple for academic publishing, and I wish to automatically generate graphs and export them as eps files....

As a user of Maple 13, namely in computations on General Relativity & Tensor Calculus, I would like to let you know I just got, using Maple 13, the WRONG SIGN (positive Riemann scalar curvature in stead of correct NEGATIVE Riemann scalar curvature) in studying a threefold used as a 'Public Space' by Milne many years ago.

The square of the distance on the said threefold is dE^2=dR^2+(c*t0)^2*sinh(R/(c*t0))^2*(dtheta^2+sin(theta)^2*dphi^2) and you might be interested...

Can the seq here be made into an equivalent for command?

x:=[6,2,8,4]
y:=[7,5,1,3]
stepsize:=0.5
step:=seq(min(x)..max(x),stepsize)

b:=[seq([new,min(y)],new=step)]
pointplot(b,symbol=circle,color=blue)

This is code I've converted from Matlab.  Now I'm attempting to convert the seq here into a similar but simple for loop without using seq.  There is a similar code line in Matlab using a for loop but I have no experience with...

I am gettinga string from a textfield

In my program that String represent a set of 8 bits

ie. g(t)= 10101110

But I need to separate them like

n0=1

n1=0

n2=1

...

n7=0

 

where each n is an integer

how do I do it?

 

 

 

First 1777 1778 1779 1780 1781 1782 1783 Last Page 1779 of 2224