How to integrate a complicated function?

3 ビュー (過去 30 日間)
SAM
SAM 2023 年 6 月 22 日
編集済み: SAM 2023 年 6 月 23 日
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])
k2 = 
  2 件のコメント
Sam Chak
Sam Chak 2023 年 6 月 23 日
Hi @SAM,
I see and .
So I guess this problem is related to the Euler–Bernoulli or the Timoshenko–Ehrenfest beam theory.
If this is boundary value problem, you can try solving it using the bvp4c() function.
SAM
SAM 2023 年 6 月 23 日
編集済み: SAM 2023 年 6 月 23 日
@Sam Chak my ode here is 4th order, it is actually a pile's buckling equation where I am trying to solve for N. Is there another function to solve for 4th order?

サインインしてコメントする。

回答 (1 件)

Torsten
Torsten 2023 年 6 月 22 日
編集済み: Torsten 2023 年 6 月 23 日

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by