## 50 Reputation

2 years, 304 days

## Maple Interactive Worksheet...

Maple

I am attempting to build a text field at the bottom of this worksheet MathApps-ResistorsMark.mw  that asks users for the resistance.

I am hoping to have the value of the text field evaluated using the Module() at the bottom of the startup code, for use as a question within MapleTA.  For some reason I can get the code to work for a slider, but not a textbox.

I have limited knowledge about startup code.

Notice: I will be removing the resistance from the diagram for students after I know it works.

I appreciate any help that can be offered.

## Inert polynomials output to latex...

Maple

Hello,

I would like to build a Maple call, whereby 5x^3+7x^2+2x^3 is somehow exported to latex without collecting like terms.

I cannot seem to get it to work.

any help would be much appreciated.

Thanks,

Mark

## 4 linear factors...

Maple

Hi all,

I am hoping to use Maple to develop a list of 4 distinct linear factors with the following conditions...

1)  each individual factor does not have a common integer factor...  ie...  3x+9 is not permitted

2)  the coefficients in each individual factor has an integer between (-9 and 9) without the possibility of zero...  ie x + 0 and 0*x +3 are not permitted

3) each seperate factor is prime to one-another.  ie.  factor1=3x+4  and factor2=-3x-4 is not permitted.

I was hoping to use something short and sweet, using a sequence (if possible), but continue to run into problems.

Any help out there would be fantastic

Thanks,

Mark

## randpoly problem...

Maple

Hi all I am attempting to use the randpoly feature to generate a random polynomial of 1st degree with non-zero coeffs between -2 and 2.

I have tried the following:

factor1 := randpoly(x, dense, degree = 1, coeffs = rand(-2 .. 2))

unfortunately as you will find quite often this produces the polynomial "0".  Which it is very clear this is not wanted.

Any ideas would be appreciated.

Thanks,

Mark

## Output to MathML as separate fractions...

Hi all,

I am trying to display, using mathML, two seperate fractions being multiplied as two seperate expressions with a multiuply in the middle.

as of now I have:

restart:
left:=(x+3)/(x+7):
right:=(x-4)/(x-1):
XMLTools[Print](MathML[Export](left*right)):

The above Maple entry displays as:

I would like: