Author: Gora NV Language: text
Description: Cultyvator Timestamp: 2017-09-19 12:10:15 +0000
View raw paste Reply
  1. \!\(\*
  2.   RowBox[{\(a = 0.2; \ b = \ 0.2; \ g = 1.2; xo = 1; T = 0.5;\),
  3.     StyleBox["\n",
  4.       FormatType->StandardForm,
  5.       FontFamily->"Arial-BoldMT",
  6.       FontSize->10], \(sol = NDSolve[{\(x'\)[t] == a - b*x[t] + g*x\^2, x[
  7.       0] == xo, }, {x}, {t, 0,
  8.       T}];\), "\[IndentingNewLine]", \(Plot[Evaluate[{x[t], p[t]} /. sol], {t,
  9.        0, T}];\)}]\)\!\(\*
  10.   RowBox[{\(a = 0.2; \ b = \ 0.2; \ g = 1.2; xo = 1; T = 0.5;\),
  11.     StyleBox["\n",
  12.       FormatType->StandardForm,
  13.       FontFamily->"Arial-BoldMT",
  14.       FontSize->10], \(sol = NDSolve[{\(x'\)[t] == a - b*x[t] + g*x\^2, x[
  15.       0] == xo, }, {x}, {t, 0,
  16.       T}];\), "\[IndentingNewLine]", \(Plot[Evaluate[{x[t], p[t]} /. sol], {t,
  17.        0, T}];\)}]\)
View raw paste Reply