## 流程圖 ```flow st=>start: 開始 ed=>end: 結束 mg0=>operation: msg = "是潤年" mg1=>operation: msg = "是平年" io0=>inputoutput: 給定一個正整數yr op0=>operation: msg = yr.toString() + msg cond0=>condition: yr為偶數? cond1=>condition: yr可以被4整除? cond2=>condition: yr可以被100整除? cond3=>condition: yr可以被400整除? st->io0->cond0 cond0(yes)->cond1 cond0(no)->mg1->op0->ed cond1(yes)->cond2 cond1(no)->mg1 cond2(yes)->cond3 cond2(no)->mg0 cond3(yes)->mg0->op0->ed cond3(no)->mg1 ``` ### CSMA/CD作業 ```flow st=>start: 開始 ed0=>end: 送出成功 ed1=>end: 放棄傳送 temp=>operation: CSMA/CD mg0=>operation: 延遲9.6μs送出資料框 mg1=>operation: 延遲一段時間 mg2=>operation: 演算法算出隨機等待時間 mg3=>operation: 等待一小段的隨機時間 cond0=>condition: 傾聽網路是否空閒 cond1=>condition: 發生碰撞 cond2=>condition: 嘗試未達15次 op0=>operation: 0 st->temp->cond0 cond0(yes)->mg0->cond1 cond0(no)->mg1(top)->temp cond1(yes)->cond2 cond1(no)->ed0 cond2(no)->ed1 cond2(yes)->mg2->mg3->temp ``` ## 計程車 ```flow st=>start: 開始 ed=>end: 結束 mg0=>operation: M0 = 85 mg1=>operation: M0 = 85+5*C mg2=>operation: 跳表次數C = [(D-1500)/200] mg3=>operation: M0 = 85+5*(C+1) mg4=>operation: C無條件進位 mg5=>operation: 跳表車資M0 mg6=>operation: M1 = 20 mg7=>operation: M1 = 0 mg8=>operation: 里程數D(公尺) io0=>inputoutput: 夜間加成M1 ot0=>inputoutput: 總車資M = M0+M1(元) cond0=>condition: D >= 1500? cond1=>condition: C為整數 cond2=>condition: 在23點-6點期間上車 st->io0->cond2 cond2(yes)->mg6->mg8 cond2(no)->mg7->mg8 mg8->mg5->cond0 cond0(yes)->mg2->cond1 cond0(no)->mg0->ot0 cond1(yes)->mg3->ot0 cond1(no)->mg4->mg1->ot0 ot0->ed ``` ## 傅里德曼方程式 $$ H^2 = \Big({\dot{a}\over a}\Big)^2 = {8\pi G\over 3}\rho - {kc^2\over a^2} +{\Lambda c^2\over 3} $$ $$ \sum_{i=1}^{100} i = 1+2+3+...+99+100 = 5050 $$
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up