MaplePrimes Questions

Hello,

I have 2 questions about the resolution of a ODE for the simple pendulum equations.

1) I need to add 'maxfun'=10^7 in the dsolve function. With this option, dsolve works. Can you explain me in a very simple way the principle of this option ? It's just to feel better how this option runs.

2) gamma(t) is a angular parameter.

With

tgammax:=odeplot(sol,[gamma(t),x(t)],0..10,numpoints=200,color=blue,legend="z"):
display(tgammax);

I manage to plot x(gamma) but with gamma in rad.

How can i do to x(gamma) but with gamma in degree? I should do gamma_deg=360/(2*Pi)*gamma(t) but as gamma(t) is defined numerically, this lign doesn't work.

Thank you for helpe

Here some ligns of my code :

Cinit:=D(psi)(0)=0,psi(0)=-0.93,D(x)(0)=0,x(0)=1.13,D(gamma)(0)=0,gamma(0)=0.79;sol:=dsolve({sys,Cinit},numeric,'maxfun'=10^7);
tx:=odeplot(sol,[t,x(t)],0..10,numpoints=200,color=blue,legend="x"):
display(tx); 

tgamma:=odeplot(sol,[t,gamma(t)],0..10,numpoints=200,color=blue,legend="gamma"):
display(tgamma);

tgammax:=odeplot(sol,[gamma(t),x(t)],0..10,numpoints=200,color=blue,legend="z"):
display(tgammax);

I am on windows 7, 64 bit, using Maple 17.02. When opening the command line Maple, and typing:

But on the GUI, it works:

?index,packages;

and I get a new window open with the list of package.
In the command line, it works if I use ?index,package;  i.e. without the extra `s` at the end.

On a side question, I was looking at a Maple book, where it said to use ?index[packages];  but this no longer works, even in the GUI, and had to use ?index,packages;  syntax. I wonder when this change happens. The book is old, using Maple 7.

Hi, I am trying to plot these two curves:

I tried:


with(plots);  A := Array(1..2)  A[1] :=plot (0.199563349672261+0.0178636902277546 x^1.14406289706794-0.0182070811144750 x^(1.13867380551454),x=50..2050,  color=red);  A[2]  := plot(0.298910542599302+0.0117459591500434 x^1.00390277106937-0.0137065176395662 x^0.970667551759677, x = 50..2050, color = blue);  display (A);

and I got:

Error, (in plot) unexpected option: .298910542599302+0.117459591500434e-1*x^1.00390277106937-0.137065176395662e-1*x^.970667551759677

so I tried

so I am not sure how I would graph these two functions...

I am coming back to maple after being years out of it (Maple 9). I am writing a paper in class of how to use Maple with Algebra. I would like to create a document so that students can manipulate the graph of a(x-h)^2+k and se how parameters a, h and k effect the function.  However, I can't seem to figure out how to create a slider linked with each parameter so students can manipulate it. 

 

Is this possible? Any help wold be great!

 

Nicholas

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)}.

First 1517 1518 1519 1520 1521 1522 1523 Last Page 1519 of 2434