Question: Printf (Columns ) in a MathContainer

I want to display the output from printf ( columns as seen below ) in a MathContainer (embedded component) . How ?

seq(printf("%20a  %10a  %10a  %10a  %10a  %10a  \n", i, i^2, i^3, i^4, i^5, rt[i]), i = 1 .. 10);

                   1           1           1           1           1       rt[1] 
                   2           4           8          16          32       rt[2] 
                   3           9          27          81         243       rt[3] 
                   4          16          64         256        1024       rt[4] 
                   5          25         125         625        3125       rt[5] 
                   6          36         216        1296        7776       rt[6] 
                   7          49         343        2401       16807       rt[7] 
                   8          64         512        4096       32768       rt[8] 
                   9          81         729        6561       59049       rt[9] 
                  10         100        1000       10000      100000      rt[10] 


 

Please Wait...