Recent content by Qubix

  1. Q

    Mathematica , a simple question.

    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...
  2. Q

    Solving a matrix differential equation in Mathematica

    Now it seems to be working. Thank you very much Bill. :)
  3. Q

    Solving a matrix differential equation in Mathematica

    Hmm, if I use this one, I only get one vector listing all 9 equations, but it does not solve them. The real problem would be too big to write here, that is why I posted just a simple example.
  4. Q

    Solving a matrix differential equation in Mathematica

    Thanks Bill, it seems to work. I just have to extend the code you've given to suit something like: A={{A00,A01,A02},{A10,A11,A12},{A20,A21,A22}} and B={{cA11-dA22 , eA01, fA02},{gA10, hA11+jA22, kA12},{lA20,mA21,nA11-oA22}} where a,b,c,d... are simple coefficients and A00,A01... are the 9...
  5. Q

    Solving a matrix differential equation in Mathematica

    I want to solve a differential equation of the form d/dt (R) = B(t) where R and B are two complex matrices, with time dependent functions as their coefficients. I want to solve these 3x3 differential equations (ones on the diagonal are actually coupled) and to obtain a matrix form for R. So...
  6. Q

    Mathematica 5.0 notebook does not work in Mathematica 9.0

    1. I have managed to find the following notebook that would prove useful for me in calculating the concurrence of a 2-qubit state. 2. The problem is that the code is for Mathematica 5.0, and try as I may, I could not make it...
  7. Q

    Switching the position of matrix elements in Mathematica

    Say I have the following matrix, written in Mathematica A := {{a11, a12, a13, a14}, {a21, a22, a23, a24}, {a31, a32, a33, a34}, {a41, a42, a43, a44}} I want to exchange the positions of a12 and a21, a14 and a23, a32 and a41 , a34 and a43. Any ideas? Thanks.
  8. Q

    A question about kaon masses and decay widths

    Dauto, I know they represent the masses of the short and long lived states. The problem is I cannot find their numerical values anywhere, only their difference. Does anyone know what are the specific values of ms and ml? L.E. Ok , so I managed to solve it and it works. Topic can be closed.
  9. Q

    A question about kaon masses and decay widths

    I need to parametrize these values in order to verify a bell inequality, and the result that I get is not ok. This was my question, how can I parametrize these 4 values with the information above, because it seems that only the mL-mS difference is measured, but I haven't found mS and mL themselves.
  10. Q

    A question about kaon masses and decay widths

    Homework Statement Ok, so I need to make a software that will simulate a neutral kaon system, and I only have the following data about the masses and decay widths: gammaS = 580*gammaL {S = short lived state, L = long lived state} mS - mL = 0.477*gammaS Homework Equations How...
  11. Q

    Decay Width

    What is the Decay Width of a particle and how is it related to the particle's lifetime ?
  12. Q

    Defining variables in mathematica

    I need to define some "general" variables in Mathematica 8, and I wonder if this can be done the following way. Say ta[n] and tb[m] are my variables, in turn depending on n and m. I want to define a function, for example E[ta[n]_ , tb[m]_ ] := Cos[ ta[n] ] + Sin [tb[m] ] (just a simple...
  13. Q

    Change of basis

    So considering I have two bases (a,b) and (a', b'), with a' = 1/sqr(2) ( a + b) b' = 1/sqr(2) (a - b) am I correct in saying that the unitary transformation between them is U = 1/sqr(2) ## \left( \begin{array}{cc} 1 & 1 \\ 1 & -1 \\ \end{array} \right) ##. ? and then Then ##...
  14. Q

    Change of basis

    I have two possible bases (a,b) and (a',b'). If I also have the transformation matrix P, such that P(a,b)=(a',b'), am I correct in assuming that I can change an operator A, from the (a,b) basis to the (a',b') basis by applying A' = P_transposed * A * P ?