Okay, so I am working on a set of code that will take any number that you have under a ratical and simplify it. Basically, it goes through a loop that tries to divide by a particular number and sees if it has a remainder. (Although, now that I think about it, perhaps just seeing if round(A)=A might be a simpler method if A is the result of a divition). Anyway, it comes up with 2 variables in the end: what you have under the radical and what can be taken out and written oustide the ratical. Then it returns them.
Here is what I want to be able to do:
I want it to display variable ratical variable all together in a single statement without any spaces. This feels simple, and yet I can't seem to put the different things together. Because if you try this with the Disp command and separate the variables and numbers with commas, then each number goes on a different line. If you try this with output, it just looks at you funny and comes up with an error. What can I do tget this? I currently have an output set up so each variable can be 4 character longs, but if it shorter than that, it has a bunch of space and looks funny.