alexroz

10 Reputation

2 Badges

10 years, 48 days

MaplePrimes Activity


These are questions asked by alexroz

When I type
                    printf(cat("Answer: ", sqrt(4)));

The result is Answer: 2. So, everything is OK.

However, if I type
                            printf(cat("Answer: ", sqrt(5)));

I got an error message: (in fprintf) format string expected....

I need to keep parentheses surround some expression, e.g. (2x+1). However, Maple removes parentheses. Is there a way to keep them?

I try to write sqrt(4) so that it will not be calculated to 2. I typed uneval(sqrt(4)) and received sqrt('4'). I do not want quotes surrounded number 4. How can I suppress it? Is there another way to write sqrt(4) without calculation to 2?

Page 1 of 1