|
4
|
Full compatibility.
|
There are functions that will not work in Derivatives Expert 1 with Mathematica 4.
Derivatives Expert 1 is generally functional with Mathematica 4.0, except for e.g. the following "inconvenience":
In Mathematica 3.0 N[0] results in an exact zero, while in Mathematica 4.0 N[0] results in a machine-precision zero.
In Derivatives Expert 1 there are functions that take e.g. a cash flow as the argument.
This cash flow can be specified in calendar time, thus with explicit specification of the dates e.g. {{date0, cf0},{date1,cf1}...}.
Otherwise the cash flow can be specified in non-calendar time e.g. {{0, cf0},{1,cf1}...} where cf0 is the cash flow at time zero, and cf1 is the cash flow at time 1 (year).
The change in Mathematica's handling of N[0] results in an inconvenience when using Derivatives Expert 1 with Mathematica 4. This inconvenience means e.g.:
N[{{0, cf0},{1,cf1}...}] yields {{0., cf0},{1,cf1}...}
and this cash flow is not accepted as input in some functions (which are just a few functions). Thus the zero must presently be an exact zero to be used as an argument to the functions in question.
A solution, until you get Derivatives Expert 2, is to use e.g. Round[0.] at the relevant places.
|