samira-shoeibi

0 Reputation

2 Badges

12 years, 76 days

MaplePrimes Activity


These are questions asked by samira-shoeibi

thanx for ur answer.it reallly work for float data.but some of the data are complex,like:0.0536472874I,and some are float like:0.043443322222

the float numbers are written in the file and the program is worked until the result is complex number.it stop the program and print the error again!

what should I do with this?!

thank you

hi

I have a problem when i want to write some data on a file.

the main program is work,but when it wants to write,this error is shown:

Error,invalid input: writedata expects its 2th argument, data, to be type of {set,hfarray,list,matrix,array(1),list(list)}, but received HFloat(-0.08716693)

the program is:

restart

fd:=fopen("e:/teta.txt",read)

fg:=fopen("e:/c.txt",write)

g:=readdata(fd,3)

with(linalg)

Page 1 of 1