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.
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?
I am trying to display some points on the same graph as a function. I first create 2 variables,
where Data is a 10 x 2 Matrix. None of the x-values in DATA is less than 6
Problem is, when I execute
the plot produced ignores the range command in P1. It starts at x=0. Placing the range command directly in
generates an error, as does placing the range command in
Evidently plots[pointplot] does not accept a range command, and insists on starting at x=0. Is there any way around this?
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
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.
View 2292_Matrix Display.mw on MapleNet
or Download 2292_Matrix Display.mwView file details
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?