## 490 Reputation

14 years, 280 days

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

## How to report a bug?...

@Rouben Rostamian  Thanks for the work around. What's the procedure for reporting a bug? i've never done so.

## correct...

@Carl Love I am working with matrices with integer entries, so I naturally made the assumption that they are all integers, however, this property does not require integers.

## So Easy...

@Markiyan Hirnyk This is just what I needed. Thanks for a nice, simple solution!

## Indeed...

@Carl Love It can be shown quite easily with such restrictions on the entries, the eigenvalues will be c+d and a-c. It's a nice little trick to have the eigenvalues be integer valued, without going for the obvious triangular approach.

## Thanks...

@Kitonum Yes, I am aware of how to do it using the formulas for projections, etc.

## Upvote...

@Carl Love I wish I could upvote your comment!

## another remark...

@Axel Vogt I don' think learning math is the goal here ;-)

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