De Solve

Description

You can use Sage to investigate ordinary differential equations. To solve the equation $x′+x−1=0$.

Sage Cell

Options

t = var('t')    # define a variable t
x = function('x')(t)   # define x to be a function of that variable
DE = diff(x, t) + x - 1
desolve(DE, [x,t])

Tags

Primary Tags: differential equations

Secondary Tags:

Related Cells

None

Attribute

Permalink:

Author: Sage Tutorial v7.6

Date: 08 Jul 2017 14:10

Submitted by: Tom Judson

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License