<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calculating Soil Wedge Area, Weight, and Centroid Behind a Retaining Wall and for Each Course in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054191#M220510</link>
    <description>&lt;P&gt;For a single block as in the previous thread the result were nine values (Area, Weight, CGx,CGy, xb, WS1, WS2, WS3, Pw) for each angle beta:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1770594631911.png" style="width: 571px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134468iBA2A9230B0843EEE/image-dimensions/571x107?v=v2" width="571" height="107" role="button" title="Werner_E_0-1770594631911.png" alt="Werner_E_0-1770594631911.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So each block would add another of these nine values.&lt;/P&gt;
&lt;P&gt;If there would be, say three blocks as set up in your sheet, what should the desired output be?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Three tables like the one shown above?&lt;/LI&gt;
&lt;LI&gt;A table with 28 columns?&lt;/LI&gt;
&lt;LI&gt;28 single columns for each quantity as we had it highlighted in red in the previous sheet?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, there was an error in my "calculate" function which only affected angle beta=90°.&lt;/P&gt;
&lt;P&gt;The third element in the row vector should simply be deleted:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1770600833551.png" style="width: 575px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134469i4F5034CFEF5B999D/image-dimensions/575x210?v=v2" width="575" height="210" role="button" title="Werner_E_0-1770600833551.png" alt="Werner_E_0-1770600833551.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also the last line in "Polygon" should be changed. This affected only angles smaller than 34°.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1770602186045.png" style="width: 738px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134470i9D7F2C322A7BFBAF/image-dimensions/738x367?v=v2" width="738" height="367" role="button" title="Werner_E_1-1770602186045.png" alt="Werner_E_1-1770602186045.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Feb 2026 01:56:38 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2026-02-09T01:56:38Z</dc:date>
    <item>
      <title>Calculating Soil Wedge Area, Weight, and Centroid Behind a Retaining Wall and for Each Course</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054152#M220502</link>
      <description>&lt;P&gt;This is an extension of a previous post where I worked on a complex task (for me!) to calculate the soil weight and area behind a wall.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;referenced post and solution are located in&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.ptc.com/t5/Mathcad/Algorithm-to-Calculate-Soil-Wedge-Area-Weight-and-Centroid/m-p/1053536#M220456" target="_blank" rel="noopener"&gt;Algorithm-to-Calculate-Soil-Wedge-Area-Weight-and-Centroid&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The post was brilliantly solved by&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/66934"&gt;@Werner_E&lt;/a&gt;&amp;nbsp;.&amp;nbsp;At that time, the wall had a simplified geometry with just one course. Now, I need to apply similar logic to multiple courses, which requires repeating the process for each course.&lt;/P&gt;&lt;P&gt;I would appreciate any assistance on how to adapt this logic to handle multiple courses, potentially up to 9 courses.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2026 07:41:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054152#M220502</guid>
      <dc:creator>Eng_ReyD_497</dc:creator>
      <dc:date>2026-02-08T07:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Soil Wedge Area, Weight, and Centroid Behind a Retaining Wall and for Each Course</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054191#M220510</link>
      <description>&lt;P&gt;For a single block as in the previous thread the result were nine values (Area, Weight, CGx,CGy, xb, WS1, WS2, WS3, Pw) for each angle beta:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1770594631911.png" style="width: 571px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134468iBA2A9230B0843EEE/image-dimensions/571x107?v=v2" width="571" height="107" role="button" title="Werner_E_0-1770594631911.png" alt="Werner_E_0-1770594631911.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So each block would add another of these nine values.&lt;/P&gt;
&lt;P&gt;If there would be, say three blocks as set up in your sheet, what should the desired output be?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Three tables like the one shown above?&lt;/LI&gt;
&lt;LI&gt;A table with 28 columns?&lt;/LI&gt;
&lt;LI&gt;28 single columns for each quantity as we had it highlighted in red in the previous sheet?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, there was an error in my "calculate" function which only affected angle beta=90°.&lt;/P&gt;
&lt;P&gt;The third element in the row vector should simply be deleted:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1770600833551.png" style="width: 575px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134469i4F5034CFEF5B999D/image-dimensions/575x210?v=v2" width="575" height="210" role="button" title="Werner_E_0-1770600833551.png" alt="Werner_E_0-1770600833551.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also the last line in "Polygon" should be changed. This affected only angles smaller than 34°.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1770602186045.png" style="width: 738px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134470i9D7F2C322A7BFBAF/image-dimensions/738x367?v=v2" width="738" height="367" role="button" title="Werner_E_1-1770602186045.png" alt="Werner_E_1-1770602186045.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 01:56:38 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054191#M220510</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2026-02-09T01:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Soil Wedge Area, Weight, and Centroid Behind a Retaining Wall and for Each Course</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054196#M220511</link>
      <description>&lt;P&gt;OK, here is the solution as demanded repeated for each course.&lt;/P&gt;
&lt;P&gt;The results are provided in two ways, either as 2-dim. matrices or as nested vectors. So you have a choice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I first created a solution using the same methods as in the previous sheet.&lt;/P&gt;
&lt;P&gt;Then I added an alternate version which uses a linear interpolation function of the soil data, similar to my approach half a year ago.&lt;/P&gt;
&lt;P&gt;You can delete the "Intersect" function and also the "start" function if you want to use this alternate approach.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So again you have two options to chose from &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For clarity I have removed all parts of the sheet (apart from your drawing at the top) which is not used in the calculations.&lt;/P&gt;
&lt;P&gt;You may additionally remove all disabled regions which are highlighted in orange if you chose to use the alternate approach with the interpolated soil function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See attached sheet&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 05:40:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054196#M220511</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2026-02-09T05:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Soil Wedge Area, Weight, and Centroid Behind a Retaining Wall and for Each Course</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054413#M220518</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/66934"&gt;@Werner_E&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I am going through the solution, I appreciate it. TO answer this one, my selection would be:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Three tables like the one shown above.&lt;BR /&gt;&lt;BR /&gt;I think this is neater, Table1, Table2, Table3, etc, if naming would matter&lt;BR /&gt;&lt;BR /&gt;Now I will review the other response&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 10 Feb 2026 13:46:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054413#M220518</guid>
      <dc:creator>Eng_ReyD_497</dc:creator>
      <dc:date>2026-02-10T13:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Soil Wedge Area, Weight, and Centroid Behind a Retaining Wall and for Each Course</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054430#M220520</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/66934"&gt;@Werner_E&lt;/a&gt;, thanks for jumping on this, great help as usual.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Further to my previous response, and with reference to the solution you provided, the first issue I noticed before proceeding further is the following:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The graph appears to show more blocks than are present in my model, I have only three blocks, but the plot shows five.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eng_ReyD_497_0-1770731260286.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134530i8A78D618CA1ABB7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eng_ReyD_497_0-1770731260286.png" alt="Eng_ReyD_497_0-1770731260286.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you mentioned, part of the calculations were removed for clarity, so I assume this was not intended to be the complete solution.&lt;/P&gt;&lt;P&gt;That said, I expect the final output to be similar to the previous post, including a summary below the plot for each block, consistent with the example shown below.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eng_ReyD_497_1-1770731598560.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134531i76A953F4990AF997/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eng_ReyD_497_1-1770731598560.png" alt="Eng_ReyD_497_1-1770731598560.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;…and also incorporating the surcharge effects for each block, as in the previous post for a single block, and calculating the governing (critical) values, as shown in the following two screenshots.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eng_ReyD_497_2-1770731761280.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134532iE138F27D76754E4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eng_ReyD_497_2-1770731761280.png" alt="Eng_ReyD_497_2-1770731761280.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eng_ReyD_497_3-1770731875297.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134533iF0D34B3A2C3EDB1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eng_ReyD_497_3-1770731875297.png" alt="Eng_ReyD_497_3-1770731875297.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this is clear. I very much appreciate your help on this! Thanks a lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 14:38:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054430#M220520</guid>
      <dc:creator>Eng_ReyD_497</dc:creator>
      <dc:date>2026-02-10T14:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Soil Wedge Area, Weight, and Centroid Behind a Retaining Wall and for Each Course</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054441#M220521</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;&lt;BR /&gt;The graph appears to show more blocks than are present in my model, I have only three blocks, but the plot shows five.&lt;/P&gt;
&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Correct! I was playing around testing the plot to see if it really would accommodate for as many blocks as provided.&lt;/P&gt;
&lt;P&gt;Therefore I wrote in the file&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1770736742951.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134537iF6494AC344C23BBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Werner_E_0-1770736742951.png" alt="Werner_E_0-1770736742951.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Delete the three assignments shown above and you should get the graphics for your original three blocks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;As you mentioned, part of the calculations were removed for clarity, so I assume this was not intended to be the complete solution.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I removed most of the parts in the sheet because they I considered the calcs not necessary for what you demanded - repeating the previous calculation for each block. And I modified my functions or wrote them from anew to be able to do so and then called them in a loop to get the desired outputs.&lt;/P&gt;
&lt;P&gt;So actually the sheet was meant to be my final solution to your question so far. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It should be fairly easy for you to find the maximum in each of the three Pw vector and do whatever calculations you need to do, isn't it.&lt;/P&gt;
&lt;P&gt;After all the main part was to find the polygons, calculate their area and CG apply the surloads and calculate these values for each angle beta.&lt;/P&gt;
&lt;P&gt;So if you need more than whats provided in the attached shee I would suggest that you give the missing calculations a try yourself and if you experience problems ask again and post your sheet.&lt;/P&gt;
&lt;P&gt;Here is how to calculate the maximum Pw and the corresponding angles and xb distances. I am using the second provided data structure of the results (vector of vectors) but you could use the first one (multiple&amp;nbsp; column matrix) as well if you simply replace the vector index for a column selector.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1770738624151.png" style="width: 719px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134541iD99A2C13AD632F35/image-dimensions/719x631?v=v2" width="719" height="631" role="button" title="Werner_E_1-1770738624151.png" alt="Werner_E_1-1770738624151.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;BR /&gt;…and also incorporating the surcharge effects for each block, as in the previous post for a single block,&lt;/BLOCKQUOTE&gt;
&lt;P&gt;??? I guess the surcharge effect actually ARE considered, aren't they?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1770738797827.png" style="width: 621px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134542iEEA34C3E71A9A705/image-dimensions/621x377?v=v2" width="621" height="377" role="button" title="Werner_E_2-1770738797827.png" alt="Werner_E_2-1770738797827.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 16:01:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Calculating-Soil-Wedge-Area-Weight-and-Centroid-Behind-a/m-p/1054441#M220521</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2026-02-10T16:01:39Z</dc:date>
    </item>
  </channel>
</rss>

