BrettKnoss

25 Reputation

4 Badges

4 years, 234 days

MaplePrimes Activity


These are questions asked by BrettKnoss

I have to copy and paset c(n), and my final results are the square root of what they should be.

```

f:=(x-1)/(x+2)
                               -1 + x
                          f := ------
                               x + 2

plot(f,x=-3..3)


sum(k -> 1/k^2, k=1..1000)
                             1000 f

series(f,x=0);
          1   3     3  2   3   3   3   4   3   5    / 6\
        - - + - x - - x  + -- x  - -- x  + -- x  + O\x /
          2   4     8      16      32      64           

s:=convert(f,FormalPowerSeries)
                          /infinity           \
                          | -----             |
                          |  \     /      k  \|
                          |   )    |   3 x   ||
                 s := 1 + |  /     |- -------||
                          | -----  |        k||
                          \ k = 0  \  2 (-2) //

simplify(s,symbolic)
                 /infinity                       \
                 | -----                         |
                 |  \                            |
                 |   )    /       k  (-k - 1)  k\|
             1 + |  /     \-3 (-1)  2         x /|
                 | -----                         |
                 \ k = 0                         /

                             c := c

c:=k->-(3 *x^k)/((2 (-2)^k))
c(k)
                                  k
                               3 x
                             - ----
                                k  
                               2  x

abs( ((c(k+1)*(x^(k+1)))) / ((c(k)*x^k)));
                               2 |    k   |
                     | (k + 1)|  |   2    |
                     |x       |  |--------|
                                 | (k + 1)|
                                 |2       |
                     ----------------------
                                 2         
                             | k|          
                             |x |          

simplify( % );
                                    2
                          | (k + 1)|
                          |x       |
                          -----------
                                  2  
                              | k|   
                            2 |x |   

L:= limit( %, k=infinity );
                               1    2
                          L := - |x|
                               2     

solve( L<1, x);


```

```

with(plots)

witth(plottools)

f:=(x-1)/(x+2)

p1:=plot(f,x=-3..3):
p2≔circle([0,0],1,color=blue); #add a circle to plot, would like to figure out how to do automatically
           p2&Assign;circle([0, 0], 1, color = blue)

display(p1,p2);
```

I'm able to plot f(x), but not plot the circle.

```

f:=(1/(1-x^2));

s:=convert(f,FormalPowerSeries)       

s:=simplify(s)          

c:=k->(op(1,s))/(x^k);

```

I'm trying to get it to find that c(k)=x^2 starting with x^k*2, but it divides by x^2 instead of x^k.  What am I doing wrong?

I'm trying to find the interval of convergence for the sum

sum((x-2)^n/((x-2)^n),n=0..infinity)

```

c:=n-> 1/(n^2-1)
   c := proc (n) options operator, arrow; 1/(n^2-1) end proc

s:=x-> sum(c(n)*((x-2)^n), n=0..infinity)
 s := proc (x) options operator, arrow; sum(c(n)*x^n, n = 0 ..

    infinity) end proc


# figure out how to plot this, without making it crash
abs( (c(n+1)*x^(n+1)) / (c(n)*x^n) );
                      | (n + 1) / 2    \|
                      |x        \n  - 1/|
                      |-----------------|
                      |/       2    \  n|
                      |\(n + 1)  - 1/ x |

simplify( % );
                          |  / 2    \|
                          |x \n  - 1/|
                          |----------|
                          |n (2 + n) |

L:= limit( %, n=infinity );
                            L := |x|

solve( L<1, x );
                  RealRange(Open(-1), Open(1))

simplify( s(3) )
                            infinity

```

How do I get it to find the correct interval, which is [1,3] I get the correct radius, which is 1.

 

I'm able to export Maple documents as LaTeX, but I'm not able to execute them because I can't find the package in

{maplestd2e}

in MikTex.

How do I add this package to MikTex, and by extension, TexnicCenter?

1 2 Page 1 of 2