image image image  
Free Educational iPhone Apps.  Available on the App Store.
SpaceTime 4.0.  Math software for computers and mobile devices.
 Home  Manual  Graphbook  Buy  Members  Forums  Support 
spacetime32  
Catalog  | 
 | 
      
 

Calculus
D, Diff, DSolve, fDiff, FourierCos, FourierSeries, FourierSin, iDiff, iLaplace, Integrate, Laplace, Limit, NIntegrate, pDiff, Product, Series, Sum

Algebra
Apart, Coefficient, Degree, Denominator, Divisors, DivisorSigma, Eval, Expand, Factor, GCD, LCM, PolyDivide, PolyFit, PolyGCD, PolyLCM, Quotient, Remainder, Sequence, SimplifyPoly, Solve, SolveSystem, Together

Basic
Abs, Arg, Conj, Exp, Hyperbolic Functions, Im, Ln, Log, Re, Trigonometric Functions

CAS
Call, Caps, Char, Choose, Clear, Date, Delete, Extract, Function, Insert, Left, List, Matrix, Part, Replace, Reverse, Size, Sort, String, Value, Variables

Data
Constant, Finance, HRStoHMS, LoadList, LoadMatrix, Table

Elementary
Binomial, Ceil, Eulerian, Factorial, Floor, fPart, iPart, Mod, Multinomial, nCr, nPr, nRoot, Pochhammer, Round, Sign, Sqrt

Graphing
clip, FullRectSineWave, HalfRectSineWave, SawToothWave, SquareWave, StaircaseWave, TriangleWave

Manual
Code Files, Commands, Creating Scripts, Entering Expressions, Graphing Equations, Include Folder, Lists, Matrices, Right, Strings, Symbols, Time Graphing

Matrix
Cholesky, Det, Eigenvalues, Eigenvectors, Identity, Inverse, LUDecomposition, QR, RowReduce, SVD, Transpose

Number
AlternatingSeries, Catalan, cFrac, Convergents, LegendreP, nFactors, nPrimes, Pi_Digits, Random

Plot
BodePlot, ContourPlot, CylindricalPlot3D, FractalPlot, ImagePlot, ImplicitPlot, JuliaPlot, ListPlot, ListPlot3D, MultiPlot, MultiPlot3D, ParametricPlot, ParametricPlot3D, Plot, Plot3D, PolarPlot, SphericalPlot3D, VectorPlot, VectorPlot3D

Scripting
Animate, CheckBox, Draw, DrawColor, DrawWindow, Else If, Error, If, Include, Loop, Message, Scroll, Trace, While

Special
AiryAi, AiryBi, BesselI, BesselJ, BesselK, BesselY, Beta, Chi, Ci, Dawson, DiGamma, Dirichlet_Eta, Dirichlet_Lambda, Ei, Erf, Erfc, FresnelCos, FresnelSin, Gamma, Gudermannian, HankelH1, HankelH2, Harmonic, Hypergeom_2F1, invGudermannian, KelvinBei, KelvinBer, KelvinKei, KelvinKer, LambertW, Li, LnGamma, PolyGamma, PolyLog, Psi, Shi, Si, Zeta

Special Polynomials
Bernoulli, ChebyshevT, ChebyshevU, Euler, Fibonacci, GegenbauerC, HermiteH, LaguerreL, LegendreQ, Lucas

Statistical
BinomialCDF, BinomialPDF, ChiSquareCDF, ChiSquarePDF, Fcdf, Fpdf, GeoCDF, GeoPDF, InverseNormal, Max, Mean, Min, NormalCDF, NormalPDF, PoissonCDF, PoissonPDF, StandardDeviation, StudentTCDF, StudentTPDF, Variance

Trigonometric
DEGtoDMS, ExpConvert, TrigCollect, TrigConvert, TrigExpand, TrigReduce

Vector Calculus
Angle, Cross, Curl, Divergence, Dot, Duf, Gradient, Hessian, Jacobian, Laplacian, Norm, SurfaceNormal

  
DSolve(equation, dependent(independent), values, mode=1)
equation
The differential equation to be solved. If no equal sign is found in the equation then DSolve assumes that the equation is equal to zero.

dependent(independent)
The dependent variable as a function of the independent variable. This should be in the form of f(t), g(t), y(t), y(x), x(t) and so forth.

values
The given initial values. For no initial values input the variable no.

mode=1
mode=1 forces a solution to be solved for the dependent variable or returns the answer as an implicit equation if the answer cannot be solved for the dependent variable.
mode=0 solves implicitly.

DSolve is a differential equation solver.

The derivative of the variable is notated using derivative notation. SpaceTime uses the single quotation character to represent the derivative of a variable or function.

f'(x) - First derivative
f''(x) - Second derivative
f'''(x) - Third derivative

Derivative Examples
Solve: y' + y = sin(t)
DSolve(y'(t)+y(t)=sin(t), y(t), .....)

Solve: y'' + 2y' + y = x
DSolve(y''(x)+2y'(x)+y(x)=x, y(x), .....)

The definite integral of the variable is represented by I(f(t), t) and denotes the integral of the variable f(t) with lower bound 0 and upper bound t. These bounds cannot be changed.

Integral Examples
∫(y) + y = sin(t)
DSolve( I(y(t),t) + y(t) = sin(t), y(t), .....)

The upper case character I indicates the integral and is a mandatory condition.

Initial values
When no initial values are given, then simple write the word no. The result returned contains the Constant C@1.

For first order differential equations the initial value can be given as y(t)=value. When you ommit y(t), then y(0) is assumed.

For higher order differential equations, the initial values should be given as a list and are always referred to zero : [y(0), y'(0), y' '(0), ...]

Examples with different initial values
Solve: y' + y = sin(t) with y(0) = 5
DSolve(y'(t) + y(t) = sin(t) , y(t) , y(0) = 5)
or
DSolve(y(t)' + y(t) = sin(t) , y(t) , 5)

Solve: y' + y = sin(t) with y(2) = 5
DSolve(y(t)' + y(t) = sin(t) , y(t) , y(2)=5)

Solve: y'' + 2y' + y = x with y(0) = 1 and y'(0) = 2
DSolve(y''(x) + 2y'(x) + y(x) = x, y(x), [1,2])

Solve: y'' + 2y' + y = x with no initial values
DSolve(y''(x) + 2y'(x) + y(x) = x, y(x), no)

Different form for exact first order differential equations.
Exact first order differential equation can be given with d@x , d@t , d@y, ect.

First Order Examples
Solve: dy = sin(t) * dt
DSolve(d@y = sin(t) * d@t, y(t), .....)

Of course, this can also be written as the following equation.
DSolve(y'(t), t) = sin(t) , y(t), ...)
Note: The variable to be solved should still be written as y(t).

Results
Normally, DSolve tries to return the result as y(t) = function(t).

In case y(t) cannot be represented in a simple form then the result is returned in implicit form.
function(y , t) = 0

In the latter case, the text Implicit result is added to call the users attention that the result is not of the form y(t)=function(t).

Examples  
























References
http://en.wikipedia.org/wiki/Ordinary_differential_equation

Related Functions
D, Diff, Integrate, Solve



Copyright © 2010 Pomegranate Software.  All rights reserved.

Smartphone Smartphone
      
Newsletter Newsletter
      
Palm Palm OS 5

About Us   SpaceTime Newsletter   Follow SpaceTimeUs   Windows Mobile   RSS Feed