Differentiation and integration of functions
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
syms x
y=(11*x+1)/sqrt(x^2+22)
diff(y)
syms x
diff((11*x+1)/sqrt(x^2+22),2)
x=dsolve('Dx=(11*x+1)/sqrt(x^2+22)','x(0)=0'))
grid
I have this code, but in line 6 its mistake. Can you help me?
I must to find
0 Commenti
Risposte (2)
Bjorn Gustavsson
il 21 Mag 2020
You need to change from assignment to equality:
x=dsolve('Dx==(11*x+1)/sqrt(x^2+22)','x(0)=0')
But this is most likely not the way to solve this task.
HTH
David Hill
il 21 Mag 2020
syms x;
y=(11*x+1)/sqrt(x^2+22);
dy=diff(y);
ddy=diff(dy);
for x=1:3
Dy(x)=double(subs(dy));
DDy(x)=double(subs(ddy));
end
Y=@(x)(11*x+1)./sqrt(x.^2+22);
I=integral(Y,1,3);
0 Commenti
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!