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)

Answers (1)

Sean de Wolski
Sean de Wolski on 16 May 2012
How about fzero() to find where 'f(x)-0.0125 = 0'?

This question is closed.

Products

Tags

Asked:

on 16 May 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!