## 535 Reputation

17 years, 43 days

## Does the job!...

@mmcdara Thank you. This does what I need it to do!

## Just need it to work......

@acer Well, I've been playing around with the density option, but I am not getting it to work consistently. Maybe I'm not using it correctly.

For a 10x10 matrix, I don't think speed will be much of an issue. Although, it would be nice to have a solution that is scalable for larger matrices.

## Thanks...

@vv Yes, I find it a bit perplexing that Maple attempts the same methods for both, but is only able to evaluate one of them. The rewriting you've done is what is typically taught in a standard integration techniques unit, which facilitates a straightforward substitution.

Moreover, I observe a similar behavior when attempt to evaluate comparable integrals involving powers of tangent and secant. Risch is being employed, I believe.

 (1)

 (2)

 (3)

 (4)

 (5)

 (6)

 (7)

## Why......

I know how to get Maple to perform the integration, the question is why does the second integral require more? By hand, the same approach to integration works, particularly under the assumptions you stated. Other CASs, for example Mathematica, is able to handle both integrals easily.

## Definition...

@Carl Love The standard definition of continuity of a real-valued function, in a first semester calculus course is as follows. A function f:A->B, where A and B are subsets of R, is continous at a in A if:

(1) f(a) exists,

(2) lim f(x) as x->a exists, and

(3) (1) = (2)

Many books refer to this as a `continuity checklist`. This can then be modified using one-sided limits to reflect right- or left-continuity.

## Agree...

@nm I completely agree with this. How do we make suggestions to the Maple engineers?

## Yes.....

@Carl Love Ideally, I would like to restrict the domain and codomain to R. I didn't know is there was a system-wide way of achieving this. This isn't specific to just the sqrt function. It is true also for arcsine and arccosine. I have first-year college students exploring properties such as continuity using Maple. In these classes we use only the real number system, not the complex one. So, some of these results are initially confusing for the students. The follow-up discussion tends to be a good one, however. Thanks for your help!

## Can we force only real numbers?...

@Carl Love Is it possible to restrict it to the real domain?

## Thanks!...

@acer I like this approach a lot. Originally, I simply wanted the set of possible rational zeros. But the answers have given me more to think about. Much appreciated!

## A couple edits......

Thanks! Just a couple changes, in FullRandom, since you are allowing for a polynomial of arbitrary degree, the if statement should read if nops(q)=N+1. Also, in the definition of S1, it would have to be coeff(q,x,N) so as to grab the coefficient of the leading term.

This is much appreciated!

## Yes.....

@tomleslie I am aware of the ability to export graphs from Maple to formats that are easily included in a LaTeX document. That is not what I'm looking for. I want to generate the LaTeX code that produces the desired graphs. Thanks, anyway!

## Perfect...

@Kitonum It never dawned on me that shadebetween( ) accepts variable limits. Thanks so much!

## yes...

@acer yes, this is exactly what I needed. Given how rationalize( ) works, it makes sense that we have to use the reciprocal. Thanks!

## @Preben Alsholm This is a nice, eff...

@Preben Alsholm This is a nice, efficient solution. I never knew about "freeze." I always seem to learn something here, thanks!

## @Kitonum Thanks for the multiple ap...

@Kitonum Thanks for the multiple approaches.

 1 2 3 4 5 6 7 Page 3 of 7
﻿