MaplePrimes Questions

How to plot the function f := x->sum(sin(x/(k+1))/k, k = 1 .. infinity) on the interval 0..50? The series obviously converges.

Is there a way of extracting the terms of an expression with a certain dependence?

For example:

If I have,

expression:=f(x)+g(y)+x^2+y^3+65

I need to have,

f(x)+x^2
g(y)+y^3
65

parts separately.

(Of course, a way other than taking derivative.)

How would I find the polar representation of, say, (x^2+y^2)^2=x^2-y^2 using maple? Thanks. 

Hi! PLEASE HELP ME.. I try to give a new name in my proc where it stops at the initial condition, ic. Somehow it gave me an output like

>Orbit:=proc(Map,ic,Nit)
local orbit,z,t:
orbit:=array(0..Nit);
z:=ic:
orbit[0]:=z;
for t to Nit (while z<>ic) ot t=1 do
orbit[t]:=z;
z:=Map(z):
orbit[t]:=z:od;
return[seq(orbit[t],t=0..Nit)];
end;

>Orbit (F,[1,0],20);
##

##I want to eliminate the orbit13 and so on. I tried to give a new name where for example per:=array(0..t). I want it stops at t and do not go until Nit. Can you help me?

Hello, everyone!

Last day I’ve discovered a strange behavior of the “optimization” tool:

Mostly it copes with the task – but there are cases (the data are the same) when the tool doesn’t return the opt. value: instead it returns the parameter name.
BUT if some of the previous calculations are re-evaluated (and the same input values are received) the “optimization” tools works quite well.

The question is: how to tackle the problem?

P.S. The way to force re-evaluation of previous functions in the body of this procedure (if the optimization failed) doesn’t help: it returns the optimizing parameter name once more.

Windows 8 (64-bit)
Maple 17.00

I have  

a(t):= (0.4292960410)*(t^3+20.0*t^2+105.0*t+138.0)^5/((t+1.881246817-0.5978370144*I)*(t+2.472494183-0.1946676251*I)*(t+5.550661347)*(t+5.496908401)*(t+12.46933729)*(t+12.44618893-0.9642646277e-2*I)*(t+0.5725282710)*(t+5.589440415)*(t+12.49222265)*(t+12.44618893)*(t+12.46933729)*(t+5.496908401)*(t+5.550661347)*(t+2.472494183+0.1946676251*I)*(t+1.881246817+0.5978370144*I))

 

b(t)=(1.8*t^2+34.1*t+138.)/(t^3+20.*t^2+105.*t+138.)

 

and 

 

F(t):={0.5738910678*a(t)*[1-b(t)]}/t*0.5137681159

I have expanded F(t) in series form using taylor series expansion formula in terms of t.

My question is 

                           Can it be expanded in series form in terms of b(t).

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.

First 1510 1511 1512 1513 1514 1515 1516 Last Page 1512 of 2427