How to integrate a complicated function?
2 views (last 30 days)
Show older comments
Hello,
I am trying to integrate the following function using 'int' but it is not working. Is there any other way to integrate it?
clear
clc
close all
syms z L EI n kd
x=sin(n*pi*z/L);
x1=simplify(diff(x,z));
x2=simplify(diff(x1,z));
k1=int(EI*x2^2,z,[0,L]);
k3=int(x1^2,z,[0,L]);
k2=kd*int((z)^.5*x^2,z,[0,L])
2 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!