## RE: How to ask Maple not to automatically convert...

Hello all,

When I enter the following expression:

eqaux_2 := l__bb = L__aa0 + L__aa2 * cos(2*theta - 4/3*Pi);

the cos function got converted an equivalent sin function automatically and the result was displayed like this:

l__bb = L__aa0 - L__aa2*sin(2*theta + Pi/6)

Is there any way to ask Maple not to do this automatic conversion?

Maple Worksheet - Error

Failed to load the worksheet /maplenet/convert/q20210204.mw .

## RE: solving a set of non-linear equations...

Hello there,

The equations described below are third-order equations. Therefore, the number of solutions would be 3.

However, when I tried to solve them using the 'solve' command, only two solutions came out.

Is there any chance to find the last one?

Maple Worksheet - Error

Failed to load the worksheet /maplenet/convert/Q20210201.mw .

## RE: how Maple solve an equation...

Hello there,

When I tried to solve an equation using the 'solve' command in Maple, I got an answer.

However, I could not understand how Maple got to the answer. Would you tell me what steps Maple might have gone through in order to come to the answer?

Here is my worksheet:

q20210130.mw

Maple Worksheet - Error

Failed to load the worksheet /maplenet/convert/q20210130.mw .

PS) Perhaps this editbox began to dislike Google Chrome.

## How to get map to work?...

Hi,

I was able to get Procedure 2 to work using a for - do loop. I was wondering if it is possible to speed up the calculation by using map to find the number of roots? I do not fully understand map and passing data.

tgf := proc(a, b, c, d, t, m, n)

local X;

X := [solve(abs(a*x + b) + abs(c*x + d) - t*x^2 + m*x - n = 0)];

return nops(X);

end proc;

res := CodeTools:-Usage(map(tgf, L));
Error, (in CodeTools:-Usage) invalid input: tgf uses a 2nd argument, b, which is missing

The L Array is tripping me up, here is a partial display of the array:

Array(1..262, 1..7, [[5,2,3,9,1,1,1],[5,2,3,9,2,1,1],[5,4,3,7,1,1,1],[5,4,3,7,2,1,1],[5,5,3,6,1,1,1],[5,5,3,6,2,1,1],[5,5,4,8,1,1,2],[5,5,4,8,2,1,2], ... ,[10,10,5,10,2,2,2]], datatype = integer[4]).

I made L Array into a list of list, R. Somewhat works.

Here is the script:

Thanks for any help.

## Facing an issue in solution...

Can anyone correct me, what's wrong with it.

Help_solution.mw

## Why do I come across a numeric overflow in (m^e) m...

Hello,

I'm experimenting the RSA encryption algorithm and in one example, I need to calculate (m^e) mod n where :

n=4142074788597595058238933087635402958555715420375128103710780511

m=65108105099101044032

e=3467995563410655813589059428902496618444213189544232426283402949

and I receive : Error, numeric exception: overflow

Even though these are large numbers, modular arithmetic algorithms should be able to deal with that.

Why is it not the case ?

NB : One of the mathApps in the category Computer Science is "RSA Encryption" and proves to be fairly comfortable with such large numbers, no overflow!

## Error Bars in ScatterPlot...

```V1 := [1.666666667, 1.983050847, 2.372881356, 2.768361582,
3.380681818, 3.977272727, 4.767045455, 5.755681818,
6.937500000, 8.244318182, 9.801136364, 0.2971428571,
0.6914285714, 1.085714286, 0.3942857143]
dV1 := [0.03315280331, 0.03866282527, 0.04508264551,
0.05165406892, 0.06212371278, 0.07219635124, 0.08557994498,
0.1023815798, 0.1225076192, 0.1447933406, 0.1713677762,
0.01380612592, 0.01872473080, 0.02454205309, 0.01488350319]
V2 := [17/10, 2, 12/5, 14/5, 17/5, 4, 24/5, 29/5, 7, 42/5, 10, 3/10, 7/10, 11/10, 2/5]
dV2 := [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
```

Hey,

i have trouble adding error bars to my plots despite experimenting with it for hours. I tried using ErrorBars but i never get close to what i need. What i have is V1 (values for y) and V2 (values for x) to produce a ScatterPlot which works alright. What i need is something like this: .

For the errors in x and y-direction i have 2 lists dV1 (y errors) and dV2 (x errors).

This is my first post and i´m a bit in a rush so please excuse me for any mistakes i may have made.

## How parallel CPU in maple to fast calculation inte...

Calculation of these integrals takes much time.

Is there a way to reduce the time?

MY_SYSTEM.mw

## Boole Mobius Transform Procedure efficiency...

I have this procedure to perform a Boole-Mobius Transform. I took me quite a while to figure out. Whereas it works, I wonder how it should be done efficiently? The document is also attached which shows the steps I went through to derive the procedure. I can't get the document to display.

```BooleMobiusTransform := proc(V)
local n, im, istep, jm, h, istart, i, j, k; n := ilog2(numelems(V)); im := 2^n/2; istep := im; jm := 1; h := 2^n;
for k to n do
istart := 1;
for j to jm do
for i from istart to im - 1 + istart do
V(istep + i) := (V[istep + i] + V[i]) mod 2;
end do;
istart := istart + h;
end do;
im := 1/2*im; istep := 1/2*istep; jm := 2*jm; h := 1/2*h;
end do;
return V;
end proc```

Boole-Mobius_Transform.mw

## Area between two curves using MAPLE...

DEAR SIR,

GOOD EVENING.

HOW TO FIND THE AREA BETWEEN THE CURVES  USING MAPLE?

## apply the following conditions to plot functions...

How I can edit and apply the following conditions to my plot functions

`######   I want to change q  (starting from 0.3) from 0.3 by .001 to 0.377 and plot 2D (u-q) ,(v,q), (u,v) and  plot3D (u,v,q)`

`######   I want to change q (starting from 0.37727) from 0.37727 by .001 to 0.390059 and h from 0.1 by .001 to 0.138462  and plot 2D (h-q)  and  plot3D (u,h,q),(v,h,q)`

I couldn't attach my file here, so I uploaded that here

## Are numerical methods and implicit, exact methods ...

Hi,

I am studying nonlinear differential equations, and came across an interesting one on maple's help page.  I made a post about this equation already, but I have decided to make a new post because the topic is slightly different than from the previous post.

The topic of this post is:

"Can numerical methods and exact, implicit techniques find false solutions?"

To make the discussion clearer, the rest of this post can be found in the maple file I created.

## Need Help on Integration...

Hi to all community. I am trying to integrate a lengthy-expression but could not get the result after waiting of 1 and 2 hours even. is there any way to control such integration

Integration_Help.mw

## Composition of polynomials...

A very simple question (by example):

Consider two polynomials g and h:

with(PolynomialTools):

g:=FromCoefficientList([1,2,3],x);

h:=FromCoefficientList([4,5,6,7],x);

What is the syntax for computing the composition of g with h? (As a polynomial.)

For instance, I would like to use CoefficientList on the result.

I know the @ operator and the subs command and have tried using them in various ways, but with no success.

(Of course, my question is general; the above is just an example.)

---

Edit: Additional question (which is my real question):

I'm writing a procedure that takes two polynomials g and h, and in which I define an unknown polynomial f. I want to compute its coefficients so that

f "composition" g = h

I write:

fCoeff:=seq(a[i],i=0..t) (to define the unknown coefficients. I can compute t.)

f := FromCoefficientList([fCoeff],x);

Then I would like to do something like:

comCoeff:=CoefficientList(f "composition" g,x)

If I have this, then I know how to solve for the unkown coefficients in f.