Items tagged with reverse reverse Tagged Items Feed

I need to write a recursive method to reverse a string.

The hint given is to convert the string inputed to a character sequence, then apply recursive method, then reverse character sequence, then convert back to  string and output it.

So "abcd" gives output "dcba"

 

I came up with what is below, but I don't know if that's a recursive method.

 

>with(StringTools):

>Reverse("abcd")

        "dcba"

Is there any way to reverse an axis in the plot command? I solved the baristochrone problem as 
a school project,but I did it using an upside-down Y axis. Of course, when I try to make a graph with
my solution, I'm getting a regular cycloid instead of an inverted one, since I was using a 
reverted Y axis when solving the problem. 

Help would be very appreciated as I couldn,t find anything on the subject.
Page 1 of 1