Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Oct 9, 2012
Messages
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
 
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".
 
Guys, attached is the one I am trying to find a shorter way of doing it and thinking Mathcad iteration. I reached 6 iteration before i got the required value. I appreciate spending your spare time with this.
 
 http://files.engineering.com/getfile.aspx?folder=9b6e4266-8bfb-4a9f-8cbb-ca7cf0a82190&file=ET_121010.mcd
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

Back
Top