0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

P1P2片持ち梁の複数荷重 組合せ応力 問題8A) p123「材料力学演習(20221021)」をsympyでやってみたい。

Last updated at Posted at 2024-12-28

オリジナル

問題8A) p123 <「材料力学演習(20221021)一括(ver.3.3)」を勉強したい。#sympy
???タブレット等で、pdfを開く事ができないかも。??? 

sympyで

・ver0.1

# ver0.1
from sympy import *
# var('P1,P2,a,b,x',real=True) # 左はだめでした。
var('P1,P2,a,b,x')
var('RA,MA')
rep={RA:P1+P2,MA:P1*a-P2*(a-b)}
MAB_str="MA+RA*x"
MBC_str=MAB_str +"+"+"-P1*(x-a)"
FAB    =diff(sympify(MAB_str),x)
FBC    =diff(sympify(MBC_str),x)
print("#",FAB," "*5,",",MAB_str)
print("#",FBC      ,",",MBC_str)
# RA       , MA+RA*x
# -P1 + RA , MA+RA*x+-P1*(x-a)

sympyのBeamで作図

(勉強中)

いつもの? sympyの実行環境と 参考のおすすめです。

(テンプレート)

いつもと違うおすすめです。

参考文献

>一部に等分布荷重を受ける単純支持はり
>JSME p89
 
>単純ばり 2)
>構造力学公式集 表5.2 単純ばりの公式 p134

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?