![mathematica編程勻變速直線運(yùn)動(dòng)[實(shí)驗(yàn)分析]_第1頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2022-1/21/cb64790c-daf6-4991-be12-46c4d9eadc7b/cb64790c-daf6-4991-be12-46c4d9eadc7b1.gif)
![mathematica編程勻變速直線運(yùn)動(dòng)[實(shí)驗(yàn)分析]_第2頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2022-1/21/cb64790c-daf6-4991-be12-46c4d9eadc7b/cb64790c-daf6-4991-be12-46c4d9eadc7b2.gif)
![mathematica編程勻變速直線運(yùn)動(dòng)[實(shí)驗(yàn)分析]_第3頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2022-1/21/cb64790c-daf6-4991-be12-46c4d9eadc7b/cb64790c-daf6-4991-be12-46c4d9eadc7b3.gif)
![mathematica編程勻變速直線運(yùn)動(dòng)[實(shí)驗(yàn)分析]_第4頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2022-1/21/cb64790c-daf6-4991-be12-46c4d9eadc7b/cb64790c-daf6-4991-be12-46c4d9eadc7b4.gif)
![mathematica編程勻變速直線運(yùn)動(dòng)[實(shí)驗(yàn)分析]_第5頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2022-1/21/cb64790c-daf6-4991-be12-46c4d9eadc7b/cb64790c-daf6-4991-be12-46c4d9eadc7b5.gif)
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、(*輸入原始數(shù)據(jù);yuanArray=時(shí)間間隔,"位置1"還是"位移2",數(shù)據(jù)1,數(shù)據(jù)2,.,數(shù)據(jù)n; *)(*以下部分為數(shù)據(jù)處理部分*)wArray = 0;wArrayn = 0;sArray = ;sArrayn = ;vArray = ;vArrayn = ;avArray = ;avArrayn = ;aArray = ;aArrayn = ;aAverage = 0;t =.;time = yuanArray1;timed = time*1.;yuanArray = DeleteyuanArray, 1;xuanze = yuanArray1
2、;yuanArray = DeleteyuanArray, 1;Ifxuanze = 1,wArray = yuanArray;wArrayn = Tablei - 1, i, LengthyuanArray;wLength = LengthwArray;Fori = 1, i < wLength, i+,sArray = AppendsArray, (wArrayi + 1 - wArrayi);sArrayn = AppendsArrayn, i;wArray = DeletewArray, 1;wArrayn = DeletewArrayn, 1;Ifxuanze = 2,sArr
3、ay = yuanArray;sArrayn = Tablei, i, LengthyuanArray;Fori = 1, i <= LengthyuanArray, i+,wArray = AppendwArray, wArrayi + sArrayi;wArrayn = AppendwArrayn, wArrayni + 1;sLength = LengthsArray;Fori = 1, i < sLength, i+,vArray = AppendvArray, (sArrayi + 1 + sArrayi)/(2 time);vArrayn = AppendvArrayn
4、, i;avArray = AppendavArray, (sArrayi + 1 - sArrayi)/time2; avArrayn = AppendavArrayn, i;sLength = LengthsArray;sLength2 = FloorsLength/2;sLength3 = CeilingsLength/2;Fori = 1, i <= sLength2, i+,aArray =AppendaArray, (sArrayi + sLength3 - sArrayi)/(sLength3*time2); aArrayn = AppendaArrayn, i;aAver
5、age = aAverage + aArrayi/sLength2;biaoti = "時(shí)間間隔:"timed = time*1.biaoti = "位置坐標(biāo):"wArrayd = wArray*1.wArrayn2 = InnerList, wArrayn, wArray, ListwArrayn3 = InnerList, wArrayn*time, wArray, Listbiaoti = "t內(nèi)的位移:"sArrayd = sArray*1.sArrayn2 = InnerList, sArrayn, sArray, List
6、biaoti = "計(jì)算的速度:"vArrayd = vArray*1.vArrayn2 = InnerList, vArrayn + 1, vArray, ListvArrayn3 = InnerList, vArrayn*time, vArray, Listbiaoti = "t內(nèi)的速度變化:"vbArray = DeletevArray, -1 - DeletevArray, 1biaoti = "相鄰點(diǎn)的加速度:"avArrayd = avArray*1avArrayn2 = InnerList, avArrayn, avAr
7、ray, ListavArrayn3 = InnerList, avArrayn*time, avArray, Listbiaoti = "逐差法計(jì)算的各個(gè)加速度:"aArrayd = aArray*1.aArrayn2 = InnerList, aArrayn, aArray, Listbiaoti = "平均加速度:"aAveraged = aAverage*1.biaoti = "位移圖象:"wFit = FitwArrayn3, 1, t, t2, twPoint = ListPlotwArrayn3, AxesOrigin
8、-> 0, 0;wLine = PlotwFit , t, 0, LengthwArrayn*time, AxesOrigin -> 0, 0; ShowwPoint, wLinebiaoti = "速度圖象:"vFit = FitvArrayn3, 1, t, tvPoint = ListPlotvArrayn3, AxesOrigin -> 0, 0;vLine = PlotvFit , t, 0, LengthvArrayn*time, AxesOrigin -> 0, 0; ShowvPoint, vLinebiaoti = "相鄰
9、點(diǎn)的加速度圖象:"avFit = FitavArrayn3, 1, tavPoint = ListPlotavArrayn3, AxesOrigin -> 0, 0;avLine = PlotavFit, t, 0, LengthavArrayn, AxesOrigin -> 0, 0; ShowavPoint, avLinebiaoti = "加速度圖象:"aAveraged = aAverage*1.aPoint = ListPlotaArrayn2, AxesOrigin -> 0, 0;aLine = PlotaAveraged, t,
10、0, LengthvArrayn, AxesOrigin -> 0, 0; ShowaPoint, aLineRemovexuanze; Removet;(*另一種輸入法:*)wArray = 0;wArrayn = 0;sArray = ;sArrayn = ;vArray = ;vArrayn = ;avArray = ;avArrayn = ;aArray = ;aArrayn = ;aAverage = 0;t =.;p = Input"請(qǐng)選擇類型:輸入1 選擇: '依次輸入相鄰時(shí)刻的位置坐標(biāo)' 輸入2 選擇: '依次輸入相鄰時(shí)間間隔內(nèi)的位移
11、39; 按 Cancel 鍵 選擇: '退出'請(qǐng)輸入1或2:", 1;Ifp = 1,time = Input"時(shí)間間隔相等,輸入T:", 0.1;timed = time*1.;Fori = 1, i > -1, i+,p = InputStringJoin"已輸入:", ToStringi, "個(gè)位置坐標(biāo), ", ToStringwArray, "再依次輸入相鄰時(shí)刻的位置坐標(biāo),w", ToStringi + 1, ":", i2 + 14 + 6 Random
12、; Ifp = $Canceled, Break;wArray = AppendwArray, p;wArrayn = AppendwArrayn, i;wArray = DeletewArray, 1;wArrayn = DeletewArrayn, 1;wLength = LengthwArray;Fori = 1, i < wLength, i+,sArray = AppendsArray, (wArrayi + 1 - wArrayi); sArrayn = AppendsArrayn, i;Ifp = 2,time = Input"時(shí)間間隔相等,輸入T:",
13、 0.1;Fori = 1, i > -1, i+,p = InputStringJoin"已輸入:", ToStringi - 1, "個(gè)位置坐標(biāo), ", ToStringsArray, "再依次輸入相鄰時(shí)刻的位置坐標(biāo),s", ToStringi, ":", 2 i - 1 + 6 Random;Ifp = $Canceled, Break;sArray = AppendsArray, p;sArrayn = AppendsArrayn, i;wArray = AppendwArray, wArrayi +
14、 p;wArrayn = AppendwArrayn, i;sLength = LengthsArray;Fori = 1, i < sLength, i+,vArray = AppendvArray, (sArrayi + 1 + sArrayi)/(2 time);vArrayn = AppendvArrayn, i;avArray = AppendavArray, (sArrayi + 1 - sArrayi)/time2;avArrayn = AppendavArrayn, i;sLength = LengthsArray;sLength2 = FloorsLength/2;sL
15、ength3 = CeilingsLength/2;Fori = 1, i <= sLength2, i+,aArray = AppendaArray, (sArrayi + sLength3 - sArrayi)/(sLength3*time2); aArrayn = AppendaArrayn, i;aAverage = aAverage + aArrayi/sLength2;biaoti = "時(shí)間間隔:"timed = time*1.biaoti = "位置坐標(biāo):"wArrayd = wArray*1.wArrayn2 = InnerLis
16、t, wArrayn, wArray, ListwArrayn3 = InnerList, wArrayn*time, wArray, Listbiaoti = "t內(nèi)的位移:"sArrayd = sArray*1.sArrayn2 = InnerList, sArrayn, sArray, Listbiaoti = "計(jì)算的速度:"vArrayd = vArray*1.vArrayn2 = InnerList, vArrayn + 1, vArray, ListvArrayn3 = InnerList, vArrayn*time, vArray, Li
17、stbiaoti = "t內(nèi)的速度變化:"vbArray = DeletevArray, -1 - DeletevArray, 1biaoti = "相鄰點(diǎn)的加速度:"avArrayd = avArray*1avArrayn2 = InnerList, avArrayn, avArray, ListavArrayn3 = InnerList, avArrayn*time, avArray, Listbiaoti = "逐差法計(jì)算的各個(gè)加速度:"aArrayd = aArray*1.aArrayn2 = InnerList, aArra
18、yn, aArray, Listbiaoti = "平均加速度:"aAveraged = aAverage*1.biaoti = "位移圖象:"wFit = FitwArrayn3, 1, t, t2, twPoint = ListPlotwArrayn3, AxesOrigin -> 0, 0;wLine = PlotwFit , t, 0, LengthwArrayn*time, AxesOrigin -> 0, 0; ShowwPoint, wLinebiaoti = "速度圖象:"vFit = FitvArrayn3, 1, t, tvPoint = ListPlotvArrayn3, AxesOrigin -> 0, 0;vLine = PlotvFit , t, 0, LengthvArrayn*time, AxesOrigin -> 0, 0; ShowvPoint, vLinebiaoti = "相鄰點(diǎn)的加速度圖象:"avFit = FitavArrayn3, 1, tavPoint = ListPlotavArrayn3, AxesOrigin -> 0, 0;avLine = P
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024年六年級(jí)語(yǔ)文學(xué)習(xí)反思及總結(jié)試題及答案
- 食品食品抽檢流程與方法分析試題及答案
- 襄陽(yáng)二模數(shù)學(xué)試題及答案
- 2024年食品安全檢驗(yàn)員的備考題
- 統(tǒng)計(jì)學(xué)深入理解試題及答案解析
- 食品添加劑應(yīng)用與檢測(cè)試題及答案
- 2025年三級(jí)安全培訓(xùn)考試試題及答案5A
- 2024-2025工廠員工安全培訓(xùn)考試試題附解析答案可打印
- 2024-2025項(xiàng)目部安全管理人員安全培訓(xùn)考試試題答案突破訓(xùn)練
- 25年公司三級(jí)安全培訓(xùn)考試試題【培優(yōu)A卷】
- 機(jī)械加工PFMEA案例
- 消費(fèi)者心理與行為分析PPT(第四版)完整全套教學(xué)課件
- GB/T 7324-2010通用鋰基潤(rùn)滑脂
- 設(shè)計(jì)合同封面
- 《伊利集團(tuán)股份有限公司應(yīng)收賬款管理問(wèn)題探討(論文)6400字》
- 內(nèi)蒙古自治區(qū)興安盟各縣區(qū)鄉(xiāng)鎮(zhèn)行政村村莊村名居民村民委員會(huì)明細(xì)及行政區(qū)劃代碼
- 鐵塔基礎(chǔ)自檢驗(yàn)收記錄表
- 《梅嶺三章》教學(xué)實(shí)錄
- DB50∕T 906-2019 殯葬服務(wù)標(biāo)志和設(shè)置規(guī)范
- 安全生產(chǎn)管理和國(guó)內(nèi)外先進(jìn)管理經(jīng)驗(yàn)講義PPT通用課件
- 部編版道德與法治小學(xué)六年級(jí)下冊(cè)第二單元 《愛(ài)護(hù)地球 共同責(zé)任》單元練習(xí)試題(共六套).docx
評(píng)論
0/150
提交評(píng)論