Problems with while function

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

0 个投票

How about fzero() to find where 'f(x)-0.0125 = 0'?

此问题已关闭。

产品

标签

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by