欢迎来到天天文库
浏览记录
ID:40879123
大小:127.91 KB
页数:20页
时间:2019-08-09
《Appendix A Computer Programs》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、AppendixAComputerProgramsMATLABA.M.1:CommonMATLABcommandsformatricesA.M.2:CommonMATLABcommandsforpolynomialsA.M.3:ProgramsforrootsolvingA.M.4:SolutionofasystemoflinearequationsA.M.5:InterpolationandcurvefittingA.M.6:Solutionofordinarydifferentialequations
2、FORTRANA.F.1:GaussianeliminationmethodforatridiagonalsystemoflinearequationsA.F.2:Gauss-SeideliterativemethodforsolvingasystemoflinearequationsA.F.3:SecantmethodforfindingtherootsofanalgebraicequationA.F.4:Newton-Raphsonmethodforfindingtherealrootsofanalg
3、ebraicequationA.F.5:Successiveover-relaxationmethodfortheLaplaceequationA.F.6:SuccessivesubstitutionmethodforsolvingthesystemofnonlinearalgebraicequationsinExample4.6ANOTEONTHECOMPUTERPROGRAMSThisappendixpresentsseveralcomputerprogramsthatarecommonlyusedf
4、orthenumericalmodelingandsimulationofthermalsystemsandprocesses.Thenumericalmethodscoveredhereincludethoseforcurvefitting,solutionofasys-temoflinearequations,rootsolving,solutionofordinarydifferentialequations,andsolutionofasystemofnonlinearequations.Deta
5、ilsonthemethodsusedaregiveninChapter3andChapter4,aswellasinreferencescitedtherein.TheprogramsarewrittenforMATLAB,whichhasbecomethemostfre-quentlyusedsoftwareforsolvingmathematicalequationsthatariseinscientificandengineeringproblems,andinFortran,whichwaspr
6、obablythemostcommonprogramminglanguageusedinengineeringapplicationsinthepastandwhichcontinuestobeimportanteventoday.TheFortranprogramshavebeencompiledandexecutedonaUnix-basedcomputersystemandmayeasilybemodifiedforotherprogramminglanguagesandcomputersystem
7、s.AfewMATLABcommandswerediscussedinChapter3andChapter4,andseveralreferencesfornumerical639©2008byTaylor&FrancisGroup,LLC640DesignandOptimizationofThermalSystemsanalysisandcomputersolutionsweregiven.AdditionalMATLABcommandsandprogramsaregivenhere.Theresult
8、sobtainedfromsomeoftheprogramsgiveninthisappendixarediscussedinthetext.Themainpurposeofpresentingthesecom-puterprogramsistoprovidereadyaccesstoafewimportantandsimpleprogramsthatmaybeusedforobtaininginputsnecessaryfo
此文档下载收益归作者所有