Hello,(adsbygoogle = window.adsbygoogle || []).push({});

My question seems to be simple. I would like to numerically solve the following first order ODE to obtain v(x):

v'(x) = b.[v(x) - f(x)] , given boundary condition v(+infinity) = 0 [b is a known constant]

The problem is that f(x) is not known explicitly (f(x) is sampled at a dense x grid).

Can you please help me? any hints will be appreciated...

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# 1st order ODE with sampled function

**Physics Forums | Science Articles, Homework Help, Discussion**