Items tagged with series series Tagged Items Feed

Hi,

When I execute the command

series(exp(x),x)

and then refer to the equation in a new execution group using a equation label (CTRL-L on Windows), the equation is shown in Maple 18, but in Maple 2015 I get an error message: 'Error, missing operator or ';'. Using the % instead does work for both versions.

Is this intended behaviour or a bug in Maple 2015?

Thanks,

Bart

Hello;

I need some help to compute the series approximation of the modulus and argument of hankel function for large x. The code display

 Error, (in asympt) unable to compute series

Thanks  for helping me.

#We define the hankel function as
#HankelH1(v,x) = BesselJ(v,x) + I*BesselY(v,x), where BesselJ and BesselY are bessel function.
#In this question the parameter "v " is  fixed. "

# Code

restart:
with(MTM):
HankelH1(v, x);
# The modulus of Hankel function
Mn:=x->abs(HankelH1(v, x));
thetan:=x->argument(HankelH1(v, x));
phin:=x->argument(diff(HankelH1(v, x),x));
dervthetan:=x->diff(thetan(x),x);
dervphin:=x->diff(phin(x),x);
# Compute series
series(thetan(x),x=infinity,7);
series(phin(x),x=infinity,7);
series(Nn(x),x=infinity, 7);
series(Mn(x),x=infinity,7);
# I define the following function
f:=x->(Nm(x)/Mn(x))*exp(I*(phin(x)-thetan(x)));

# Series approximation
series(f(x),x=infinity, 7);



 

 

Good evening,

I am trying to solve the following sum equation:

 

sum((factorial(n)/factorial(2*n))^n, n = 1 .. infinity)

 

but I require the step-by-step solution as to how it is done, but can't seem to find that option. 

 

If anone could help me out, that would be great.

 

Kind regards,

A

I want to obtain the taylor series of a function say sin(x) at x=0 up to infinity. I mean that I don't want a trauncated series. I tried using "series" and "taylor" but they just give the truncated series.

let γ be the root 

i have to apply taylor series on f(x) and then do some substitution like (helped by a member of Mapleprime)

restart;
taylor(f(x), x = gamma, 8);
f(x[n]) := subs([x-gamma = e[n], f(gamma) = 0, seq(((D@@k)(f))(gamma) = factorial(k)*c[k]*(D(f))(gamma), k = 1 .. 1000)], %)

then find the derivative of result from above output

i do

b := diff((x[n]), e[n])

basically i have to find the value of newton method which is

yn=xn-f(xn)/D(f)(xn)

here we substitute xn=γ and D(f)(xn)=b

and then want to apply f on yn

there are to problem which i face 

1  f(xn)/D(f)(xn) is not in simplified form i-e O(e[n]^8) and O(e[n]^7) is appeared in numerator and denominator respectively. how we get the simplified result.

2 wht step should i do to find f(yn)

plx help me to do this 

thanx in advance

Hi all.

Assume that we have partitioned [0,a], into N equidistant subintervals and in each subinterval we have M sets of poly nomials of the following form:

where Tm(t)=tm( namely Taylor Series) and tf is a(final point)
for Example with N=4, M=3 we have:

now we want to approximate a function, asy f(t), in this interval with following form:

Assume that we have

where '"." means common derivetive. How can we do the later integran in right way?

Note that t is unknown

Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department

Hello maple prime users

I have used the sequence command and series command in Maple before, but seem to have hit a little hurdle with a particular problem.

I want to run the expression:

h(a,b,c):=b!*(a+c)!*sum(F,n=0..c)

   Where F:=(-1)^n*binomial(c,n)*N(a+n):

   Where N(a):=(-1)^n*[evalf(ln(2)) - 1 + 0.5 -1/3 + 1/4 +... + (-1)^a/a]:

I ran a test case using the following code:

restart:
a:=1:
b:=2:
c:=3:
tot:=0:
F:=((-1)^(a+n)/(a+n)):

for n from 0 to c do
      Seq_F2:=(-1)^(a+n):
   
      Seq:=[seq(F,n=0..n)];
      Seq2:=convert(Seq, `+`);

      final:=Seq_F2*(evalf(ln(2))+Seq2);

      SS:=(-1)^n*binomial(c,n)*final;

      S:=(b!*(a+c)!)*SS;
      tot:=tot+S;
od:
tot;

This works for the case where a =1, but will not work for a>1 as in the N(a+n) sequence it misses out the terms in the series for a-1, a-2 etc.... So when a = 2 it misses out the -1 of the sequence and when a = 3 it misses out the -1 and 1/2. Are there any tips on how to overcome this?

 

Best regards

 

- Yeti

How do I check in maple if a series, is convergent or divergegent?

 

f:=((n-1)/2)/(1+((n-1)/2)^2);

 

is this function convergent or divergegent, and is it posible to decide only for odd n?

In Maple 2015, on windows 8.1 64-bit the command
series(2*x*(x-y)/y, y = 0, 3);
gives

which is incorrect. The answer is


You can notice the minus sign in front the the -2x is incorrectly typeset, which makes me wonder if it's a bug in the typsetting program and not series itself.

Please fix asap

plot.mw

 

Hi all. Please help me to plot this. I don't know why it doesn't work correctly.

Regards

prob1.mw    prob2.mw

Hi, I don't know why this happened...

If I write the command in new sheet, it runs correctly( prob2.mw).

 

Second, help me to evaluate N, please...  (prob1.mw)

 

Regards :-)

 

 

 

 

 

Hi

How can I obtain series expansion of a known mathematical function? for example I Need a command to get a formula for expansion of Bessel function as bellow

Hello,

i need help!!

write a procedure for the taylor series sin (x) and plot it in the range (-2pi to 2 pi)

use 20 term iterations in the taylor series approximation.

Thank you very much for your help.... 

I do not think the current API for dsolve when asking for series solution is done right. If one wants to obtain a series solution for an ODE, but wants different order than the default 6, now one must set this value using a global setting before making the call, like this:

eq:=diff(y(x),x$2)+y(x)=0;
Order:=10;
dsolve({eq,y(0)=1,D(y)(0)=0},y(x),type='series');

It would be better if options to calls are passed along with the other parameters in the call itself. Something like

dsolve({eq,y(0)=1,D(y)(0)=0},y(x),type='series',order=10);

This should also apply to any command that takes Order, such as series(cos(x),x=0,order=10);

Passing options and values to functions using global and environment variables is not safe and not a good way to go about it as it can cause programming errors.

1 2 3 4 5 6 7 Page 1 of 7