newbie help
- To: mathgroup at smc.vnet.net
- Subject: [mg107641] newbie help
- From: lorrainetx <lorraine.ramos at gpisd.org>
- Date: Sun, 21 Feb 2010 04:24:11 -0500 (EST)
I've never worked with this program before and I'm having trouble getting it to do what I want it to do. If there is a good resource to help translate the math to programing help it would be appreciated. This is what I'm working on:(I can upload my notebook if it is easier to help see what I did wrong) Solve the differential equation x' sin (x). sol = DSolve[x'[t] == Sin[x[t]], x[t], t] // FullSimplify // Quiet \[Phi][t_, c_] := x[t] /. sol[[1]] /. C[1] -> c \[Phi][t, c] sol = DSolve[x'[t] == x[t]^2, x[t], t] // FullSimplify // Quiet \[Phi][t_, c_] := x[t] /. sol[[1]] /. C[1] -> c \[Phi][t, c] Manipulate[ Plot[{\[Phi][t, c], 0}, {t, -3, 3}, PlotStyle -> {Blue, {Red, Thick}}, PlotRange -> {-3, 3}], {c, -1, 1}] plot = VectorPlot[{1, x}, {t, 0, 10}, {x, -10, 10}, VectorScale -> 0.04]; Show[plot, Frame -> True, AspectRatio -> Automatic] My graphs are not working right.
- Follow-Ups:
- Re: newbie help
- From: Tomas Garza <tgarza10@msn.com>
- Re: newbie help