1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Mathematica , a simple question.

  1. Nov 14, 2014 #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?
     
  2. jcsd
  3. Nov 14, 2014 #2
    Solved. Thanks.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted