Looking to solve this integral with variable bounds

5 ビュー (過去 30 日間)
adam puchalski
adam puchalski 2022 年 7 月 11 日
コメント済み: Torsten 2022 年 7 月 12 日
%variables
F = .00024; %kg
E = 10^6; %mPa
I = 6.1*10^-9; %kg m^2
L = .01; %m
%solve for Theta sub 0
func = @(OO) L/sqrt((E*I)/(2*F)) - integral(@(theta)1./sqrt(cos(OO)-cos(theta)),OO,pi/2);
g = fzero(func,0);
OS = fsolve(func,.5);
ideally wanted to use fzero but not sure how to do it, the like below, OS = ... kinda works but I keep getting pi/2 and not sure why. Im using this is the follwing equation:
aa = linspace(pi/2*.99, 0, 49);
aa=aa';
%shape of rod given
xi = sqrt((2*E*I)/F)*(sqrt(cos(OS))-sqrt(cos(OS)-cos(aa)));
and not getting the values i am hoping for. any help appreciated
  12 件のコメント
adam puchalski
adam puchalski 2022 年 7 月 12 日
ah i see i see, thank you very much for your help!
Torsten
Torsten 2022 年 7 月 12 日
So in short:
Forget the complete discussion. Your problem is ill-posed.

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

回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by