## 55 Reputation

3 years, 143 days

## StringTools remove "*" asterisk...

Maple

I would like to remove asterisk * from a string....

such as...

a:=2*x-5:

withoutstar:=StringTools[Remove](*,convert(a,string));

Any ideas would be appreciated???

## 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

 1 2 3 4 5 Page 3 of 5
﻿