Also available:

## (if true then ...) seems to have a weird bug...

In Maple 2017.2:

```if true then print(1);print(2);print(3);print(4);print(5) end if;
1
3
5
```

## Error for the Vector constructor...

The following construction of a simple vector of matrices (just a test example)

`Vector(2,(a) -> Matrix(2,2,(b,c) -> m||a||b||c));`

works in Maple 17, but not in Maple 2017 where the error message "Error, (in Vector[column]) number of elements on right side must match subselection on left side" is produced. Why that?

Update: If no output is prompted, i.e., if the above line is terminated with colon instead of semicolon, then no error is raised. What?!

## How to hide the maple heading logo and source code...

Cmaple always print the source code first and then print output , how to print output only without printing heading logo and source code by default when use cmaple

## How to print without 2 rows for power with cmaple ...

When print a formula , if variable has power, the power will print in another row

how can it print like a^2 in one row

## How to sequentially print two matrix?...

When I print 2 matrix it always try to multiply them. How to force just to show?

## How Do I Print Text Followed by Math Without Comma...

I have checked many Maple pages and I found nowhere the answer to this question.

EQ:= s^2-4*s+1=3;

I need to print the following statement:

The Equation Is: EQ

I need the equation to appear where EQ is.

Thank you guys!

I appreciate it.

## How to print the final value?...

>mylist:=462;

mylist:=462

>kekuncirahsia:=proc(n) local c,d,r,sum; c:=n; while (c>9) do sum:=0; d:=c; while (d>9) do r:=irem(d,10); sum:=sum+r; d:=iquo(d,10);od; c:=sum+d;print(c);od;end;

>kekuncirahsia(mylist);

12

3

Hi, anyone know how i need to write my command to get this >> kekuncirahsiafinal:=3

I just want it to print the last digit..

Thank you~=]]

## How to plot by for loop...

I want to plot a function given different value combinations of parameters. I used the following code and it doesn't work. Could anybody please help?

## Having trouble with print...

Hi, I'm having trouble with print doing strange things:

a:=1235
1235

b:=751
751

p:=1601
1601

print(The solution `to` a^x = b (`mod ` p) is x = 1323)

1601 The solution to (1235^x) = 751 mod is x = 1323

Why has the 1601 gone to the beginning, and how do I make it go to the correct place?

Also is it possible to remove the brackets from around 1235^x?

And is it possible to make the brackets (that I have put in) go around the `mod` p?

EDIT:

If I do: print(The solution `to` a^x = b (`mod ` ,p) is x = 1323)

I get:  The solution to (1235^x) = 751 (mod, 1601) is x = 1323

So is there a way to just remove the comma on the output?

Thanks.

## Strange behavior of whattype...

with(Student[LinearAlgebra]);
example1 := Matrix([[1, 2, 3], [4, 5, 6], [6, 7, 8]]);
whattype(example1);

testproc := proc (A) print(whattype(A)) end proc;

testproc(example1);

The whattype() calls output:

Matrix
proc() ... end proc

I don't understand why what is a Matrix type outside the procedure seems to change into this unrelated type? This is really bizarre. I feel like it may be something outside my code? Thank you.

## Repetition with for...

Hi all

I have this repetition with for:

for i from 1 to 10000 do x[i]:=sqrt(i); print(i); end do:

I want to know at the same time when the repetition is working, the value of i where the calculation is. Not at the last time of the calculation of all the repititions.

Example: when i=1, I want to see 1, when i=600, I want to see 600 at the same time of execution the repetition and not the last of the repetition

Thank you

## Font size for printing worksheets from Maple 18...

Hi,

I am working on a Windows machine. In older Maple versions, decreasing the font size for the screen display (via zoom factor) also decreased the font size for the printout. But now the printout comes with a pretty large font size and does not change when using the zoom factor. It practically makes no sense anymore to print. How can I decrease the fonts for the printout to my liking?

Thanks.

heide

## How to print indexed names? ...

I have double indexed functiions f[j,k] of one variable and double indexed coefficients a[j,k].

I want my print do look like a[1,1]f11+a[1,2]f12 that is, the values of a[j,k] should appear beside the functions' names, like

7f11+2f12-3f21 etc.

Thank yopu for any help

## The output only "print" not results...

Hi,

why the output for this program just only "print BChange" not a matrix?

Der:=proc(A,n)

local i,j,k,t,S1,S2,l,C,sols,eqns,BChange;

C:=matrix(n,n); BChange:=matrix(n,n); eqns:={};

for i to n-1 do

for j from i+1 to n do

for l to n do

S1:=sum(A[i,j,k]*C[k,l],k=1..n);

S2:=sum(A[k,j,l]*C[i,k]+A[i,k,l]*C[j,k],k=1..n);

eqns:=union(eqns,{S1=S2})

end do

end do

end do;

sols:=[solve(eqns)];

t:=nops(sols);

for i to t do

for j to n do

for k to n do

BChange[j,k]:=subs(sols[i],C[j,k])

end do;

end do;

end do;

print (BChange)

end proc:

> A1 := array(sparse, 1 .. 2, 1 .. 2, 1 .. 2, [(1, 1, 2) = 1]):
> Der(A1, 2);
print BChange

thanks

witribm

## print across screen instead of down...

this module looks at the numbers in the list and reports "true" if they are nonnegint (whole numbers).  is there a way to make the printout go across the page instead of down?

-3
false
-2.5
false
0
true
1
true
3
-
2
false
Pi
false
(1/2)
5
false