## 1080 Reputation

16 years, 267 days

## hardware evaluation and integrals...

Maple
I can write evalhf(sin(.25)) and get an answer with more precision than simply writing evalf(sin(x)). When I create a loop and time it I see that evalhf is much faster. Unfortunately, I can't seem to take advantage of this when doing numeric integration. e. g. evalhf(int(sin(x),x=0..4)) doesn't work. Some numeric integration problems are very slow and it would be nice to speed them up with hardware evaluation. Any way to do this? -thanks

## Plotting point data...

Maple
I am trying to display some points on the same graph as a function. I first create 2 variables, P1:=plot(func(x),x=6..8):P2:=plots[pointplot](Data) where Data is a 10 x 2 Matrix. None of the x-values in DATA is less than 6 Problem is, when I execute plots[display]({P1,P2}) the plot produced ignores the range command in P1. It starts at x=0. Placing the range command directly in plots[display]({P1,P2}) generates an error, as does placing the range command in P2:=plots[pointplot](Data) Evidently plots[pointplot] does not accept a range command, and insists on starting at x=0. Is there any way around this?

## a number in a range...

Maple
Suppose I want to know whether or not z is in the range of 1..10. Is there any way of finding this out without writing z twice, e. g. if (z>=1) and (z

## Matrix display in equations...

Maple
I have a situation which is not really complicated but it would be awkward to explain it in a text post, so I have described it in the attached worksheet. It has to do with the display of matrices. If anyone has the time to take a look at the worksheet and propose a solution I would be grateful. -Thanks View 2292_Matrix Display.mw on MapleNet or Download 2292_Matrix Display.mw
View file details

## Equal Matrices...

Maple
Suppose I have 2 Matrices, say each is 3 by 3. Is there any way I can check for the equality of all corresponding elements of the matrices without resorting to a for loop or something like that?
 1 2 3 4 5 6 7 Last Page 3 of 14
﻿