- Thread starter
- #1

#### Barioth

##### Member

- Jan 17, 2013

- 52

Let's say in mathematica I declare this function

t[x_,y_]:= (x'

Now I can call it with

\(\displaystyle L=1;\)

t[(#^2)+L &, (#^3)+L &]

if I call it this way it will remplace the # with s and evalute the derivative.

Now let's say I wana do this for for every L from 1 to 10.

so i got

Map[t[(#^2)+# &, (#^3)+# &],Range[1,10]]

and indeed this doesn't work. how can I tell mathematica that I want a # for my function t and one different # to use as my argument in my Map?

(*Note t I know that in this problem in make no sense to change the value of L since we're calculating the derivative. But I want to know for general purpose)