Hi. I have a function defined like this:
myfun := proc(a11 ......)
f := a11 * x^2 + 2*a12*x*y + a22*y^2 + 2*a13*x + 2*a23*y + a33;
printf("\n");
printf("%a",f);
end proc;
When i call this function from my worksheet, the "f" polynomial is printed unformatted. For example the output in my worksheet is
x^2+6*x*y+y^2-2*2^(1/2)*x-6*2^(1/2)*y-4
I wouldl ike the output to be printed formatted, like i write the expression and press enter. So i want for example square root drawed correctly and not ^(1/2). How can i achieve this?