Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

hi

I need to export or save my plots during the run out of maple as jpeg or gif but I can not find any command to do it. the only way i found is right click on the plot and then export it but i need program do it by itself during the run.

thanks

I'm trying to use Rodrigues' Rotation Formula to graph a circle--by rotating a point, naturally--and I'm not sure how to implement that in Maple. For something like a function, allowing a variable--say, x--to vary and produce a curve is natural, but the evalm() function doesn't handle that very well: I can use the formula to *evaluate* the rotations, but not to use them to graph the circle.

I looked for something like solids of revolution--after all, I'm doing something pretty similar--but didn't find anything helpful; apparently there's a way to make solids of revolution, but it's pretty specific and would be difficult to adapt?

Hello Those who are in Mapleprimes.

 

I want to know the meaning of [].

That is,

a:=[1,2,3];

b:=a[];

What were returned was 

b:=1,2,3

This result is the same as that obtained from

b:=op(a);

 

What kind of meaning does a[] have?

I want to know the logic of this expression.

Can I ask you about this?

Thank you in advance.

 

taro yamada 

 

 

 

 

 

Please see the link below of the screen shot from Maple

https://www.dropbox.com/s/r7xn2uqnn4qfbp7/Screenshot%202014-05-12%2015.21.07.png

AOA... Dear when i expand

sum(sum(binomial(n-1, i)*x^(n-i-alpha)*(-a*n)^i*c[n]*GAMMA(n-i+1)/GAMMA(n-i-alpha+1), i = 0 .. n-1), n = ceil(alpha) .. M)

for M=2 and alpha=1/2 its answer is 

-sqrt(x)*c[1]*sqrt(-(1-x)/x)*(2*x-1)/(sqrt(Pi)*(1-x))-(1/4)*c[1]*hypergeom([3/2, 2], [3], 1/x)/(x*sqrt(x*Pi))-(4/3)*x^(3/2)*c[2]*(-(2-x)/x)^(3/2)*(2*x-1)/(sqrt(Pi)*(2-x))+(2/3)*c[2]*hypergeom([3/2, 2], [4], 2/x)/(x*sqrt(x*Pi))

which is very difficulty i want its answer in Gamma form i.e.

2*sqrt(x)*c[1]/sqrt(Pi)+(8/3)*x^(3/2)*c[2]/sqrt(Pi)-4*sqrt(x)*c[2]/sqrt(Pi)

Pl help me

Is there a book or a place where to start learning programming in Maple from the very beginnings?

I have some experience with RealBasic (now Xojo) and C, so I am not a complete newbe but I am at loss with Maple and I have hard times following the help system to learn.

Thank you

 

Martina 

AOA.. I want to generate a matrix for arbitrary value of n

B_n(x_1,\dots,x_n) = \det\begin{bmatrix}x_1 & {n-1 \choose 1} x_2 & {n-1 \choose 2}x_3 & {n-1 \choose 3} x_4 & {n-1 \choose 4} x_5 & \cdots & \cdots & x_n \\  \\
-1 & x_1 & {n-2 \choose 1} x_2 & {n-2 \choose 2} x_3 & {n-2 \choose 3} x_4 & \cdots & \cdots & x_{n-1} \\  \\
0 & -1 & x_1 & {n-3 \choose 1} x_2 & {n-3 \choose 2} x_3 & \cdots & \cdots & x_{n-2} \\  \\
0 & 0 & -1 & x_1 & {n-4 \choose 1} x_2 & \cdots  & \cdots & x_{n-3} \\  \\
0 & 0 & 0 & -1 & x_1 & \cdots & \cdots & x_{n-4} \\  \\
0 & 0 & 0 & 0 & -1 & \cdots & \cdots & x_{n-5} \\  \\
\vdots & \vdots & \vdots &  \vdots & \vdots & \ddots & \ddots & \vdots  \\  \\
0 & 0 & 0 & 0 & 0 & \cdots & -1 & x_1  \end{bmatrix}.

I want to generate a random matrix of size m x n as follows: for each i between 1 and m, take a random p_i number according to some fixed distribution (for example, uniform distribution in [0,10]). These numbers p_i are independent. Then I'll form a random matrix whose (i,j)-entry is chosen according to a probability distribution that depends on the parameter p_i (for example, it could be Poisson(p_i)). So entries in the same row are independent.

How can I do that?

How to make a vertical axis of the plot break?

This is an addition to the following post:

http://www.mapleprimes.com/questions/141795-Unit-Conversion-Problem

 

But I use the clickable facilities of Maple.  Here is the problem:

>32[[degC]];

                         32[[degC]]
right-click -> Units -> Replace units -> degF

                         288           
                         --- [[degF]]
                          5            

>evalf[5]( (2) );
                       57.600[[degF]]

but if I do that:


>convert(32, 'temperature', 'degC', 'degF');

                              448
                              ---
                               5
                           
>evalf[5]( (4) );
                             89.600

Why the conversion is bad when you try to do it by the clickable way????????????

 

--------------------------------------
Mario Lemelin
Maple 18 Ubuntu 13.10 - 64 bits
Maple 18 Win 7 - 64 bits messagerie : mario.lemelin@cgocable.ca téléphone :  (819) 376-0987

In order to make worksheets more interactive in a teaching environment I have begun playing around with the Tables the standard GUI provides. The idea is that in the left column is the script we are working through while in the right column is space a student can work with the equations and formulae from the left side to, e.g., plot, change parameters etc. without affecting the script too much.

To build the tables I copy-pasted code from a normal worksheet (in document mode) into the left column, creating rows of appropriate length to have a logically coherent section in one row. Usually one row is one Section (in the technical sense of Maple Sections). The student gets to play in the right column.

In principle this seems to work quite well in my preliminary testing. I did find out rather quickly that on the right side one needs to be in 1-d input mode with a prompt for anything to be calculated interactively. Ok, actually probably easier to do. The table is set to evaluate by row so the right-left correspondence is preserved.

A potential issue I am facing however is with equation numbering: I use equation numbers extensively to reference back to upstream results. In the Table, it appears that equation numbers are not unique; in each row of the Table, eq. numbers start as (1.1), (1.2) etc. I am able to reference back to results from a prior row, even though the same equation number will show up again later in the new row. But I am concerned that eventually this all ends up in a big mess and my references point to the wrong expression or equation. Non-unique line numbers seem like a Really Bad Idea, and I'd like to avoid that if possible.

Does anyone know how the lines numbers work for code in Tables and how I make sure they are unique? I suppose I could explicitly assign results I need in other rows to names, but that does not prevent a reference to an eq. number from pulling in the wrong one from a prior row (assuming for the moment that Maple will never look forward to resolve a reference).

Thanks,

Mac Dude

ode := diff(sqrt(U(t)), t) = sqrt(U__0)-sqrt(U(t))

ics := U(0) = 0

dsolve({ics, ode})

 

And the result maple returns is U(t)=0 !

 

 

Diff_EQ_sample_questions.pdf

 

This is a link to two sample questions I am trying to learn how to solve using maple. I am using maple student edition of maple. Any help would be great. Thank you.

 

 

Maplesoft regularly hosts live webinars on a variety of topics. Below you will find details on some upcoming webinars we think may be of interest to the MaplePrimes community.  For the complete list of upcoming webinars, visit our website.

 

Hollywood Math (with more new examples!)

Over its storied and intriguing history, Hollywood has entertained us with many mathematical moments in film. John Nash in “A Beautiful Mind,” the brilliant janitor in “Good Will Hunting,” the number theory genius in “Pi,” and even Abbott and Costello are just a few of the Hollywood “mathematicians” that come to mind.

Although the widespread presentation of mathematics on the silver screen is not always entirely accurate, it does serve as a great introduction to the study of mathematics in general. During this webinar Maplesoft will present a number of examples of mathematics in film. See relevant, exciting examples that you can use to engage your students.At the end of the webinar you’ll be given an opportunity to download an application containing all of the Hollywood examples that we demonstrate.

To join us for the live presentation, please click here to register.

 

Applications of Symbolic Computation in Control Design

You may already use Maple and/or MapleSim within your organization to solve various problems, but did you know that they have capabilities for control design as well? In one of our upcoming featured webinars for this month, we will explore the Control Design toolbox including the ability to extract symbolic equations of plant models, perform symbolic linearization, design symbolic controllers, and generate very fast code for HIL testing.

The following examples will be demonstrated:

• PID Control

• LQR, Kalman filter design

• Gain scheduling

• Feedback linearization

To join us for the live presentation, please click here to register.

Why does:

Student[Calculus1]:-Tangent(tan(3*x)-5*exp(-x^3),x=0,output=plot,gridlines=true,caption="")

produce the following error?

Error, (in plots:-display) integer or integer range expected in op list

First 1383 1384 1385 1386 1387 1388 1389 Last Page 1385 of 2262