I'm new to Mathematica today. I would like to write a function that will implement the following pseudocode:
f[x_]:= Do something return y
I have searched the documentation, but I'm still very confused. How do I return a variable after some complicated procedure? Use
Return? It doesn't work sometimes.