1
$\begingroup$

I have a set of 4 equations that I solved using the Solve function, resulting in the following output: enter image description here

I want to use these solution for further computations, so basically, I want to assign new functions for $t,T$ and $tau$, according to the solution I got, so that I can later use them in a different function. How can I do that?

I've reveiwed similar questions as you suggested, but I'm affraid it's not working. Here is my code:

cl[T_, t_, tau_] = (p T + p wl - p t wl)/(2 + p)
dl[T_, t_, tau_] = (T + wl - t wl)/((2 + p) (1 + tau))
ll[T_, t_, tau_] = (-T - wl + t wl)/((2 + p) (-1 + t) wl)
ch[T_, t_, tau_] = (p T + p wh - p t wh)/(2 + p)
dh[T_, t_, tau_] = (T + wh - t wh)/((2 + p) (1 + tau))
lh[T_, t_, tau_] = (-T - wh + t wh)/((2 + p) (-1 + t) wh)

Thanks

$\endgroup$
  • $\begingroup$ Nofar have you seen my comment on your last question ? I have provided and answer in another question ? $\endgroup$ – cyrille.piatecki Jan 10 '17 at 11:26
  • $\begingroup$ cyrille.piatecki - no, When I pressed the link attached it kept sending me back to my question $\endgroup$ – Nofar Duani Jan 10 '17 at 11:36
  • 1
    $\begingroup$ Better use replacement lists like mu /. sol for example. See previous duplicate answers. $\endgroup$ – Valacar Jan 10 '17 at 11:40
  • $\begingroup$ Sorry I was correcting copies look at the question About mathematica.stackexchange.com/questions/135009/… and if it doesn't open send me a message --- you can find easily my adress --- I will send you the code $\endgroup$ – cyrille.piatecki Jan 10 '17 at 12:29