Benjamin

12 Reputation

2 Badges

17 years, 59 days

MaplePrimes Activity


These are questions asked by Benjamin

I'm using the instructions;


with(CurveFitting):
pts := [[1, 2.5092], [2, 2.1219], [3, 1.8809], [4, 1.9421], [5, 2.2572], [6, 2.7967], [7, 3.2268], [8, 4.0927], [9, 4.9853], [10,6.3753]];
fn := LeastSquares( pts, x, curve = a*x^2 + b*x + c );
plots[pointplot]( pts );

and I get the plot, but a need to take the coeficients a, b, c. How I can get them into the same program?

Thanks you. Benjamin

 

Where I can get right and complete instructions for read .txt files from Maple 7 ? 

I follow the instructions like:

L := ImportMatrix( "data.txt", delimiter=" " );

for read a deta.txt file, or others like fopen, etc, and do not get the data.

 

Page 1 of 1