## Calculating axial stresses of different beams

LINDO MTSWENI

### LINDO MTSWENI (view profile)

さんによって質問されました 2019 年 5 月 2 日

### LINDO MTSWENI (view profile)

さんによって コメントされました 2019 年 5 月 2 日
James Tursa

### James Tursa (view profile)

さんの 回答が採用されました
If I have several beams(the number of beams can change ) with different dimensions ( different cross-sectional areas),all these beams are acted upon by the same axial forces of the same magnitude.How can I create a loop or a statement that will calculate the axial stress of each beam at the time using the formala axialstress=axialforce/area

#### 0 件のコメント

サインイン to comment.

## 1 件の回答

2019 年 5 月 2 日

### James Tursa (view profile)

2019 年 5 月 2 日
採用された回答

E.g., maybe using the element-wise division operator is all you need:
axialforce = a scalar or vector of axial forces
area = a vector of the cross sectional areas
axialstress = axialforce ./ area;

LINDO MTSWENI

### LINDO MTSWENI (view profile)

2019 年 5 月 2 日
I'm so sorry my bad , actually the axialforce is distributed along the bean's length which is 2000mm ( though its magnitude doesn't change)..the axialforce is a 2001 by 1 matrix and the there are several number of beams with diffrent sectional areas..

サインイン to comment.

Translated by