例 3 ステップを1つのセッション内で順に実行します。各ステップはエンジンで実行済みで、以下の出力は実際に生成されたものです。
sol1 = DSolve[{D[y[x, t], t] + 2D[y[x, t], x] == Sin[x], y[0, t] == Cos[t]}, y[x, t], {x, t}]DSolve[{Derivative[0, 1][y][x, t] + 2*Derivative[1, 0][y][x, t] == Sin[x], y[0, t] == Cos[t]}, y[x, t], {x, t}]sol2 = sol1[[1, 1, 2]]Sin[x]Plot3D[sol2, {x, -10, 10}, {t, -5, 5}]-Graphics3D-