# Items tagged with convertconvert Tagged Items Feed

### convert(...., sincos) ...

January 10 2014
1 3

> assume(a < 0);
> convert(cosh(sqrt(a)), sincos);
print(output redirected...); # input placeholder
/ (1/2)\
cos\(-a) /

This is what I expected.

Now

> assume(L > 0);
> assume(K > 0);
> assume(mu > 0);
> assume(mu^2 < 4*L*k);
> assume(t > 0);
> convert(cosh((1/2)*t*sqrt(mu^2-4*L*k)/L), sincos);
print(output redirected...); # input placeholder
/ (1/2)\
| / 2 \ |
|t \mu - 4 L k/ |
cosh|--------------------|
\ 2 L /

I wanted to obtain again the cos function. Could someone help me?
(What is the reason that convert does not work "well" in later case?)

Thanks,  Sandor

### elementary expression...

January 04 2014
1 3

Is it possible that this expression has an elementary one (specifically the dilog's):

Y0:=(1/16)*(s*t*(exp(2*t)*s+exp(4*t)+1)*ln((exp(2*t)*s-(-s^2+1)^(1/2)+1)^16*(1+(-s^2+1)^(1/2))^16/((exp(2*t)*s+(-s^2+1)^(1/2)+1)^16*(1-(-s^2+1)^(1/2))^16))+s^3*t*(exp(4*t)+1)*ln((exp(2*t)*s-(-s^2+1)^(1/2)+1)^8*(1+(-s^2+1)^(1/2))^8/((exp(2*t)*s+(-s^2+1)^(1/2)+1)^8*(1-(-s^2+1)^(1/2))^8))+exp(2*t)*t*ln((exp(2*t)*s-(-s^2+1)^(1/2)+1)^32*(1+(-s^2+1)^(1/2))^32/((exp(2*t)*s+(-s^2+1)^(1/2)+1)^32*(1-(-s^2+1)^(1/2))^32))+4*((exp(4*t)+1)*s+2*exp(2*t))*(s^2+2)*dilog((-exp(2*t)*s+(-s^2+1)^(1/2)-1)/(-1+(-s^2+1)^(1/2)))-4*((exp(4*t)+1)*s+2*exp(2*t))*(s^2+2)*dilog((exp(2*t)*s+(-s^2+1)^(1/2)+1)/(1+(-s^2+1)^(1/2)))+((32*s^2*t+64*t)*exp(2*t)+16*(((t+1/8)*s^2+2*t+2)*exp(4*t)-(5/4)*s*exp(-2*t)-(1/8)*exp(-4*t)*s^2+(5/4)*s*exp(6*t)+(1/8)*s^2*exp(8*t)+(t-1/8)*s^2-2+2*t)*s)*arctanh((exp(2*t)-1)*(-1+s)/((-s^2+1)^(1/2)*(exp(2*t)+1)))+8*(-s^2+1)^(1/2)*((1/8)*s*(exp(4*t)+1)*ln((exp(4*t)*s+2*exp(2*t)+s)^12/s^12)+(1/8)*exp(2*t)*ln((exp(4*t)*s+2*exp(2*t)+s)^24/s^24)+(s^2-6*t-3)*exp(2*t)+((-(1/8)*s^2-3*t)*exp(4*t)+s*exp(-2*t)+(1/8)*exp(-4*t)*s^2+s*exp(6*t)+(1/8)*s^2*exp(8*t)-(1/8)*s^2-3*t)*s))/((s*exp(-2*t)+exp(2*t)*s+2)*(exp(4*t)*s+2*exp(2*t)+s)*((-s^2+1)^(1/2)+2*arctanh((-1+s)/(-s^2+1)^(1/2))))

Also I'm wondering since Y0 should solve the ode

-(diff(diff(y(t), t), t))+(4-12/(1+s*cosh(2*t))+8*(-s^2+1)/(1+s*cosh(2*t))^2)*y(t) = C/(1+s*cosh(2*t))

with some constant C but I only get rubbish.

I ask this because I found that in another context this seems to be correct:

f1:=-(1/12)*Pi^2*((-s^2+1)^(1/2)-arccosh(1/s))/(-s^2+1)^(3/2)+(1/12)*arccosh(1/s)^3/(-s^2+1)^(3/2)-(1/4)*arccosh(1/s)^2/(-s^2+1)

f2:=(1/2)*((-s^2+1)^(1/2)*(polylog(2, s/(-1+(-s^2+1)^(1/2)))+polylog(2, -s/(1+(-s^2+1)^(1/2))))-polylog(3, s/(-1+(-s^2+1)^(1/2)))+polylog(3, -s/(1+(-s^2+1)^(1/2))))/(-s^2+1)^(3/2)

and f1=f2

but maple doesnt convert it.

Also maple has trouble to convert

2*arctanh(sqrt((1-s)/(1+s)))=arccosh(1/s)

everywhere: 0<s<1

### how i can get a single associated Legendre functi...

December 19 2013
1 0

hi,

there is a common  differential equation in my maple note,the solution of the eq. can be expressed by

associated Legendre function(s),but i get a result by hypergeometric representation.how i can translate the later into a  single Legendre fun？

 >
 (1)
 >
 (2)
 >
 (3)
 >
 (4)
 >

### convert/listprocedure...

December 13 2013
2
2

It would be nice if Maple had a procedure which could turn a procedurelist into a listprocedure.
I use these words in the sense they are used in dsolve/numeric.
Thus by a procedurelist I mean a procedure returning lists (of numbers).
By a listprocedure I mean a list of procedures all having the same formal parameters and each returning one number.
Thus a convert/listprocedureshould accept a procedurelist p as input and give as output the corresponding listprocedure [p1,p2, ... pN] where N is the number of elements in the output from p.

I tried making a convert/listprocedure myself and in doing so found that it was not totally trivial.
I had lots of problems but did end up with something that seems to work.

convert-listprocedur.mw

But my main point is that Maple ought to have some such facility either as described available to the user or by changing fsolve, complexplot or what have you, so that procedurelists are accepted.

### Export animations frames into sequence of postscri...

December 09 2013
1 0

Hello.

Here is my question:

Is there an option to convert the animated picture into  sequence of separate images and then (eg using the program cycle) save this images as separate PostScript images? I know the possibility of exporting to GIF file and then converting them into PS file. But I do not have a PS file with a sequence of bitmap images. I would sufficed for me to be able to see a separate frame of animation (through any index).

Thanx Jaroslav Hajtmar

### Hypergeom to BesselJ...

December 02 2013
1 3

Hi All,

I tried to convert the following hypergeometric function into BesselJ function. But I failed to do so. Could any one let me know the  reference or procedure to convert the Hypergeom function into bessel function.

Following is the integral I am intended to do.

Result:

I need to convert the result into equivalent bessel function.

If at all there is a way to co-relate the generalized corelation between bessel function <-> hypergeom function.

Direct me to any books you come across.

Thanks

### text to 2D input...

November 25 2013
0 2

I have a vector that looks like this:

"GOOG.NASDAQ_A.4"
"GOOG.NASDAQ_AAC.4"
"GOOG.NASDAQ_AACC.4"

Now in order to make the api call it has to be expressed as:

http://quandl.com/api/v1/multisets.csv?columns=GOOG.NASDAQ_A.4,GOOG.NASDAQ_AAC.4,GOOG.NASDAQ_AACC.4

or as:

"http://quandl.com/api/v1/multisets.csv?columns=GOOG.NASDAQ_A.4,GOOG.NASDAQ_AAC.4,GOOG.NASDAQ_AACC.4"

How would I make that transformation?
It looks simple but it is difficult ie string notation and you cant copy past (thousands of stocks).

LL_101)_Quandl_Get_D.mw

### How to do Single matrix?...

November 03 2013
0 6

Hello ...

how to convert matrix to single code like below

for example ,a:=

how i want to combine a like b:= 00000001111000111100000110011001110101010101

### any short cut to convert a set to a Vector?...

November 01 2013
0 3

accroding to http://www.maplesoft.com/support/help/Maple/view.aspx?path=convert%2fVector  set can't be converted to Vector.

So I have to convert set to list, then convert the list to a Vector:

a:={1,2}:
convert(convert(a,list),Vector);

I was wondering if there is a short way to type this or a command that I might have overlooked, as it seems too much typing for such a common operation. (it would be nice if convert would support this automatically by doing the above so one can just type convert(a,Vector).  I am using Maple 17.02. I googled around, and did not find anything.

On a side note: The reason I ask, is that dsolve and many other operations like it, return the solutions as a set. Many times I need to multiply this by a Matrix. Hence the conversion need.

### Converted Binary to Decimal...

October 27 2013
1 7

I have list for a:=[11110, 10101,100,10101], but, this list i want assume that all number is base 2..
so, how i want to convert to base 10?

### Convert Decimal to binary...

October 06 2013
1 11

Hello....

how to convert decimal to binary??
for example [10, 3,90,6]..
how to convert this number into binary??

### convert BSplineCurve to function...

September 09 2013
1 0

i interpolate a function in some knots by BSplineCurve, the resulting function is parametric.

how i can convert this parametric function to a function?

thanks.

### Equations in Maple to MSWord...

September 06 2013
1 5

How can I copy and paste equations from Maple to Microsoft Word not in picture form so that I can edit.

I have some large equations derived in maple but want to paste them on Microsoft Word, where I am writing my paper.

Thanks

### convert(expr, Heaviside) error...

August 21 2013
1 6

Hello all,

I have a question about converting a continuous piecewise function to Heaviside function, which the function includes trunc() in its conditions.

(I found differentiating piecewise function gives me "undefined" at boundary)

When I do that operation (convert(piecewisefunc, Heaviside)) I get the error below.

"Error, (in piecewise/simprootsstep) cannot determine if this expression is true or false: 0 < 183.3333333*Pi"

### Convert to sequence form...

June 25 2013
0 2

I want to use for do loop and the print statement. print(h, AA) gives two columns left for h and right for AA separeted by comma. How to change this two column presentation so that I can get the sequence of h and sequence of AA. Note that print(h) and print(AA) gives two separate columns. But I want to convert print(h, AA).

for h from 0.01 by .1 to 5 do
AA := (1+h)/h^2;
print(h, AA) end do:

 1 2 3 4 5 6 7 Last Page 3 of 38
﻿