kayj

20 Reputation

2 Badges

15 years, 192 days

MaplePrimes Activity


These are answers submitted by kayj

Thanks Pagan for the great suggestion., I ended up using %g. Do you know if it stants for "double"?

Also, I am having another issue with the screen output being different than the output file below is the maple script and the screen out put. my question is why am I getting the first 0 and the 17? Am I missing somthing?

 

thanks for your help

restart;
file := fopen("data.txt",'WRITE');  

t:=(m,a)->a^m;

g:=evalf(subs(t(200,1/200)));
fprintf(file,"%d %g\n",200,g);

fclose(file);
#######################

here is the screen output


    0
          
(m, a) -> a^m
                                          
6.223015278 10^-461   
17
 

 

 

Page 1 of 1