Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Code Interpretation

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-19-2021
06:32 PM

04-19-2021
06:32 PM

Appreciate if anyone tells me what the code in the attached image mathematically means?

Thanks in Advanced

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-19-2021
08:00 PM

04-19-2021
08:00 PM

Hi,

"Pp" is the start value in Pascals

"Sigma min" is the stop value in Pascals and is higher value than "Pp".

This means an interval of "Sigma min" minus "Pp" exists.

Interval is broken into "n" subdivisions. A vector "Pw" is made n+1 entries from 0 to 1000. "j" is used to iterate across the values of "Pw"

At j=0 the value "Pw" is "Pp"

At j=n the value "Pw" is "Sigma min"

Starting at j=0 "j" is increased one step at a time until j=n meaning the stress "Pw" goes slowly from "Pp" to "Sigma min"

Calculations on "Pw" are carried out one increasing value at a time until a test is reached and the loop breaks reporting the value of "Pw" at that time.

"Pw Mohr" is a matrix. The value "Pw" arrived at in the iteration above is placed in the matrix "Pw Mohr" at the "i"th row and the "k"th column. "i" and "k" are range variables defined earlier. The iteration for "Pw" is performed for each "i" and "k" automatically getting a different "Pw" each time.

Example:->

Cheers

Terry

1 REPLY 1

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-19-2021
08:00 PM

04-19-2021
08:00 PM

Hi,

"Pp" is the start value in Pascals

"Sigma min" is the stop value in Pascals and is higher value than "Pp".

This means an interval of "Sigma min" minus "Pp" exists.

Interval is broken into "n" subdivisions. A vector "Pw" is made n+1 entries from 0 to 1000. "j" is used to iterate across the values of "Pw"

At j=0 the value "Pw" is "Pp"

At j=n the value "Pw" is "Sigma min"

Starting at j=0 "j" is increased one step at a time until j=n meaning the stress "Pw" goes slowly from "Pp" to "Sigma min"

Calculations on "Pw" are carried out one increasing value at a time until a test is reached and the loop breaks reporting the value of "Pw" at that time.

"Pw Mohr" is a matrix. The value "Pw" arrived at in the iteration above is placed in the matrix "Pw Mohr" at the "i"th row and the "k"th column. "i" and "k" are range variables defined earlier. The iteration for "Pw" is performed for each "i" and "k" automatically getting a different "Pw" each time.

Example:->

Cheers

Terry