Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14226

How to remove a singularity

From William Duhe <williamduhe@hotmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject How to remove a singularity
Date 2013-04-18 09:33 +0000
Message-ID <kkoelp$gl3$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


Bellow I have a differential equation which hits a singularity at low values of t. What I want to do is somehow utilize the WhenEvent command in order to replace the last factor of the equation (2/t a'[t]) with 0 at low values of t in order to avoid getting errors. Is there a way to do this?

Here is an example of the equation and how I attempted to use the Whenevent Command.

q = NDSolve[{a''[t] == 1/2 a[t]^2 + 1/6 a[t]^6 - 1/4 a[t]^4 - 2/t a'[t], a[0] == 1, a'[0] == 0, WhenEvent[t < .1, a'[t] -> 0]}, a, {t, 0, 1}];

any help would be appreciated!

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

How to remove a singularity William Duhe <williamduhe@hotmail.com> - 2013-04-18 09:33 +0000
  Re: How to remove a singularity Peter Pein <petsie@dordos.net> - 2013-04-19 05:13 +0000

csiph-web