You can use dsolve for boundary value problems you just have to give the
boundary conditions as the ICs argument e.g.:
In [*27*]: f = Function('f')
In [*28*]: t = Symbol('t')
In [*29*]: dsolve(f(t).diff(t, 2)-f(t))
Out[*29*]:
-t t
f(t) = C₁⋅ℯ + C₂⋅ℯ
In [*30*]: dsolve(f(t).diff(t, 2)-f(t), ics={f(0):0, f(1):0})
Out[*30*]: f(t) = 0
In [*31*]: dsolve(f(t).diff(t, 2)-f(t), ics={f(0):0, f(1):1})
Out[*31*]:
t -t
ℯ ℯ
f(t) = ───────── - ─────────
2⋅sinh(1) 2⋅sinh(1)
--
Oscar
On Mon, 27 Apr 2020 at 10:22, Isaque Soares <[email protected]> wrote:
> Does anyone knows how to solve a ode on sympy with this kind of bvp?
>
> [image: imagem1.png]
>
> 50𝑣(𝑥)+1000𝑑4𝑑𝑥4𝑣(𝑥)=−3
> 50𝑣(𝑥)+1000𝑑4𝑑𝑥4𝑣(𝑥)=−3
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/2b9ec46d-a049-4bf8-b24b-e4cc17742928%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/2b9ec46d-a049-4bf8-b24b-e4cc17742928%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/CAHVvXxQsc00z%2BKxdyXkaNnGpmcew%2B-906d70Ha-r89JdV7H9Mg%40mail.gmail.com.