Info

This question is closed. Reopen it to edit or answer.

Problems with while function

2 views (last 30 days)
Vihar Chervenkov
Vihar Chervenkov on 16 May 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Tags

Products

Community Treasure Hunt

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

Start Hunting!