一杯沸水冷卻,圓柱體模型,底面半徑0.05m,高0.1m,周圍溫度20度,初始水溫100度 方程是四維輸運方程(常數a^2=k/(c*p),k是熱傳導系數0.6006焦/(米*秒*度)) 初始條件:t=0時水等于100度 邊界條件:1.上下壁都是自由冷卻,第三類邊界條件,周圍溫度保持在20度(H=k/h,h取1) 2.杯壁絕熱,第二類邊界條件 圖形顯示格式,取過圓柱軸的截面溫度變化將其做成動畫.
標簽: 冷卻
上傳時間: 2014-01-21
上傳用戶:xlcky
Floyd-Warshall算法描述 1)適用范圍: a)APSP(All Pairs Shortest Paths) b)稠密圖效果最佳 c)邊權可正可負 2)算法描述: a)初始化:dis[u,v]=w[u,v] b)For k:=1 to n For i:=1 to n For j:=1 to n If dis[i,j]>dis[i,k]+dis[k,j] Then Dis[I,j]:=dis[I,k]+dis[k,j] c)算法結束:dis即為所有點對的最短路徑矩陣 3)算法小結:此算法簡單有效,由于三重循環結構緊湊,對于稠密圖,效率要高于執行|V|次Dijkstra算法。時間復雜度O(n^3)。 考慮下列變形:如(I,j)∈E則dis[I,j]初始為1,else初始為0,這樣的Floyd算法最后的最短路徑矩陣即成為一個判斷I,j是否有通路的矩陣。更簡單的,我們可以把dis設成boolean類型,則每次可以用“dis[I,j]:=dis[I,j]or(dis[I,k]and dis[k,j])”來代替算法描述中的藍色部分,可以更直觀地得到I,j的連通情況。
標簽: Floyd-Warshall Shortest Pairs Paths
上傳時間: 2013-12-01
上傳用戶:dyctj
The market for miniature computer programming is exploding. C++ Footprint and Performance Optimization supplies programmers the knowledge they need to write code for the increasing number of hand-held devices, wearable computers, and intelligent appliances. This book gives readers valuable knowledge and programming techniques that are not currently part of traditional programming training. In the world of C++ programming, all other things being equal, programs that are smaller and faster are better. C++ Footprint and Performance Optimization contains case studies and sample code to give readers concrete examples and proven solutions to problems that don t have cut and paste solutions.
標簽: Performance programming Optimizati Footprint
上傳時間: 2013-12-09
上傳用戶:wfl_yy
簡單的floyd運用 第一行輸入一個整數C。C是測試的情況(0< C <=30).第二行一個正整數N( 0< N <=100),表示道路的總數.緊接N行,每一行包含兩個字符串, Si,,Ti,和一個整數Di,代表從Si到Ti的距離(0<= Di <=150)。最后一行有兩個字符串,S 和 T,你得找出從S 到 T的最短的距離。地名是不超過120個小寫字符的串(從‘a’到‘z’)。假設這里最多有100條直接連通兩個地方的路。 Output 輸出包含C行,每一行對一種測試情況。對每一種測試情況,輸出包含一個整數,假如S 到 T存在一條最短的路,輸出從S到T的最短距離,否則輸出“-1”. Sample Input 2 2 jiuzhouriver liuchi 89 liuchi liyuan 100 liuchi jiuzhouriver 3 youyongchi fengyuan 100 qinshi meiyuan 100 chaochang supermarkt 100 meiyuan youyongchi Sample Output 89 -1
上傳時間: 2016-03-10
上傳用戶:wyc199288
C++讀取Excel AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. If your application uses MFC in a shared DLL, and your application is in a language other than the operating system s current language, you will need to copy the corresponding localized resources MFC42XXX.DLL from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. For example, MFC42DEU.DLL contains resources translated to German.) If you don t do this, some of the UI elements of your application will remain in the language of the operating system.
標簽: AppWizard indicate custom source
上傳時間: 2016-03-12
上傳用戶:cazjing
對c++的介紹,適合初學者。系外文資料。
標簽:
上傳時間: 2013-12-26
上傳用戶:jjj0202
是用c#編寫的,利用wordnet計算句子的相似度的程序
標簽: 編寫
上傳時間: 2013-12-19
上傳用戶:yan2267246
軟件介紹: 編程環境: windows2003 +visual stdio c++ .net Ado + SQL2000 /####################################/ ** SQL設置: 將在SQL2000下建立schooldata數據庫 導入數據文件 導入數據: data目錄下有school_back數據庫備分文件 操作:用SQL企業管理器還原數據庫來導入數據 訪問本地數據庫服務器,密碼是自己設置的那個,操作schooldata數據庫的用戶名和密碼相同 主要用ADO訪問數據庫,和幾個顯示數據的控件Treectrl,listctrl,datagrid等 程序中有幾個BUG還沒解決, 實現功能: 操作:在選擇查詢條件:選擇一個,tree控件里顯示相關信息 可以在tree控件里單擊來顯示每個ITEM,每個ITEM相關信息顯示在LIST控件內 雙擊LIST控件顯示具體信息 也可以在窗口里單擊右鍵或操作菜單具體操作 主要功能: 查詢,添加,刪除,顯示“學院,各系,班級,學生,教師,社團,課程”等信息 //====================================================================== 程序還用了Active Skin 對程序進行了換膚
上傳時間: 2013-12-18
上傳用戶:er1219
本人開發的測量水的濁度的儀器,完整的keil c 工程,包括串口通信、iic、ds1335液晶驅動、溫度采集、A/D采樣、小鍵盤等功能。
上傳時間: 2016-03-29
上傳用戶:海陸空653
SAS是功能強大的統計軟體,其程式碼有8成是用C所開發。此檔案提供豐富的SAS SQL程式碼,可幫助你解決相關的資料問題問題。
標簽: SAS
上傳時間: 2014-11-24
上傳用戶:sevenbestfei