Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

MathCad Iteration 1

Status
Not open for further replies.

engrAlan

Structural
Oct 9, 2012
21
Hi,
Can anybody help me translate these iteration in Mathcad function?
Givien
P=0.30kip
h=33ft
B=2.50ft
d=5ft
S=0.20ksf/ft
F=2

Calculated
S1=F*S*min(d/3,12ft)
A=2.34*P/(B*S1)
d1=A/2*(1+sqrt(1+4.36*h/A))
d2=(d+d1)/2 (new d will be the average of d1&d2, d2&d3, and so on.

then S1 will be recalculated using new d2, also "A" will be recalculated using new value of S1 i want to iterate using mathcad until (di+di+1) is almost equal.

Thanks
 
Replies continue below

Recommended for you

There are functions in Mathcad for directly solving equations like that. See Given-Find and Given-Minimize in the help files.

TTFN
faq731-376
7ofakss
 
Thanks IRstuff,i already tried searching but i can't find similar case and i can't figure out how it should be formulated.
 
"until (di+di+1) is almost equal" almost equal to what?
 
Sorry guys! my intention is to keep on averaging the values of d, so it should be "values of last two d, will be the same".
 
Thank you IRstuff, this is a great help. Mathcad is very helpful, i only have 3 steps with your given formula, while i was having almost 27 steps. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor