Items tagged with convert convert Tagged Items Feed

How to get the polynomial successfully why return error expect a series valuation 1, what do it mean?

l := [12,14,27,35,46,49];
sl := listtoseries(l,x,revogf);


any of the numerical factors that multiply the successive terms in the expansion of an expression of the form  (x + a)^n,  for integral n,  in accordance with the binomial  theorem. These are any terms of the form

how to get it.


but ,i get a anwer that i don't want

How to join expressions?...

April 09 2011 os 34

How to join expressions in the set, for example to convert the set {y=0, x>-1, x<1} to {y=0, -1< x <1}?

Thank you in advance.

I am using dsolve(..., type = series) to solve differential equations in the form of a power series. I plot these power series with different orders to observe how they converge. I use quite large orders (25 or even 50), and generating these solutions is slow.

I would like to generate power series with order 25, for example, and then truncate it to order 24 directly, instead of having to call dsolve a second time. I was hoping this could be done somehow using convert...


I tried to modelise the move of a pendulum. I have this equation:

eq := (1/2)*m*((l+r)^2+(1/5)*r^2)*(diff(theta(t), t))^2-m*g*(l+r)*(cos(theta(t))+cos(angleInitial)) = 0;


I tried this programme:

pend := proc (a0, l, r, m,nbpoints)
local eq, sol, valeurstheta, x, y, plotseq, g;
g := 9.81;
eq := (1/2)*m*((l+r)^2+(1/5)*r^2)*(diff(theta(t), t))^2-m*g*(l+r)*(cos(theta(t))+cos(angleInitial)) = 0;
sol := dsolve({theta(0...

MapToBasis problem...

March 22 2011 Ratch 211

How do I convert K1*cos(w*t+theta1) + K2*sin(w*t+theta2) to a single K3*sin(w*t+theta3). Maple keeps simplifying to the cos + sin form but that is not user friendly for the signal viewed on the oscilloscope. The conversion is easy to do with a calculator but I want to automate the process in Maple with parameters so I do not have to copy and paste expressions or type them.


Thanks for your help,


Warren Klope

Howcum the first of the following two statements does what the "help" says it will do, but the second statement doesn't?


Better yet, how can I make the second statement worK?

Thank you.


> convert(hypergeom([a, b],[e,f],1),Sum);
> convert(hypergeom([a, b, c],[e, f],1),Sum);


Converting forms...

February 10 2011 North 5

Hello All;


After having access to maple since maple 7 and never realy learning it, I decided that I would give it a good stab.

So far it's been cooperative. but I started from basic things wand worked my way through. I am now at the point where I need thisgs done and can't figure how to do them... shrort of rewriting the equations in the form I want.

I am working on exact differential equations and I need to convert this form:


I have those questions:

1) set

When I write these inputs,

x:={1,3,2}; y:={b,a,d,c}; z:={a[1],a[1,1],b[0],d[0],c[0],a[0],2};

the results are x := {1, 2, 3}, y := {a, b, c, d}, z := {2, a[0], a[1], a[1,1], b[0], c[0], d[0]}

Is there a way to get what I input

2) This problem in ordering numbers and words is verry important and hard when solving a large system of equations with:

restart:with(SolveTools): eqns:=[a[0...

Permutation testing...

December 24 2010 Deadstar 192

Hey folks and (almost) Merry Christmas!


How do I check if a number is a permutation of another number (doesn't have to be a cyclic one though)




Let x = 123456789


How would I test to see that, for example, 847591236 is a permutation of x without generating every permutation of x?

I feel there should be an obvious command for this but I can't seem to find any...


Hey folks I need some help with basic string manipulation.


Say I want to find the sum of the digits of 123


What I've been doing is the loooong way of converting 123 to a string, breaking it up into 3 seperate numbers, converting these back to their decimal value, then adding them up.


How could I make this more efficient? Is there some part of StringTools that would do this for me?



Hi all,

I have this two equations:



Where ap[k] and a[n] are the unknowns.

I want to convert the two equations in the Matrix form A*X=b to solve it numerically and where X=[ap[k, k=1..kk] and a[n, n=1..nn]] and A the matrix with a rand (nn+kk,nn+kk) the coef and b the second member and a vector (nn+kk)

Thank you for any help to do this with Maple

Though Maple provides routines to express integers or floating in different
integer bases the output looks not as nice as I want to have it.

And for example it does not work as expected using the 'simple ways' (while
for hex there is no simple way for floats):

  Digits:=16; # for all the following

  x:= x* SFloat(1,-14);


I have purchased an e-book for Maple called "Advanced Engineering Mathematics". I have found it to be full of red code text (which I understand to be 1-D Maple format, correct?).

Is there a way of converting the contents of my e-book to get rid of this red text (or at least convert it to something more meaningful) ?


Thanks and regards,
Andrew J Fortune,

5 6 7 8 9 10 11 Last Page 7 of 37