Mathematica x1=1; x2=3; FindDivisions[{x1,x2},5]
|
Out[48]= {1,3/2,2,5/2,3} N[%] Out[49]= {1.,1.5,2.,2.5,3.} |
Maple x1 := 1; x2 := 3; ArrayTools:-RegularArray(x1..x2,5)
|
Vector[row](5, [1.0000, 1.5000, 2.0000, 2.5000, 3.0000]) |