二分法求一個未知數方程的根f(x)=0,x屬于[a,b],除了顯示每次計算的小區間外,還根據給定的精度計算了所需的次數k
上傳時間: 2016-02-05
上傳用戶:fredguo
文件名 :test3.c * 文件描述:預測分析法實現的語法分析器。分析如下文法: * E->E+T | E-T | T * T->T*F | T/F |F * F->(E) | i * 輸入:每行含一個表達式的文本文件(#號結束)。 * 輸出:分析成功或不成功信息。 * 創建人:余洪周 <nick19842000.cublog.cn> 2006-12-16 * 版本號:1.0 * 說明 :為了表示的方便采用了如下的所示表示方法: * A=E B=T * 非終結符:0=E 1=E 2=T 3=T 4=F * 終結符 :0=i 1=+ 2=- 3=* 4=/ 5=( 6=) 7=#
上傳時間: 2013-12-21
上傳用戶:cylnpy
光學雙穩特性曲線 調制作用:It=Ii*T(phi) 反饋作用:phi=phi_0+K*It 得透射率T(phi)與相移phi的反饋關系是 T(phi)=[phi-phi_0]/[K*Ii] 式中phi_0為初始相移 對于多干涉(F-P干涉)有: T(phi)=1/[1+F*(sin(phi/2))^2]
上傳時間: 2013-12-16
上傳用戶:lifangyuan12
模式識別中K均值、ISODATA等聚類算法以及感知器線性判別算法的Java實現,源碼包含一個完整的Eclipse工程,便于重用
上傳時間: 2014-01-04
上傳用戶:shanml
Contents at a Glance Introduction 1 PART I INSTALLATION AND CONFIGURATION 5 Hour 1 Preparing to Install Linux 7 2 Installing Linux 23 3 Post-Installation Issues 41 PART II LEARNING LINUX BASICS 67 Hour 4 Reading and Navigation Commands 69 5 Manipulation and Searching Commands 93 6 Using the Shell 117 7 Using the X Window System 143 8 Exploring the K Desktop Environment 177 PART III CONNECTING TO THE OUTSIDE WORLD 197 Hour 9 Using Communications Programs 199 10 Connecting to the Internet 223 11 Configuring Internet Email 249 12 Configuring Internet News 269 13 Internet Downloading and Browsing 289
標簽: CONFIGURATION Introduction INSTALLATION Preparing
上傳時間: 2013-12-27
上傳用戶:qiao8960
uC/OS-II是源碼公開的實時嵌入式內核,其性能完全可以與商業產品競爭。自1992年以來,全世界成千上萬的開發者已經成功地將uC/OS-II應用於各種系統。此份即為 uCOS-II 2.8源碼
上傳時間: 2013-11-25
上傳用戶:2404
k-meansy算法源代碼。This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen.
標簽: code implementing directory algorithm
上傳時間: 2016-04-07
上傳用戶:shawvi
Problem F:汽車加油 Time Limit:1000MS Memory Limit:65536K Total Submit:1400 Accepted:404 Language: not limited Description 一輛汽車加滿油后可行駛n公里。旅途中有若干個加油站。設計一個有效算法,指出應在哪些加油站停靠加油,使沿途加油次數最少。 編程任務: 對于給定的n和k(k <= 10000)個加油站位置,編程計算最少加油次數。 Input 第一行有2 個正整數n和k,表示汽車加滿油后可行駛n公里,且旅途中有k個加油站。接下來的1 行中,有k+1 個整數,表示第k個加油站與第 k-1 個加油站之間的距離。第0 個加油站表示出發地,汽車已加滿油。第k+1 個加油站表示目的地。 Output 輸出最少加油次數。如果無法到達目的地,則輸出”No Solution”。 Sample Input 7 7 1 2 3 4 5 1 6 6 Sample Output 4
標簽: Limit Accepted Language Problem
上傳時間: 2016-04-12
上傳用戶:youth25
matlab遺傳算法工具箱函數及實例講解2 【問題】在-5<=Xi<=5,i=1,2區間內,求解 f(x1,x2)=-20*exp(-0.2*sqrt(0.5*(x1.^2+x2.^2)))-exp(0.5*(cos(2*pi*x1)+cos(2*pi*x2)))+22.71282的最小值。
上傳時間: 2013-12-31
上傳用戶:gtzj
1、在Eclipse中導入工程,可以通過Eclipse中的菜單File→Import→Existing Projects intoWorkspace中選擇Project; 2、在MySQL中創建數據庫,使用MySQL Control Center執行database目錄下的dbscript.sql數據庫腳本文件創建數據庫SQL語句創建數據庫和表及數據; 3、設置數據庫連接配置,修改doc目錄下的exam.xml文件,將其中的數據庫用戶名和密碼設置為實際的用戶名和密碼; 4、將doc目錄下的exam.xml文件拷貝到Tomcat的安裝目錄下的conf\Catalina\localhost文件夾下,并修改exam.xml文件中的docBase,將該值指向該工程目錄,如"F:\jsp\21\WebRoot"; 5、確保Tomcat安裝目錄的common\lib下mysql-connector-java-3.0.16-ga-bin.jar類包文件,如果沒有拷貝WebRoot\WEB-INF\lib目錄下的mysql-connector-java-3.0.16-ga-bin.jar類包文件到Tomcat安裝目錄的common\lib下; 6、啟動Tomcat,在瀏覽器輸入http://localhost:8080/exam,使用賬號s0001,密碼s0001登陸,后臺管理使用賬號admin,密碼dmin登陸。
上傳時間: 2013-12-21
上傳用戶:huannan88