Items tagged with convert convert Tagged Items Feed

So I came across the conversion ability in Maple 10 (My school had some trouble with the registry, it's fixed now, so we're up to date with 10!) Anyways, so I made it convert simple statements and functions, but now my question lies in exactly how deep can this conversion functionality go? Is it possible to say write a java program and convert it into a Maplet and vice versa? I know that Maplet doesn't exactly work like a full blown computer language as alec made clear in his post on the front page, but lets say I wanted to make a window in Maplet, can I convert that from Maplet to java and
I am trying to get students to solve inequalities. They have to enter intervals and I modify their response-string before processing it. Something weird happens when using RegSubs. I have reduced the behaviour to the following maple*-code: expr := convert("$RESPONSE",string); with(StringTools); expr1:=RegSubs(",(.+)[)]"=",Open(\\1))",expr); evalb(expr1="(0,Open(1))"); This returns true when I enter "(0,25)" (without the quotes of course; you can replace 25 with anything you like). So, instead of the parenthesised .+, the \\1 just yields a 1. When I execute the code in my own Maple10, the correct substitution is made. I think our server runs Maple9. Any comment is appreciated.
Hi, Is there some way to get maple to replace "arctan(sin(theta)/cos(theta))" with theta? I know that it doesn't always equal theta :-) but I'm switching to and fro and to and fro, between cartesian and polar coordinates and... As a consenting adult, I'd like maple to trust me to be able to keep track of things myself. I tried "assume(theta > 0, theta less than Pi/2)" and that didn't help. (Note: I really used the "less than" symbol but for some reason this post gets cut off by that symbol so I wrote it out...) I also tried "convert(arctan(sin(theta)/cos(theta)),trig)" and "simplify(arctan(sin(theta)/cos(theta)),trig)".
A new version of the File Manager was just uploaded. This version now can convert more files to HTML in addition to Maple .mw worksheets. Now if you upload a .txt .mpl, .m, .html, .htm, .maplet, .mm, or .csv file the contents will automatically be converted to HTML. This allows you to view the file directly on MaplePrimes without having to download the file. You can copy the HTML code into your postings, allowing people to see your text files formatted correctly in your postings. When you upload an HTML file, the file's formatting is left intact. But the file's <head> section is removed so that when you paste the file in, it will not cause problems with the formatting of the site.
Question is easy but not for me :). How do I convert fractures into regular numbers. Thank you! Greetz Pieter
Hello, I would like to convert Maple solutions to Matlab code. Is there a simple package or Maple code doing that ? I do not want to create a permanent link between Maple and Matlab with a toolbox but simply convert the Maple code to a Matlab code. Thanks a lot ! Guillaume
I am a starter of the maple, now i have a problem of the equation of convert. the equation is like that: D(x1):=a1*fx+a2*gx-alpha*Ab; need a commend to convert equation gx:=...... but i don't know which commend can i apply in the Maple?
Hello, Does anyone know how I can open/convert some (old?) Maple worksheets which have the extension .ms? I'm using Maple 10 now, and I just found these old files that I need to use. Thank you all in advance for any ideas or suggestions. FB
I try to solve a large class of origami folds using Maple, this is the mw file (at this stage, only one step missing, I'm not very good with trigonometry using Maple).

At this end I only have to express the angle alpha in function if the anlgle theta and the lengths y_a and y_b.

More explainations soon.


restart:with(LinearAlgebra): L:=407: > L2:=convert(L,binary): > N:=length(L2): > T:=2^N-L: > TB:=convert(T,binary): > k:=length(TB): > T2:=convert(T,base,2): > T2V:=Vector[row]([T2,0$(N-k)]): > T2VC:=Vector[row]([1$N]): > T2V1:=VectorScalarMultiply(T2V,-1): > T2VA1:=VectorAdd(T2VC,T2V1): > ADDT:=Vector[row]([1,T2VA1]): > B_N:=Array(Hessenberg[lower],1..N+1,1..N+1,(a,b)->1): > C:=convert(B_N, Matrix): > Permanent(C): > delB:=DeleteRow(C,N+1..N+1): > B(L):=Matrix(N+1,N+1,[[delB],[ADDT]]): > Permanent(B(L));
I do not understand how to use this command (on strings), I want to convert
outputs from PARI like below - any hints for me doing that?

"5.2185454343674342011212095337 E444" ->
"0.E-66*I" -> 

"0.14237172979226366716527232070 +
which would work with 'parse', but not if exponential notation is involved.
convert(407,binary); 101100111 I want the vector [1,0,1,1,0,0,1,1,1]. I don,t make this. Please help me!
Hi folks, I'm using the IntegralTools(Change) function to change the variables of integration in a double integral to lower the order of a polynomial under a radical prior to integration (praise to Axel!). The result contains exponents under the radical and in the limits of integration that seem to defy Maple's numerical integration routines. (Sorry for not using HTML! I tried to present in 2D math, but the preview post omitted the math entirely. Just paste it into a worksheet to convert this text mess into a mathematical one.) Int(70871722182849/100000000000000000*Int((20.6066600725-0.164853280580e-1*sqrt(1.562500*(RealDomain[`^`])(10, 6)+7.58249999999*(RealDomain[`^`])(10, 6)*(RealDomain[`^`])(xi[2], 99999999999999939/100000000000000000)-3.35631780000*(RealDomain[`^`])(10, 7)*(RealDomain[`^`])(xi[1], .10000000000000)*(RealDomain[`^`])(xi[2], 99999999999999939/100000000000000000)+9.19908900000*(RealDomain[`^`])(10, 6)*(RealDomain[`^`])(xi[1], .20000000000000)+9.19908899998*(RealDomain[`^`])(10, 6)*(RealDomain[`^`])(xi[2], 99999999999999939/50000000000000000)+7.58250000000*(RealDomain[`^`])(10, 6)*(RealDomain[`^`])(xi[1], .10000000000000))+50.0000000000*(RealDomain[`^`])(xi[1], .10000000000000)+50.0000000000*(RealDomain[`^`])(xi[2], 99999999999999939/100000000000000000))*(RealDomain[`^`])(xi[2], 0.70163004961021e-1), xi[1] = (RealDomain[`^`])(c, 1000) .. (RealDomain[`^`])(d, 1000))/(RealDomain[`^`])(xi[2], 99929128277817151/100000000000000000), xi[2] = (RealDomain[`^`])(a, 100000000000000000/70871722182849) .. (RealDomain[`^`])(b, 100000000000000000/70871722182849))
I have noticed that my text that was converted from MW to HTML is not properly displayed. If you look at the end of the text, you will se the command > f:=x->piecewise(x FSeries:=FSeriesOfFunction(f,-Pi..Pi); which is not correct. The part "FSeries:=FSeriesOfFunction(f,-Pi..Pi);" is the next command. View the original worksheet via the MapleNet to see the difference. The problem is in the symbol "lower than" (which appears in definition of the piecewise continous function), because the publication system (or what) thinks that it is the begining of an unsupported HTML tag and the "tag" is removed. The solution is to substitute "lower than" for "< ;" (without the white space before the semicolon) and maybe the same with the "grater than" symbol.
I have noticed, that a text, that was converted from MW to HTML is not correctly displayed. Link to my text is If you look at the end of the text, you will se the command > f:=x->piecewise(x FSeries:=FSeriesOfFunction(f,-Pi..Pi); which is not correct. The text "FSeries:=FSeriesOfFunction(f,-Pi..Pi);" is the next command. View the original worksheet via the MapleNet to see the difference The problem is in displaying of the symbol "lower than" (which is in definition of piecewise continous function), because the publication system (or what) thinks that it is the begining of an unsupported HTML tag. What about to substitute "lower than" for "< ;" during the conversion (and the same for "grater than" symbol)?
First 32 33 34 35 36 37 38 Page 34 of 40