Items tagged with series

Hey guys,

I have the following occurence:




gives different results...the last one however seems to be the correct one...

What is happening here?


theta := a-(1/2)*beta*a*y^2+(1/24)*beta^2*a*y^4-(1/720)*beta^3*a*y^6+(1/40320)*beta^4*a*y^8-(1/3628800)*beta^5*a*y^10+(1/479001600)*beta^6*a*y^12-(1/87178291200)*beta^7*a*y^14+(1/20922789888000)*beta^8*a*y^16-(1/6402373705728000)*beta^9*a*y^18+(1/2432902008176640000)*beta^10*a*y^20-(1/1124000727777607680000)*beta^11*a*y^22+(1/620448401733239439360000)*beta^12*a*y^24

Pls, anyone with useful informations on how to convert a series just like the one above to trigonometry or hyperbolic form. Need response as soon as possible. Thankin you in anticipation for your favorable response. 

I am trying to calculate the integral


Maple cannot calculate the integral. I tried to expand theta in the series form and substitute in the integral, still cannot calculate it.

any suggestion to tackle this problem whould be helpful.

Thank you


so yep pretty self explainatory, i was just wondering why it works when i use the asymptomatic expansion but not the iterated reciprocal substitution code shown in the that help interface for asympt.






subs(y = 1/y, series(subs(y = 1/y, Zeta(1/2+I*y)), y = 0, 6))

Error, (in series/Zeta) unable to compute series


asympt(Zeta(1/2+I*y), y, 6)








Digits := 10:

Ha := 2:

R := 2:

a := 0.1e-2:

Rt := 1:

Br := 1.5:

Xi := 0:

U[0] := 0:

U[1] := alpha:

U[2] := -6+(1/16)*Rt*Xi:

U[3] := (1/6)*beta:

T[0] := -(1/2)*Rt:

T[1] := phi:


delta := proc (k) options operator, arrow; `if`(k = 0, 1, 0) end proc;

proc (k) options operator, arrow; `if`(k = 0, 1, 0) end proc


for k from 0 to 10 do U[k+4] := ((Ha^2+R)*U[k+2]+Xi*T[k+2])/((4*(k+3))*(k+4)); sum((1+(4/3)*R+4*a*R*T[i])*(k-i+1)*(k-i+2)*T[k-i+2], i = 0 .. k) := -4*a*R*(sum((i+1)*T[i+1]*(k-i+1)*T[k-i+1], i = 0 .. k))-Br*(sum((i+1)*U[i+1]*(k-i+1)*U[k-i+1], i = 0 .. k))+(1/4)*Ha^2*Br*(sum(U[i]*U[k-i], i = 0 .. k)) end do:

u := sum(U[j]*y^j, j = 0 .. 9)







I am dealing relatively often with vector functions of a variable vector. Specifically these are (in general nonlinear) mappings from R^6 to R^6, and often I have one or more extra parameter that controls the map.

Often I'd like to get a first-order expansion of these. The general scheme I use to do that is to map mtaylor over the components of the function vector. Like so:

map(mtaylor,F(<x1...x6>),[x1...x6,],order);# F(<...>)  is  <F1(<..>)..F6(<...>)>

This works fine until I hit a situation where the Taylor expansion for one of the parameters p does not exist. Then it bombs. Actually, I often can use assumptions on the parameters to prevent bombing; however, in that case I often get the unchanged function F returned. This is Bad as the whole thing happens in a loop with many concatenated functions F, and now expression swell makes Maple lock up.

In at least a significant subset of these functions, the series command works where taylor fails. "mseries", however, does not exist in Maple. So my question is whether someone has written an "mseries" command for Maple. I know how to do it in principle (but caution is needed to make it work as intended), however, I wonder whether either someone has done it before and might share his/her code, or whether there is a reason why "mseries" actually cannot work.


Mac Dude


how to solve  Fourier Series on maple ??

how to find the first 6 non-zero terms of MacLaurin series of the function erf(x)

Hi all, 
I was only wondering if there is a way how to trunk a solution using a maple command.

I want to use it to give a truncation error which is equal to :(14/45)(D^5)(y)(0) h^5

The result I am getting is as followed: (it is correct, I just want to cut off the bit with the power of 6)
          error :=  (14/45)(D^5)(y)(0) h^5  + 7/10 (D^6)(y)(0) h^6
thank you in advance

Find the first 6 non-zero terms of MacLaurin series of the function erf(x)

I have computed the eigenfunction expansion for f(x)=x on 0<x<1 in terms of the eigenfunctions exp(-x/2)*sin(n*Pi*x).

I wish to calculate the weighted L2 error in this expansion (the weight function is w(x)=exp(x)).

Specifically, I want to determine how many terms in the eigenfunction expansion are necessary for the error to be less than say 0.3.

Here is the code:

f := x -> x
w := x -> exp(x)
assume('n', integer);
y :=  (n, x) -> exp(-x/2) sin(n Pi x)       
c := n-> (int(f(x)*y(n, x)*w(x), x = 0 .. 1))/(int(y(n, x)^2*w(x), x = 0 .. 1))
Fourierf := (n, x) -> sum(c(j)*y(j, x), j = 1 .. n)

fsolve(Lerror(n) = 0.3, n);

This seems to run forever without giving a value of n.  I know this is a large computation, but it seems that Maple should be able to handle it.  Does anyone have any suggestions?



f=sum((2*q*cos(2* i*x)*(-1)^(i)*(-1)^((2*i-1)))/(i*Pi),i=1.3.5...35)

I want to write this series but getting error

the result is


can anybody help 

Hey all,

my goal is to get a taylor expansion in Maple up to n-th order of a function y(t) (not defined in more detail, just abstract).

I want to taylor this function around tn, and I want the series for tn+1=tn + h. I would expect to get (as an example: 4th order)

y(tn+1) ≈ y(tn) + h* y'(tn) + h2/2*y''(tn) + h3/6*y'''(tn) + O(h4).

My command was:

and I get:

Can someone maybe point out what I am doing wrong and how I can fix it?

Thanks in advance!


Dear Community,

I have two measured series - time series actually, stored in Excel:

  • gas flow (ordered in ascending date order),
  • pressure measurements (unordered, more or less randomly distributed dates),

I would like to:

  • import the two series into Maple,
  • convert them to time series,
  • merge them in a way, that the unordered pressure dates are plugged into the ordered gas flow dates, so I finally get a single, ordered date sequence of ascending order.
  • pressure and gas flow rates should remain separated of course, i.e. not merged (they should appear in two separate vectors, or matrix columns, whatever)
  • if pressure dates and gas flow dates are the same, they should naturally be in the same row, i.e. belong to the same date.

No problems with the import, but I'm lost with the time series handling. I tried to figure it out from the help, but frankly the description is rather difficult, and I also haven't found appropriate examples. Is it possible to do it with Maple's time series feature at all, or something other is more practical? Files and my initial trial are attached.

tx in advance

best regards



Hi! I'm trying to find the way to plot the solution with series representation. I need some help to find the easiest way.

Note: I realized some typing errors, which do not change the question a lot ,and I corrected them.

1 2 3 4 5 6 7 Last Page 1 of 9