本文采用蒙特卡洛方法,將方程y=sin(x)+x與方程y=cos(x)+x之間的曲線包絡(luò)面積求解出來。
標(biāo)簽: 蒙特卡洛
上傳時間: 2016-11-04
上傳用戶:gtzj
用蒙特卡洛方法,求解出y=cos(x)/x在給定區(qū)間上的定積分值。
標(biāo)簽: 蒙特卡洛
上傳時間: 2014-01-22
上傳用戶:1966640071
學(xué) 習(xí) ASP 頁 的 最 佳 途 徑 是 動 手 編 寫 自 己 的 ASP 頁 。 創(chuàng) 建 ASP 頁 其 實 很 簡 單 , 只 要 使 用 文 本 編 輯 器 將 腳 本 命 令 插 入 到 HTML 頁 中 就 行 了 。 將 這 個 主 頁 以 .asp 為 文 件 擴(kuò) 展 名 保 存 , ASP 服 務(wù) 器 就 知 道 處 理 其 中 的 腳 本 命 令 了 。 若 要 查 看 腳 本 的 結(jié) 果 , 只 要 使 用 HTTP 協(xié) 議 在 Web 瀏 覽 器 中 請 求 查 看 該 頁 就 行 了 。 也 就 是 鍵 入 ht tp://localhost/iishelp/iis/htm/tutorial/filename.asp 。 在 本 課 中 , 您 將 創(chuàng) 建 流 行 的 “ Hello World! ” 腳 本 , 方 法 是 從 教 程 中 將 HTML 和 ASP 腳 本 命 令 復(fù) 制 到 文 本 編 輯 器 中 。 當(dāng) 您 在 文 本 編 輯 器 中 保 存 文 件 后 , 就 能 用 瀏 覽 器 查 看 腳 本 的 輸 出 效 果 了 。
上傳時間: 2014-01-21
上傳用戶:huangld
輸入某年某月某日,判斷是不是閏年? 輸入三個整數(shù)x,y,z,請把這三個數(shù)由小到大輸出。
標(biāo)簽: 輸入
上傳時間: 2013-12-17
上傳用戶:aix008
顯示螺旋隊列,//螺旋隊列.cpp // 21 22 ... ... // 20 7 8 9 10 // 19 6 1 2 11 // 18 5 4 3 12 // 17 16 15 14 13 //看清以上數(shù)字排列的規(guī)律,設(shè)1點的坐標(biāo)是(0,0),X方向向右為正,y方向向下為正。例如,7的坐標(biāo)為 //(-1,-1),2的坐標(biāo)為(0,1),3的坐標(biāo)為(1,1)。編程實現(xiàn)輸入任意一點坐標(biāo)(x,y),輸出所對應(yīng)得
上傳時間: 2013-12-18
上傳用戶:許小華
用RBF神經(jīng)網(wǎng)絡(luò),完成對y=f(x)的曲線擬合。
標(biāo)簽: RBF 神經(jīng)網(wǎng)絡(luò)
上傳時間: 2013-12-06
上傳用戶:mikesering
我們知道C語言的功能非常強(qiáng)大, 很適合編寫系統(tǒng)軟件。利用它我們可以很容易地解決經(jīng)常遇到的一些棘手的問題,如拷貝隱含或系統(tǒng)屬性的文件(特別是光盤中的隱含文件)、在任意DOS版本或在windows中更改子目錄的名稱、在任意DOS 版本中使用帶空格的目錄名等等。 這些問題僅靠操作系統(tǒng)或常用的工具軟件往往很難湊效。我們可以利用C語言的強(qiáng)大功能來編寫一些小程序,能夠很順利地解決這些問題。
標(biāo)簽: C語言
上傳時間: 2014-01-01
上傳用戶:稀世之寶039
PRINCIPLE: The UVE algorithm detects and eliminates from a PLS model (including from 1 to A components) those variables that do not carry any relevant information to model Y. The criterion used to trace the un-informative variables is the reliability of the regression coefficients: c_j=mean(b_j)/std(b_j), obtained by jackknifing. The cutoff level, below which c_j is considered to be too small, indicating that the variable j should be removed, is estimated using a matrix of random variables.The predictive power of PLS models built on the retained variables only is evaluated over all 1-a dimensions =(yielding RMSECVnew).
標(biāo)簽: from eliminates PRINCIPLE algorithm
上傳時間: 2016-11-27
上傳用戶:凌云御清風(fēng)
標(biāo)準(zhǔn)的遺傳算法代碼,下面是程序:function y=fitness(chrom,p,aim) global P_cross P_mutation [Popsize len]=size(chrom) fitness_gene=zeros(Popsize,1) in_he=zeros(4,1) out_he=zeros(4,1) in_out=0 out_out=0
標(biāo)簽: 標(biāo)準(zhǔn) 代碼 算法
上傳時間: 2013-12-08
上傳用戶:pkkkkp
The VGA example generates a 320x240 diffusion-limited-aggregation (DLA) on Altera DE2 board. A DLA is a clump formed by sticky particles adhering to an existing structure. In this design, we start with one pixel at the center of the screen and allow a random walker to bounce around the screen until it hits the pixel at the center. It then sticks and a new walker is started randomly at one of the 4 corners of the screen. The random number generators for x and y steps are XOR feedback shift registers (see also Hamblen, Appendix A). The VGA driver, PLL, and reset controller from the DE2 CDROM are necessary to compile this example. Note that you must push KEY0 to start the state machine.
標(biāo)簽: diffusion-limited-aggregation DLA generates 320x240
上傳時間: 2014-01-16
上傳用戶:225588
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1