MaplePrimes Questions

Hello ...

how to convert matrix to single code like below


for example ,a:=

 

how i want to combine a like b:= 00000001111000111100000110011001110101010101

 

 is there two cayley tables when generate every modular lattice such as (x v y) ^ y = y

 how to generate these two cayley table for join and meet with axiom  (x v y) ^ y = y

I started to notice that Maplesoft web site is not in English any more. This makes it hard to read for me. (it seems to be in French?)  I was wondering why this change?

I think it is best to keep it in the English language, since English is the most common language. I visit the site from the US where I live, and I use the same browser, firefox, same OS, windows 7, and I have changed nothing on my end. Here is a screen shot:

 

I've been playing around with the Basis command in the LinearAlgebra package. It's very easy to get a Basis for any subspace of R^n. However, if you're dealing with finite-dimensional polynomial or matrix spaces, the Basis command doesn't work. Due to some basic isomorphism theorems, we can always associate these vectors with those in R^n. I was wondering if there is a way to get Maple, via the Basis command, to handle "other types" of vectors. For example, how might one get Maple to return a basis of {x^2+x+4,x+3,2x^2-x-5,5x^2+x-7} in P_2, the space of polynomials of degree less than or equal to 2, or, a basis for {[[2,3],[5,6]],[[3,2],[0,1]],[[1,1],[0,5]]} in M_{2,2}, the space of 2 x 2 matrices, without converting to R^n?

I've been having trouble plotting in polar coordinates. My code is included below:

The ouput prints the 10 terms of the sum but the plot does not produce anything.

I also would like to know a method that I could use to plot with a going from zero to the size of the radius.



Thank you for any help.

Is it possible to show using maple if a given line in 3d space intersects a 2d plane with given co-ordinal vertices?

Ive been given a task to write a fuction that will print true/false to if a given line will intersect a triangle given the co-ordinates of the vertices. 
I have a general idea on what needs to be done mathmaticly, but i have poor maple skills and the syntax is killing me.
I would appreciate some help in this regard.

 

Thanks.

Warning: I am newbie in Maplem so if I am missing something obvious, please do not scream at me.

I noticed something strange here. I was trying to simplify this expression to sinh(x). The first step is to convert it to exp() form. Then the next step should have been just another convert to sinh since the resulting exp() expression from the first step was clearly a sinh(). Yet, I find that expand() and also simplify() in order for Maple to see this.

So my question is, what are the rules of the game here? Does one really have to baby step the simplification process like this to the extent of telling Maple that

is the same as

by using simplify(), before getting the result needed?

Here is the code: (the goal again is to obtain sinh(x) as final simplification)

%------ this works --------------
s:=(1/2)*exp((1/2)*x)*(cosh((1/2)*x)-cosh((3/2)*x)+sinh((1/2)*x)+sinh((3/2)*x));
convert(s,exp);
expand(%);
simplify(%);   %-----> without this, will not work
convert(%,sinh);
%--------------------------

but

%---- this does not ----------------
s:=(1/2)*exp((1/2)*x)*(cosh((1/2)*x)-cosh((3/2)*x)+sinh((1/2)*x)+sinh((3/2)*x));
convert(s,exp);
expand(%); 
convert(%,sinh);  % is simplify really needed BEFORE this step?
simplify(%);  % 
----------------------------

Fyi, in Mathematica, I only needed to convert to exp() and back again to Trig to get the answer:

Or using Simplify

I've been on this question a week now and still no conclusive answer! What I need is a function that produces the inequalities that determine a triangle given the 3 points and then using a 4th point, prints true if the 4th point satisfies 2 or 3 or the inequalities and prints false if it only satisfies 1 or none of the inequalities. I need to have this solved by tonight so any quick help would be greatly appreciated!

Consider the curve defined by f(x, y) = 3+2x+y+2x^2+2xy+3y^2 = 0.Locally on the curve we can view y as a function of x, i.e. y = y(x).Compute formulas for the first and second derivative of y with resoect to x.

2. Give the Maple command(s) to compute \frac{\partial^8 f}{\partial^5 x \partial^3 y} for f(x, y) = e^{2x+ cos(y)}.

Ok so my problem is that I need to write a function which produces the three inequalities defining a triangle given the 3 points that form its vertices, then with the 4th point supplied to the function I need the function to print false if the 4th point satisfies less than 2 of these inequalities and true if it satisfies more than 2 of these inequalities. Can anybody help me with this? On a previous post I obtained part of the function that produces the triangle, but the 2 inequalities part was not solved.

Thanks for your time

 

How to show the code in file with extension .lib and edit it?

Hi,

I'm new to these forums. I'm using Maple 17. What am I missing about the odd behaviour exhibited below? (the code can be copy pasted into Maple)

Suppose I define m,n,p,q as integers and x as real, then define the function h(x,m,n,p,q) below.

assume(m::integer, n::integer, p::integer, q::integer, x::real);
h:=(x,m,n,p,q)->-(1/8*I)*(exp((2*I)*Pi*x)-1)^2*(exp(-(2*I)*Pi*x*(n-q+2))-exp(-(2*I)*Pi*x*(n-q+1)))/(Pi^3*x*(m-x)*(p-x));

If I do:

int(h(x, m, n, p, q), x = -infinity .. infinity)

It says it's 0, but that's not true. The integral is not always 0 but depends on m,n,p,q ... and even Maple acknowledges this. If I do:

int(h(x, 1, 1, 1, 1), x = -infinity .. infinity)

I get -(1/2*I)/Pi ... so clearly not 0.

Also, if I do:

int(h(x, m, n, m, n), x = -infinity .. infinity)

I get -(1/2*I)/(m*Pi) ... again, not 0.

What am I missing? How can I correct this and obtain the analytic expression for int(h(x, m, n, p, q), x = -infinity .. infinity)?

Trying without the assume() causes Maple to run into issues not knowing anything about m,n,p,q.

[ Edit: I finally solved the integral on paper, see my post below if you're curious. The Maple inconsistency and wrong result explained above are still there though ]

Any help would be greatly appreciated.

Regards,

Alex.

I am not able to find way to do this very basic and common operation.

I use worksheet mode, and many times I'd like to split/divide a large execution group I've build of some code to 2 execution groups at some place. i.e. I'd like to point my mouse at a line and say divide here. Here is an example:

I see only the options Insert->Execution group-> After Cursor or Before cursor. Both of which do not do what I want. I want to divide it at that point.  So what I end up doing is to make a new execution group manually (using the Insert command), then go back and cut and paste the code I want in the new group.

I hope there is an option to do this. I do these sorts of things all the time when using Mathematica, which has Divide cell, Merge cells and other options. A cell in Mathematica is similar to execution group in Maple. Are there other options to maniuplate execution groups other insert before/after cursor that I might have missed? I am using 17.02 on windows 7.

Please note, I only use worksheet mode.

 

First 1513 1514 1515 1516 1517 1518 1519 Last Page 1515 of 2429