Qurak

Visualize the solutions to partial differential equations in 3D

示例 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}]
第 2 步
sol2 = sol1[[1, 1, 2]]
输出
Sin[x]
第 3 步
Plot3D[sol2, {x, -10, 10}, {t, -5, 5}]
输出
-Graphics3D-

用到的函数

相关操作示例

全部操作示例 · 函数参考 · 从 MCP 客户端使用