Maple 12 Questions and Posts

These are Posts and Questions associated with the product, Maple 12

How to convert "123" into integer 123

i use sprintf %d still can not convert to integer

If input a group of outputs which are binary numbers

can it simplify to give a logic that can output these outputs

If input ["1","1","2","2","2","77"]

output a graph such as

1 has 2 times

2 has 3 times

77 has 1 time

"01000001" is A

how convert string of binary into a characters?

and

how to convert this string into 65 too?

Primetable :=table[(2=b,3=c)]

so far, hard code in above code

is there a generic code for general

according alphabet order 5=d,7=e etc

Op(1,ifactor(12))

is 2^2

it has power

how to get 2 only

If I pass "a := x + y;"

as a string

can it turn to command?

if so, can it export this feature into c# or python?

how to count the number of decimal places if input a decimal number

i use

A -> B

B -> C

would like to find A -> C directly from A -> B and B -> C

but logic table show that AND(A->B, B->C) is not equal to A -> C

and (A->B) -> (B->C) is not equal to A -> C too

which logic operations can do this?

because do not want to use result to verify and because i do not know the result in the beginning

I could keep on using the commands 

with(GraphTheory):

with(RandomGraphs):

DrawGraph(RandomTree(7))

but then this is not helpful because I do not get non-isomorphic graph each time and there are repetitions. So any other suggestions would be very helpful. 

for example

func1 := proc(system1)

for i from 1 to 100 do

solve([system1[1], system1[2]],[x,y]);

od:

end proc:

 

func1([diff(y,t) = data[i+t+1], diff(x,t) = data[i+t+1]])

i is depend on the for loop inside a function, but woud like to pass this system into a function with i

this will cause error

how to write better for passing a system as parameter using variable inside a function?

indets(AA(MM(AA(X1,X2),B2),MM(AA(B2,X3),X5)));
this can get a list of X1,X2,B2,X3,X5

propositionsentence := MM(AA("it", "run"), "maple"):
indets(propositionsentence);

but this can not get "it", "run", "maple"

how to do this in case this in maple 12?
 

i use optimization package with constraint hello >= 0

Minimize(xx=0, {hello >= 0})

but solution only return the case when hello = 0

how about hello > 0?

i would like to find all possible set of solutions using this constraint

do i need to set upper bound, such as {hello <= 7, hello >=0}

can it return solution when hello = 1.1, 1.2, ...2, 2.1, 2.2, 2.3, ....7

How to create a hyperplane which perpendicular to groebner basis

tord := plex(x, y, z);
G := Basis([hello1, hello2, hello3], tord);
ns, rv := NormalSet(G, tord);
Error, (in Groebner:-NormalSet) The case of non-zero-dimensional varieties is not handled
is this error due to version of maple?
which version do not have this error?
 
First 13 14 15 16 17 18 19 Last Page 15 of 32