Question: How to write it as text file?

Say I have a funtion something like this

f:=x^2;

f1:=diff(f,x);

Now I want the above output to be saved to a .txt file having maple friendly format.

 

Please Wait...