Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Problems with while function

조회 수: 4 (최근 30일)
Vihar Chervenkov
Vihar Chervenkov 2012년 5월 16일
마감: MATLAB Answer Bot 2021년 8월 20일
close all
clear all
clc
syms x
Load=10000;
Bridge_Span=20.825;
Wheelbase=3.2;
BCM=10450; %bridge crane mass
M=1.17; %factor of safety
F=9.8*M*0.5*((BCM/2)+Load);
Delta_max_allowed=(1/800)*10;
J=((0.28*0.5^3)/12)-2*((0.134*0.468^3)/12);
E=2*10^11;
while (2*(int([F*x*(1*x)/(2*E*J)],x,0,5))<0.0125)
J=J+0.01
end
How can I increase the 2nd moment of area (J) until the deflection(the expression) is less then 12.5 mm or (0.0125)

답변 (1개)

Sean de Wolski
Sean de Wolski 2012년 5월 16일
How about fzero() to find where 'f(x)-0.0125 = 0'?

이 질문은 마감되었습니다.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by