- #1
Qubix
- 82
- 1
Member warned for not using posting template
I have a very simple issue with Mathematica, but I can't seem to find an answer for it.
I solved an equation with DSolve, and I got a result as an array of the following type:
Solution = { A11 -> Function[ {t} , expression1] , A22 ->Function[ {t}, expression 2] , etc }
Now I want to define a matrix with elements {{A11, A12},{A21, A22}} and to give these elements the values for expression1, expression 2, etc, essentially to put those functions in a matrix:
{{ expression 1, expression 2},{ expression 3, expression 4}}
What I tried so far is to use R11 = {A11} /. Solution[[1]] , but it gives R11 the value Function [ {t} , expression 1] and not expression 1.
How can I solve this issue?
I solved an equation with DSolve, and I got a result as an array of the following type:
Solution = { A11 -> Function[ {t} , expression1] , A22 ->Function[ {t}, expression 2] , etc }
Now I want to define a matrix with elements {{A11, A12},{A21, A22}} and to give these elements the values for expression1, expression 2, etc, essentially to put those functions in a matrix:
{{ expression 1, expression 2},{ expression 3, expression 4}}
What I tried so far is to use R11 = {A11} /. Solution[[1]] , but it gives R11 the value Function [ {t} , expression 1] and not expression 1.
How can I solve this issue?