

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Beam example:
F := 500 L := 10 P := 2
σ ( )h 6 F⋅^ ⋅L P 2
⋅h 2
h :=0.5 0.505, ..0.
2 10 0.5 0.6 0.7 0. ×^5
2.1 10 ×^5
2.2 10 ×^5
2.3 10 ×^5
2.4 10 ×^5
σ ( )h
h
Using range variables:
Nh := 1000 i := 0 ..Nh
h (^) max P 2 := −0.001 h (^) min :=0.
∆h
Nh
h (^) i := h (^) min +i ⋅∆h h
σh (^) opt :=min ( σh)
σh (^) opt =2.025 × 105 h (^) opt :=lookup (^) ( σh (^) opt , σh,h) h (^) opt =( 0.667)
σh
Using MathCAD program:
( h^ opt σopt) h^ opt ←^0 σopt ← 10 100 pause "about to start loop"( )
σh ←σ( ) h trace "h={0} sopt={1} sh={2}"( , h, σopt,σh)
h (^) opt ←h σopt ←σh trace " new optimum found: h={0}"( ,h)
if σh <σopt
for h ∈h (^) min , (^) ( h (^) min +∆h)..h (^) max
( h^ opt σopt)
large positive number necessary to initialize the minimization process (A large negative number would be used for a maximum problem)
h (^) opt = 0.667 σopt =2.025 × 10 5
wopt^1 2
:= (^) (P −2 h⋅ (^) opt)
h (^) opt wopt