Thomas Dean

227 Reputation

9 Badges

16 years, 98 days

MaplePrimes Activity

These are questions asked by Thomas Dean

line := x/100 - 1/2;
wave := cos(x / 5) * sin(x / 2); ## -1 <= wave <= 1
eq:= line - wave;
r1 := solve(line < -1); ## RealRange(-infinity,Open(-50))
r2 := solve(line > 1);  ## RealRange(Open(150),infinity)
## There are 27 solutions in RealRange(-50,150)

I searched Questions.  Found many solutions.  The only one that seems to work is Student[Calculus1]:-Roots()

Is there another way to do this?

In a thesis by Md. Mohsin Ali at the University of Ontario, he says that ifactor uses multiple threads and presents a graph of measured results.

I ran ifactor with a 100 digit input and do not see mserver using multiple cores in top.  I do see mserver using 100% of a single core.

Am I missing something?


kilobytes used=921, alloc=1200, time=0.09
kilobytes used=1325, alloc=5296, time=0.13


kilobytes used=107733, alloc=9228, time=6.64

Process Maple segmentation fault (core dumped)

No matter what I do from the keyboard, a core dump is not a reasonable response.


eq:= x^2-y^2*z-y*z^2;


memory used=177.9MB, alloc=44.3MB, time=2.29
Initializing Java runtime environment.
munmap_chunk(): invalid pointer
Error, (in Maplets:-Display) computation interrupted


eq := 61*x^2 + 1 = y^2;
sols := (isolve(eq) assuming (x::posint, y::posint)):
for sol in sols do
  print(subs(_Z1 = 1, sol));
end do;

isolve returns the solution in terms of _Z1, indicating there may be infinite number of solutions?
I think {x = 226153980, y = 1766319049} is the only solution with x::posint, y::posint.

How do I restrict this to only positive integers in the solution?

1 2 3 4 5 6 7 Last Page 1 of 11