下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
第八隊(duì) 程序,用于解決四種排隊(duì)系統(tǒng)的各個系統(tǒng)參數(shù)問題程序名:queue;fact(函數(shù))求階乘的函運(yùn)行實(shí)例是上的例子:主要的步驟就是先運(yùn)行程序,然后選擇排隊(duì)系統(tǒng)模式,然后根據(jù)提示輸入已知參數(shù),Enter鍵.第一類系統(tǒng)queue執(zhí)行實(shí)例:在命令窗口的程序執(zhí)行過程如下theprogramiswithqueueingPleaseinputthesystempattern:M/M/1/inf=1,M/M/1/k=2,M/M/c/inf=3,M/M/c/m/m=4!Pt1Pleaseinputtheaveragearrivalnumberinunittimelapta=1lapta=1Pleaseinputtheaverageservicenumberinunittimemu=2mu=2輸出結(jié)果如下Theserviceintensityofthesystemis:ru=Theaveragequeuelengthis:L=1Theaveragewaitinglengthis:Lq=Theaveragewaitingtimeis:Wq=Theaveragedelaytimeis:W=1第二類系統(tǒng)queue執(zhí)行實(shí)例:在命令窗口的程序執(zhí)行過程如下theprogramiswithqueueingPleaseinputthesystempattern:M/M/1/inf=1,M/M/1/k=2,M/M/c/inf=3,M/M/c/m/m=4!Pt2Pleaseinputtheaveragearrivalnumberinunittimelapta=5lapta=5Pleaseinputtheaverageservicenumberinunittimemu=6mu=6Pleaseinputtheparameterk=4k=4輸出結(jié)果如下Theserviceintensity(Untruth)ofthesystemis:ru=Theaveragequeuelengthis:L=TheaveragewaitinglengthLq=Thelostpossibilityp_kTheaveragelostcustomernumberinunittimeis:lapta_L=Thetruthaveragearrivalcustomernumberinunittimeis:lapta_e=Theaveragedelaytimeis:W=TheaveragewaitingtimeWq=Theaverageserviceintensity(efficentandtruth)ofthesystemis:ru_e=第三類系統(tǒng)queue執(zhí)行實(shí)例:在命令窗口的程序執(zhí)行過程如下theprogramiswithqueueingPleaseinputthesystempattern:M/M/1/inf=1,M/M/1/k=2,M/M/c/inf=3,M/M/c/m/m=4!Pt3Pleaseinputtheaveragearrivalnumberinunittimelapta=15lapta=Pleaseinputtheaverageservicenumberinunittimemu=20mu=Pleaseinputtheparameterservernumberc=2c=2輸出結(jié)果如下Theaveragewaitinglengthis:Lq=Theaveragebusyservernumberis:c_bar=Theaveragedelaycustomernumberis:L=Theaveragewaitingtimeis:Wq=Theaveragedelaytimeis:W=第四類系統(tǒng)queue執(zhí)行實(shí)例:在命令窗口的程序執(zhí)行過程如下theprogramiswithqueueingPleaseinputthesystempattern:M/M/1/inf=1,M/M/1/k=2,M/M/c/inf=3,M/M/c/m/m=4!Pt4Pleaseinputtheaveragearrivalnumberinunittimelapta=1lapta=1Pleaseinputtheaverageservicenumberinunittimemu=4mu=4Pleaseinputtheparameterrepair snumberc=2c=2Pleaseinputtheparametermachinesnumberm=5m=5輸出結(jié)果如下Theaveragehappenedmulfunctionmachinenumberis:L=Theaveragewaitingmulfunctionmachinenumberis:Lq=Theaveragebusyserver snumberis:c_bar=Theaverageworkingmachinesnumberis:a=Theaveragemulfunctionmachinetookplacenumberinunittimeis:lapta_e=Theaveragewaitingtimeis:Wq=Theaveragedelaytimeis:W=Theserveroper
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- GMP培訓(xùn)質(zhì)量管理考核試題匯編
- 2026年勞務(wù)員之勞務(wù)員基礎(chǔ)知識考試題庫200道附答案【輕巧奪冠】
- 2026年縣鄉(xiāng)教師選調(diào)考試《教師職業(yè)道德》題庫及完整答案【有一套】
- 項(xiàng)目管理風(fēng)險(xiǎn)識別與規(guī)避措施
- 吉林省吉林市舒蘭市2023-2024學(xué)年九年級上學(xué)期第一次月考物理考點(diǎn)及答案
- 熱壓延工崗前績效評估考核試卷含答案
- 鎢鉬制品燒結(jié)工安全意識評優(yōu)考核試卷含答案
- 玻璃微珠成型工崗前強(qiáng)化考核試卷含答案
- 煙草物理檢驗(yàn)員安全文明測試考核試卷含答案
- 海藻制碘工崗前競賽考核試卷含答案
- 核物理與輻射安全智慧樹知到期末考試答案章節(jié)答案2024年哈爾濱工程大學(xué)
- 統(tǒng)計(jì)學(xué)賈俊平第5章概率與概率分布
- 游戲動漫人體結(jié)構(gòu)造型手繪技法
- 保健食品及其原料安全性毒理學(xué)檢驗(yàn)與評價(jià)技術(shù)指導(dǎo)原則
- 建筑企業(yè)經(jīng)營管理課件
- 捷盟-03-京唐港組織設(shè)計(jì)與崗位管理方案0528-定稿
- 基于SystemView的數(shù)字通信仿真課程設(shè)計(jì)
- 物業(yè)二次裝修管理規(guī)定
- GB 10133-2014食品安全國家標(biāo)準(zhǔn)水產(chǎn)調(diào)味品
- 采氣工程課件
- 工時的記錄表
評論
0/150
提交評論