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"

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:

One of those vexing things that should be easy:

I am reading in a data file using ImportMatrix. Since the file has one column with texual data I cannot use datatype=float since that bombs. I >can< ImportMatrix with datatype=string or anything.

I then extract columns using the appropriate command and want to do something numeric with them (only with those columns that have correct floating point numbers). That fails since my data are now not floats (even when using anything...

An intersection in my neighbourhood, currently controlled by a 2-way stop, is under consideration to become a 4-way stop. This means the traffic that currently has the right-of-way will be required to come to a complete stop, wheras previously they could have coasted down the hill, and accelerated up the other side. Politics aside, I was curious to explore the following question:

Hi again! :-)I just ran into another problem with units...I want to remove all units from an expression like this oneV[dis]:=(3/100000)*Unit('m')^3+0.1e-2*Pi*Unit('m')^2*(.112-0.28e-1*cos(theta)-sqrt(0.7e-2-0.1e-2*sin(theta)^2))I've tried with convert(V[dis],'units_free') but Maple wont let me use that command, when the expression contains units in powers (square and cubic).I guess there is another way arround, but how?Best regards

Hi,

with great interest and surprise I read the post"Converting Half-Angle Trig Formulas to Radicals".Isnt it possible to evaluate cos(arccos(13/14)/3) alsoto an exact expression in radicals ?I simply do not succeed with my humble knowledge ofthe Maple commands/internal workings...Would be great if someone finds a solution ( of an unsolvable problem ??? ).

[Edit: Excess white space deleted.---Carl Love]

Use RSA with the modulus n=119 and the exponent e=7, with the 95-character alphabet consisting of the printable ASCII characters to encrypt the word "Yes". Recall that the alphabet is given by

Alphabet:=cat(Select(IsPrintable,convert([seq(i,i=1..255)],bytes)));

so that Y=57, e=69, s=83. Give your encryption as a list of three numbers.

Is there any way to convert the output of ToInert to a graph/tree representation? ToInert's output type is a function and I've tried converting it to an expression first but didn’t succeed. I've also looked for functions in the GraphTheory package that could help in this process but didn’t manage to find anything useful.Thank you.

writedata("C:\\duffy\\mapleprogramme\\relevant\\conditional optimal\\optimal3", css, float);> convert(css, matrix);

I used the above command to save data into a file but it didn't work. I also used the comand export (which would be better) to save data in one excel column, but it didn' work either, could you please help me understandig how can I save data? The data appear in the programme with this format:

Matrix(1, 1, {(1, 1) = .73951725}), Matrix(1, 1, {(1, 1...

I need to use subscripts to define a system of equation and its respective variables. I do not encounter any problem when I use solve or Basis (with Groebner package) but when I tried to use RealRootCounting (with RegularChains and SemiAlgebraicSetTools packages), I got the following error message:

Error, (in RegularChains:-SemiAlgebraicSetTools:-RealRootCounting) invalid input: TRDnearsolve expects its 5th argument, vlist, to be of type list(symbol), but received [p[1], x[1], q[1], u[1]]...

Hi, I use Maple 13 and have this issue to solve.

In an archive.txt there is the following Vector:

-1/64*cosdincl^2*cos(2*ele-2*g-2*anom-2*w)+1/16*sinfJ*cosfK*sindincl*cos(2*ele+g-h+om-2*anom-2*w)-1/16*sinfJ*sinfK*cosdincl*cos(2*ele-g-2*h+2*om-2*anom-2*w)+1/16*sinfJ*cosfK*sindincl*cos(2*ele-g-h+om-2*anom-2*w)-1/16*sinfJ*sinfK*cosdincl*cos(2*ele-g+2*h-2*om-2*anom-2*w)+1/16*sinfJ*cosfK*sindincl*cos(2*ele-g+h-om-2*anom-2*w)+1/128*cos(2*ele+2*g-2*h+2*om-2*anom-2*w)

Dear Users,

I would like to know how to convert the following bessel product into a polynomial form.

I have an experession as follows:

BesselI(1,p*x)*BesselK(0,p*x)+BesselI(0,p*x)*BesselK(1,p*x) #where p is arbitrary real positive constant and x is a variable

How to get the result in maple by simplify, convert or any other functoins.

Thanks for your attention.

Hi all,

A := [[1,2],[3,4]];

A1:=convert(A, Matrix);

I am very happy with conversion between Matrices and Vectors.

However, I does not seem to be able to do this backwards to [row] or [column] Vectors???

Say how do I get back to A from A1???

I tried to use

convert(A1,Vector);

convert(A1,Vector[row]);

convert(A1,Vector[row],2);

And many others...

Hello,

I am working on a project where Maple's output is fed to another software which requires all it's input in specific format. So, I want to print this expression,say

y=+2.*x+.2, in this software, but it takes input as

y=2*x+0.2, So now I have to change

+2. to 2.0 or 2 (if it's starting of the equation)

-2. to -2.0

.2 to 0.2

Is there any way to convert all the numbers in the equation to...

I am working on a Maple project and it require me to pass a differential equation in a specific order like

x'=y & y'=x^2.(It is differentaiting w.r.t 't'(say))

However when I convert the equation into string it converts something as

diff(x(t),t)=y(t) & diff(y(t),t)=x(t)^2

Is there any way to stop maple from evaluating into maple/math format?

Is there any way to pass an equation without changing it's existing form?...

You must be logged into your Facebook account in order to share via Facebook.

Click the button below to share this on Google+. A new window will open.

You must be logged in to your Twitter account in order to share. Click the button below to login (a new window will open.)

Please log-in to your MaplePrimes account.

Wrong Email/Password. Please try again.