Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Problems with while function

3 vues (au cours des 30 derniers jours)
Vihar Chervenkov
Vihar Chervenkov le 16 Mai 2012
Clôturé : MATLAB Answer Bot le 20 Août 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)

Réponses (1)

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

Cette question est clôturée.

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by