How to solve a differential equation and the plug a number in for the resulting differential equation

9 views (last 30 days)
I can do diff((1 + 5 * x^2 - 2 * x^3 + 8 * x^4) ^(1/8))), but I don't have an idea what to after

Answers (1)

David Goodmanson
David Goodmanson on 14 Feb 2020
Hi Benjamin,
syms x
d = diff((1 + 5 * x^2 - 2 * x^3 + 8 * x^4) ^(1/8))
x0 = 8.8
val = double(subs(d,x0))
val =
0.2187
% this shows part of what is going on
dx0 = subs(d,x0)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!