版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
ModernScientificComputingwith-中國大學mooc25同步更新1ComputerMathematicsLanguages—AnOverview01-01MainContentsoftheCourse隨堂測驗1、Scientificcomputingisinfactthesolutionofmathematicalproblems.參考答案:正確2、“Computing”ofScientificcomputingincludesanalyticalandnumericalcomputationofmathematicalproblems.參考答案:正確01-02WhyShouldLearnComputerMathematicsLanguages隨堂測驗1、Theanalyticalsolutiontothedeterminantofanygivenmatrixexists.參考答案:正確2、Thedeterminantofn×nmatrixcanbeobtainedfromthealgebraicsumofmanydeterminantsof1×1matricesbyalgebraiccomplements.參考答案:正確01-03AnalyticalandNumericalSolutions隨堂測驗1、Whichofthefollowingfunctionscansolvetheanalyticalsolution?A、solve()B、none()C、zero()D、exp()參考答案:A2、Theirrationalnumberπhasclosed-formsolution.參考答案:錯誤01-04ABriefReviewoftheDevelopmentofComputerMathematicsLanguages隨堂測驗1、CleveMolerandJackLittleco-foundedTheMathWorksInc.in1984todevelopthelanguage.01-05LimitationsofConventionalComputerLanguages隨堂測驗1、Conventionalnumericalalgorithmisthebestmethodforthesolutionstomathematicalproblems.參考答案:錯誤01-06Three-stepMethodologiesinScientificComputing隨堂測驗1、ThethreestepsofThree-stepStrategyofScientificcomputingare"whatisit","howtodescribeit"and"solution".參考答案:正確Unit1、Therearethreeleadingcomputermathematicslanguagesintheworldwithhighreputations.Whichthreearetherightoptions?A、B、ofMathWorksInc.C、MathematicaofResearchD、MapleofMaple參考答案:BCD2、ThemainfunctionsofincludeA、NumericalcomputationB、programmingC、widelyusedinsymbolicoperationD、numericalsimulation參考答案:ABCD3、Whichofthefollowingistheadvantageoflanguage?A、Lowintegration,goodscalabilityandstrongnumericalsolutionabilityB、Programmingsimilartootherlanguages,suchasCC、powerfulsystemsimulationcapability,SimulinkD、Itistheinternationalpreferredcomputerlanguageinthefieldofcontrolandmanyfields參考答案:CD4、WhataretheoutstandingfeaturesofcomparedwithothercomputerlanguagesA、PooropennessB、PowerfulfunctionsC、RichlibraryfunctionsD、Richlibraryfunctions參考答案:BCD5、WhichofthefollowingsituationsdoestheanalyticsolutionnotexistA、SolvingindefiniteintegralproblemsB、CircularconstantC、TheanalyticexpressionoffunctionD、Bivariatefirstorderequationswithroots參考答案:ABUnitAssignment1、Inordertounderstandthethree-phaselearningstage,pleaserevisitExample1.5,andseewhichstatementsbelongtothesecondandthirdphases.Alsopleasethinkaboutwhatshouldbedoneforthefirstphase.參考答案:Inthefirstphase,theusershouldknowwhatisthephysicalmeaningofthemathematicalexpression.Thatistofindavectorx,andthevectormustsatisfyalltheitemsintheconstraints.Andhowtoselectsuchavectortominimizetheobjectivefunction.Thencomesthesecondandthirdphase,andinthesecondphase,theproblemcanbedescribedbythevariableP.Andinthethirdphase,thefunctionlinprog()canbecalledtosolvetheproblem,with2FundamentalsofProgramming02-01DataStructures隨堂測驗1、1.Thecorrectoneofthefollowingvariablenamesis()C、Name_1D、Name1-參考答案:C2、2.Whichofthefollowingdatatypeshasthevaluerange(0,255)()A、int8B、uint8C、int16D、uint16參考答案:B3、3.nameandNamearethesamevariable()參考答案:錯誤4、4.Outputstringdata321,usecommandA=sym(321)()參考答案:錯誤參考答案:錯誤02-02InputofMatricesand隨堂測驗1、Whichisthewrongwaytoinputmatrix()A、[12;34]B、[1,2;3,4]C、[12;3,4]D、[1;2;3;4]參考答案:D2、4.WhicharethecorrectwaystoinputmatrixA、[12;34]B、[1;2;3;4]C、[1,2;3,4]D、[12;3,4]參考答案:ACD4、2.GenerateavectorbetweenA∈[0,200]withastepsizeof1,thecommandthatshouldbeenteredisA=[0:200]()參考答案:正確5、3.GenerateavectorbetweenA∈withastepsizeof2,thecommandthatshouldbeenteredisA=[1:2:()參考答案:正確02-03AlgebraicOperationsofMatrices隨堂測驗1、1.solvethelinearequationsAX=B,thecommandusedisX=B/A.()參考答案:錯誤2、2.Aisa3x3matrix.UsingthecommandA.*A,canachievethedirectcalculationofthecorrespondingelementsofmatrixA()參考答案:正確參考答案:正確4、4.參考答案:正確5、5.參考答案:錯誤02-04OtherFundamentalOperations隨堂測驗1、1.PleasecomputeA&BwhereA=[2,6;7,8],B=[2,0;0,1].A、[1,0;0,1]B、[0,1;1,0]參考答案:A2、2.Pleaselistalltheprimenumbersintheinterval[1,1000].A、a=1:1000;b=a(primes(a))B、a=1:1000;b=b(primes(a))C、a=1:1000;b=a(isprime(b))D、a=1:1000;b=a(isprime(a))參考答案:D3、4.Pleasechoosethewrongcommand.A、symss;P=(s+3)^2*(s^2+3*s+2)*(s^3+12*s^2+48*s+64);P1=simplify(P)B、symss;P=(s+3)^2*(s^2+3*s+2)*(s^3+12*s^2+48*s+64);P2=expand(P)C、symss;P=(s+3)^2*(s^2+3*s+2)*(s^3+12*s^2+48*s+64);P3=factor(P)D、symss;P=(s+3)^2*(s^2+3*s+2)*(s^3+12*s^2+48*s+64);P4=prod(P3)參考答案:D4、5.Pleasechoosethecorrectcommandtosubstitutethevariablexintheoriginalfunctionf(x)withvariablex1.A、f1=subs(f,x1,x)B、f1=subs('f',x,x1)參考答案:C5、3.Thecommand:i=find(A>=5)canfindalltheindicesinAwhosevalueislargerthan5.參考答案:正確02-05FlowControlStructures隨堂測驗1、5.Pleasechoosethecorrectcommands.()A、tic,s=0;fori=1:10000000,s=s+1/2^i+1/3^i;end;tocB、tic,s=0;fori=1:10000000,s=s+1/2^i+1/3^i;end;ticC、toc,s=0;fori=1:10000000,s=s+1/2^i+1/3^i;end;tocD、toc,s=0;fori=1:10000000,s=s+1/2^i+1/3^i;end;tic參考答案:A2、1.A、s1=0;fori=1:100,s1=s1+i;end;s1B、s1=0;fori=1:100,s1=s1+i,i=i+1;end;s1C、s2=0;i=1;while(i<=100),s2=s2+i;i=i+1;end;s2D、s2=0;i=1;while(i<=100),s2=s2+i;end;s23、4.A、s=0;m=0;while(s<=10000),m=m+1;s=s+m;end,mB、s=0;m=0;while(s<=10000),s=s+m;m=m+1;end,mC、s=0;fori=1:10000,s=s+i;ifs>10000,break;end,sD、s=0;fori=1:10000,s=s+i;ifs>10000,break;end,end,s參考答案:AD4、2.Thedifferencebetweentheforloopstructureandthewhileloopstructureisthattheforloopstructureitselfcansetanexit.()參考答案:錯誤5、3.參考答案:正確02-06ProgrammingofFunctions隨堂測驗1、1.PleasechoosethedifferencebetweentheM-functionprogramandtheM-scriptprogram.()C、BoththeM-scriptprogramandtheM-functionprogramhavefunctiondefinition.D、NeithertheMscriptfilenortheMfunctionfilehasfunctiondefinition.參考答案:B2、2.Pleasechoosethecorrectstatements.()A、TheM-scriptprogramcancalltheM-functionprogram.B、Thenamingrulesoffilenameareconsistentwiththenamingrulesofvariablename.C、ThefirstlineoftheM-functionprogrammuststartwith“function”.D、ThefirstlineoftheM-scriptprogrammuststartwith“function”.參考答案:ABC3、3.Callingfunctionstosolvesimilarproblemsneedstomodifythesourceprogram.()參考答案:錯誤4、4.functionscanbecalledi.e.,afunctionmaycallitself.()參考答案:正確02-07Graphics隨堂測驗1、1.Singlechoice:Thecommandtoadddimensionsatthelocationspecifiedinthedrawingis()A、B、C、D、參考答案:C2、2.Thecommandstatementx=-1:0.1:1;plot([x+i*exp(-x.^2);x+i*exp(-2*x.^2);x+i*exp(-4*x.^2)]')draws()curves.A、1B、3C、20D、4參考答案:B3、5.Inthesettingsofthelineshapeformat,thecharacterbrepresentsthe()A、redD、blue參考答案:D4、3.參考答案:正確5、4.Aisatwo-dimensionalnumericalarraywith1000rowsand2columns.NowweneedtotakethefirstcolumndataofAasthe文章列表文章訂單在線客服ndcolumndataofaastheordinatetodrawacurve.ThentheTLABstatementisplot(A(:,2),A(:,1))mensionalGraphics隨堂測驗1、1.Whichcommandcandrawimplicitfunctionimage?()A、subplotB、ezplotC、drawD、contour2、4.Whichofthefollowingfunctionsisusedtodrawhistogram?()A、hist()B、feather()C、polar()D、loglog()參考答案:A3、2.Divideadrawingwindowintofourdifferentareas,anddisplaytheimageinthefirstarea,usingthecommandplot(2,4,1).()參考答案:錯誤4、3.Readthedataintheexceltable,youcanusethe‘load’command()參考答案:錯誤5、5.Thesubplot(m,n,k)functioncanbeusedtosplitaplotwindowintoseveraldifferentareas()參考答案:正確1、1.Inwhichofthefollowingoptionsisacommandfordrawingsphericalsurfaces?()A、cylinderB、sphereC、zeroD、exp參考答案:B2、3.Inwhatfunctionisusedtodrawathree-dimensionalspacecurve?()A、polar()B、plot()C、subplot()D、plot3()參考答案:D3、4.Inwhatfunctionisusedtodrawathree-dimensionalsurfacegraph?()A、plot()B、subplot()C、surf()D、plot3()參考答案:C4、2.Thefunctionfordrawingathree-dimensionaltrajectorygraphiscomet3()參考答案:正確5、5.Three-dimensionalsurfaceimplicitfunctiondrawingcancallezimplot3().()參考答案:正確02-10SpecialThree-dimensionalGraphics隨堂測驗1、1.Inthefunctionofdrawingcontourlinesof3Ddatais:()A、surfB、plotC、plot3D、contour參考答案:D2、2.Inthefunctionofdrawing3Dimplicitfunctiongraphis:()A、surfB、plot參考答案:C3、3.Directlyusethetoolbartochangetheperspectiveofthegraph.()參考答案:正確4、4.Thecontourcommandisrelatedtothecontourdrawingofthecurvedsurface.()參考答案:正確5、5.Theviewfunctioncanrealizetherotationofthe3Dsurface.()參考答案:錯誤Four-dimensionalGraphics隨堂測驗1、1.Whendrawingfour-dimensionalgraphics,thecorrectformatofthemeshgridfunctionis:()A、[x,z]=meshgrid(0:0.1:2)B、[x,z]=meshgrid(0:0.1)參考答案:A2、2.Thestepstodrawa3Dsolidsliceare:()A、GenerategriddataB、CalculatethefunctionvalueofeachpointofthegridC、DrawingD、Spin參考答案:ABC3、3.Whendrawingfour-dimensionalgraphics,inordertoeasilyobservethecross-sectionalprovidesagraphicaluserinterfacevol_visual4d.()參考答案:正確4、4.drawathree-dimensionalvolumeslice,youcanusethecommandslice.()參考答案:正確5、5.KnownmathematicalfunctionV=f(x,z),youcancallthefunctionvol_visual4d(x,z,V)tosettheslice.()Unit1、Whichofthefollowingfactorialcalculationmethodsiswrong?A、factorial(sym(n))B、gamma(1+n)C、prod(1+n)D、gamma(1+sym(n)參考答案:C2、whatcommandisusedtodivideadrawingwindowinto4differentareasanddisplaytheimageinthefirstarea?()A、subplot(2,4,1)B、plot(2,2,1)C、subplot(2,2,1)D、plot(2,4,1)參考答案:C3、Whichofthefollowingfunctionsisusedtodrawpolarcoordinates?()A、hist()B、feather()參考答案:C4、Whichofthefollowingfunctionscandrawathree-dimensionalwaterfallgraphics?()A、surfc()B、ezmesh()C、waterfall()D、contour()參考答案:C5、providestherotationtransformationmethodofthesurfaceitself,andtherotationtransformationcanbeimplementedbythe()functionA、plotB、rotateC、sliceD、meshgrid參考答案:B6、Inthefunctionslice(x,z,x1,y1,z1),thedatadescribingtheslicesis()A、x,zD、x1,y1,z1參考答案:D7、Thecorrectonesofthefollowingvariablenamesare()A、V_alueB、C、D、參考答案:AC8、Choosetheflowcontrolstructuresprovidedin()A、switchstructuresB、conditionalcontrolstructuresC、trialstructuresD、loopstructures參考答案:ABCD9lpechoice:Ingraphicdecorationandpropertysettings,whatfunctionscanbeusedtosetandobtainthepropertiesofobjects?D、plotyy()參考答案:AC10、findthefirst20significantdigitsof10/7,usecommandA=10/7,vpa(A,20)()參考答案:正確、GenerateavectorbetweenA∈[0,45]withastepsizeof1,thecommandthatshouldbeenteredisA=[0:45]()參考答案:正確12、GenerateavectorbetweenA∈[0,200]withastepsizeof4,thecommandthatshouldbeenteredisA=[0:4:200]()參考答案:正確13、Aisa3x3matrix.UsingthecommandA*A,canachievethedirectcalculationofthecorrespondingelementsofmatrixA()參考答案:錯誤參考答案:錯誤15、Listalltheprimenumbersintheinterval[1,1000].Thecommandisa=1:1000.()參考答案:錯誤16、ThepolynomialPcanbesimplifiedwiththecommand:simplify(P).()參考答案:正確17、參考答案:正確18、Thenamingrulesoffilenameareconsistentwiththenamingrulesofvariablenames.()參考答案:正確19、BoththeM-scriptprogramandtheM-functionprogramhavefunctiondefinitions.()參考答案:錯誤20、DefineanMfunctionmy_fact(n),whichcancalculaten!,thenthecommandmy_fact(99)canbeusedtocalculate99!參考答案:錯誤21、Bothxandyarematrices.Whenusingthecommandplot(x,y),thenumberofrowsandcolumnsofxandyshouldbethesame.參考答案:正確22、contour()functioncandrawthree-dimensionalcontourgraphics()參考答案:正確23、Ifyouwanttochangetheviewingangletoobserve3Dgraphics,youcanusetheviewfunction()參考答案:正確參考答案:正確25、IfapolynomialP(s)isgivenbyP(s)=(s+3)2(s2+3s+2)(s3+12s2+48s+64),itcanbesimplifiedbyusingthesimplify()function.()參考答案:正確UnitAssignment1、參考答案:t=0:0.01:20;y1=1.0013*t.^2;subplot(221),polar(t,y1)y2=cos(7*t/2);subplot(222),polar(t,y2)y3=sin(t)./t;subplot(223),polar(t,y3)y4=1-(cos(7*t)).^3;subplot(224),polar(t,y4)3CalculusProblems03-01ComputationsofLimits隨堂測驗A、symst;f=tan(t);L1=limit(f,t,pi/2),’left’)B、symst;f=tan(t);L1=limit(f,t,pi/2),’right’)C、symst;f=tan(t);L1=limit(f,t,π/2),’left’)D、symst;f=tan(t);L1=limit(f,t,pi/2),’right’)參考答案:A2、A、exp(x)/(2*(x^2+1))B、exp(x)/(x^2+1)C、0D、參考答案:A3、A、6B、9參考答案:D4、A、-1/2B、-1/6C、1/2D、1/6參考答案:B5、A、f=n^(2/3)*sin(factorial(n))/(n+1);F=limit(f,n,inf)B、symsn;f=n^(2/3)*sin(factorial(n))/(n+1);F=limit(f,n,inf)C、f=n^(2/3)*sin(n!)/(n+1);F=limit(f,n,inf)D、symsn;f=n^(2/3)*sin(factorial(n))/(n+1);F=limit(f,n,0)參考答案:B03-02IntervalLimitsandMultivariateLimits隨堂測驗1、A、6,6B、6,3C、3,3D、0,0參考答案:A2、A、0B、1C、2D、non-existence參考答案:C3、A、1B、2C、4D、non-existence參考答案:D4、A、-10B、10C、non-existenceD、0參考答案:A03-03DerivativesofUnivariateFunctions隨堂測驗1、A、symx;f=sqrt((x-2)*(x-3)/(x-4)/(x-5));D=simple(diff(f,x,4))B、symsx;f=sqrt((x-2)*(x-3)/(x-4)/(x-5));D=simplify(diff(f,x,4))C、symx;f=sqrt((x-2)*(x-3)/(x-4)/(x-5));D=simple(diff(f))D、symsx;f=sqrt((x-2)*(x-3)/(x-4)/(x-5));D=simplify(diff(f))參考答案:B2、A、symsx;f1=sqrt(x*cos(x)*sqrt(1-exp(2x)));F1=simplify(diff(f1))B、symsx;f1=sqrt(x*cos(x)*sqrt(1-exp(2x)));F1=simplify(diff(f1,x,1))C、symsx;f1=sqrt(x*cos(x)*sqrt(1-exp(2x)));F1=simplify(diff(f1,x))D、f1=sqrt(x*cos(x)*sqrt(1-exp(2x)));F1=simplify(diff(f1))參考答案:ABC3、A、symsx;f=cos(x)/(x^2+2*x+1);f4=diff(f)B、symsx;f=cos(x)/(x^2+2*x+1);f4=diff(f,4)C、symx;f=cos(x)/(x^2+2*x+1);f4=diff(f,x)D、symsx;f=cos(x)/(x^2+2*x+1);f4=diff(f,x,4)參考答案:BD4、y=diff(fun,x,n)evaluatethen-thorderderivative.Ifthereisonlyonevariableinthefunction,theindependentvariablenamecannotbeomitted.參考答案:錯誤5、參考答案:正確03-04ComputationsofPartialDerivatives隨堂測驗1、A、symst;y=sin(t)/(t+2)^3;x=cos(t)/(t+3)^3;B、symsxyt;y=sin(t)/(t+2)^3;x=cos(t)/(t+3)^3;C、symst;y=cos(t)/(t+2)^3;x=sin(t)/(t+3)^3;D、symst;y=sin(t)/(t+2)^3;x=cos(t)/(t+3)^3;參考答案:A2、A、symsxy;f=x^2+2*x*y+y^2-5;B、symsxy;f=x^2+2*x*y+y^2-5;C、symsxy;f=x^2+2*x*y+y^2-5;D、symsxy;f=x^2+2*x*y+y^2-5;參考答案:D3、A、symsxyz;f=sin(x*y^2)*exp(-x*y^2+z^2);df=diff(diff(f,y),z);B、symsxyz;f=sin(x*y^2)*exp(-x*y^2+z^2);df=diff(f,x,y,z);C、symsxyz;f=sin(x*y^2)*exp(-x*y^2+z^2);df=diff(f,y,z);D、symsxyz;f=sin(x*y^2)*exp(-x*y^2+z^2);df=diff(diff(f,y,1),z,1);參考答案:ACD4、參考答案:正確5、參考答案:正確03-05ComputationsofIntegrals隨堂測驗1、A、symsx;f=(2*sin(x)^2-4*sin(x)*cos(x)+6*cos(x)^2)/(sin(x)+3*cos(x));I1=int(f)B、symsx;f=(2*sin(x)^2-4*sin(x)*cos(x)+6*cos(x)^2)/(sin(x)+3*cos(x));I1=diff(f)C、symsx;I1=jacobian((2*sin(x)^2-4*sin(x)*cos(x)+6*cos(x)^2)/(sin(x)+3*cos(x)))D、symsx;I1=impldiff((2*sin(x)^2-4*sin(x)*cos(x)+6*cos(x)^2)/(sin(x)+3*cos(x)))參考答案:A2、A、symsx;f=5/x/sqrt(1-log(x)^2);I=int(f,dx,2,e)B、symsx;f=5/x/sqrt(1-log(x)^2);I=inf(f,x,2,exp(sym(1)))C、symsx;f=5/x/sqrt(1-log(x)^2);I=diff(f,x,2,e)D、symsx;f=5/x/sqrt(1-log(x)^2);I=int(f,x,2,exp(sym(1)))參考答案:DA、symsx;I1=int(exp(-3*x^2/2),x,0,inf)B、symsx;I1=int(exp(-3*x^2/2),x,0,inf);vpa(I1)C、symsx;I1=diff(exp(-3*x^2/2),x,0,inf)D、symsx;I1=diff(exp(-3*x^2/2),x,0,inf);vpa(l1)參考答案:AB4、參考答案:正確5、參考答案:正確03-06FourierSeriesApproximations隨堂測驗A、L=(b-a)/2B、L=(b+a)/2C、L=(b+a)*2D、L=(b-a)*2參考答案:A2、Forthefunctionf(x),x∈[-L,L],ifanewvariablex1=x+L+aisintroduced,thenf(x1)canbemappedtoafunctionontheinterval(),andtheFourierlevelExpandthenumberandmapitbacktothexfunction.A、(-L/2,L/2)B、(L,2L)C、(-L,L)D、(L/2,L)參考答案:C3、If[A,B]=fseries(f,x,p,a,b)isafunctionforsolvingFouriercoefficientsandseries,foragivenfunctiony=x(x-π)(x-2π),Fourierseriesexpansionofx∈(0,2π),thecorrectoneis:A、symsx;f=x*(x-pi)*(x-2*pi);B、symsx;f=x*(x-pi)*(x-2*pi);C、symsx;f=x*(x-pi)*(x-2*pi);D、symsx;f=x*(x-pi)*(x-2*pi);參考答案:D4、Fourierseriesfittingisperformedonthesquarewavesignalinthe[-π,π]interval,thehigherthethemoresignificantthefitting參考答案:錯誤03-07SeriesApproximations隨堂測驗1、Forthefunctionf(x)=sinx/(x2+4x+3),findthefirst9termsofthepowerseriesexpansionwhena=0,thesyntaxiscorrectA、symsx;f=sin(x)/(x^2+4*x+3);y=taylor(f,x,'Order',9)B、symsx;f=sin(x)/(x^2+4*x+3);y=taylor(f,x,'Order',6)C、symsx;f=sin(x)/(x^2+4*x+3);y=taylor(f,x,1,'Order',9)D、symsx;f=sin(x)/(x^2+4*x+3);y=taylor(f,x,1,'Order',6)參考答案:A2、taylor()candirectlyexpandseriesofmultivariablefunctions.ThecallingformatisF=taylor(f,[x1,x2,...,xn],[a1,a2,...,an],'Order',k),thehighestorderofexpansionis:A、kB、k+1C、k-1D、2k參考答案:C3、Forf(x,y)=xcosifx=a,y=b,thefirst4itemsofpowerseriesexpansion,thesyntaxiscorrect:A、symsxyab;f=x*cos(y);F=taylor(f,[x,y],[a,b],’Order’,4)B、symsab;f=x*cos(y);F=taylor(f,[x,y],[0,0],’Order’,4)C、symsxyab;f=x*cos(2y);F=taylor(f,[x,y],[a,b],’Order’,4)D、symsxy;f=x*cos(y);F=taylor(f,[x,y],[a,b],’Order’,4)參考答案:A4、Forthefunctionln((1+x)/(1-x)),thecorrectstatementforpowerseriesexpansionis:A、symsx;f=log((1-x)/(1-x)),F2=taylor(f,x,15);B、symsx;f=log((1+x)/(1+x)),F2=taylor(f,x,5);C、symsx;f=log((1-x)/(1+x)),F2=taylor(f,x,15);D、symsx;f=log((1+x)/(1-x)),F2=taylor(f,x,15);參考答案:D5、Multivariablefunctionscannotbeexpandedbypowerseries參考答案:錯誤03-08SeriesSumsandSequenceProducts隨堂測驗B、plus()C、add()D、sub()參考答案:A2、Whichofthefollowingcodescanleadtotheproductofaninfinitenumberofitemsinasequence?A、symsxy;f=x*cos(y);F=taylor(f,[x,y],[a,b],’Order’,4)B、symsk;P2=symprod(1+1/k^3,k,1,inf);P2=simplify(P2)C、symsnx;s1=symsum(2/((2*n+1)*(2*x+1)^(2*n+1)),n,0,inf);simplify(s1)D、symskn;P1=symprod(1+1/k^3,k,1,n);P1=simplify(P1)參考答案:B3、Whichinstructiondoesnotmeetthecodespecificationforsolvingtheseriessumandsequencequadraturesynthesisproblem?A、symsnk;S=simplify(limit(symsum((1+k/n^2)*sin(k*pi/n^2),k,1,n-1),n,inf))B、symsnkx;S1=symsum(x^n/symprod(1+x^k,k,1,n),n,1,inf)C、symsnk;L1=limit(symsum(1/((2*k)^2-1),k,1,n))D、symsn;P1=symprod((2*n+1)*(2*n+7)/(2*n+3)/(2*n+5),n,1,inf)參考答案:CA、sub()B、prod()C、sun()D、symprod()參考答案:D03-09PathIntegralsandSurfaceIntegrals隨堂測驗1、A、2πB、4πC、π/2D、π/4參考答案:A2、Whatisthesolutionfunctionforsurfaceintegrals()A、path_integral()D、參考答案:C3、Whichofthefollowingisthecallformatforpathintegrals()A、B、C、D、參考答案:BC4、參考答案:正確參考答案:正確03-10NumericalDifferentiations隨堂測驗1、Giventheprototypefunction,theanalyticsolutionofeachderivativecanbeobtainedbythefunction.A、path_integral()B、sin()C、surf_integral()D、參考答案:D2、Whichofthefollowingfunctionscanbeusedtofindthebivariategradient()A、B、gradient()C、sin()D、path_integral()參考答案:B參考答案:正確4、參考答案:錯誤5、Insomeapplicationswheretheoriginalfunctionisnotknown,onlyexperimentaldataaregiven.Inthiscase,numericalmethodsmustbeusedtogetthederivativesfromtheexperimentaldata.參考答案:正確NumericalIntegralsofUnivariateFunctions隨堂測驗1、Whichofthefollowingcallformatsofintel()functioniscorrect?A、I=integral(f,a,b,propertysettingpair)B、I=integral(a,b,propertysettingpair)C、I=integral(f,a,b)D、I=integral(f,a,propertysettingpair)參考答案:A2、Whichofthefollowingmethodscanbeusedtodescribeintegrandfunctionswithintermediatevariables?A、Inline()functionB、MfunctionC、Integral()functionD、Anonymousfunction參考答案:B3、A、>>f=@(t)exp(-t)*sin(3*t+1)*(pi-t)^(1/4);F1=integral(f,0,pi)B、>>f=@(t)exp(-t).*sin(3*t+1).*(pi-t).^(1/4),F1=integral(f,0,pi)C、>>f=@(t)exp(-t).*sin(3*t+1).*(pi-t).^(1/4);F1=integral(f,pi)D、>>f=@(t)exp(-t).*sin(3*t+1).*(pi-t).*(1/4);F1=integral(f,0,pi)參考答案:B4、Whatarethewaystodescribetheintegrand?A、Inline()functionB、Mfunction參考答案:ABD5、參考答案:錯誤03-12NumericalDoubleIntegrals隨堂測驗1、Whichofthefollowingisthestandardcallformatfortheintegral2()function?A、B、C、D、參考答案:C2、A、>>tic,fh=@(y)sqrt(1-y^2);fl=@(y)-sqrt(1-y^2);tocB、>>tic,f=@(y,x)exp(-x.^2/2)*sinh(x^2+y);fh=@(y)sqrt(1-y^2);fl=@(y)-sqrt(1-y^2);tocC、>>tic,f=@(y,x)exp(-x.^2/2).*sinh(x.^2+y);tocD、>>tic,f=@(y,x)exp(-x.^2/2).*sinh(x.^2+y);toc參考答案:D3、Whichofthefollowingisthemostcommonlyusedfunctionforsolvingnumericalsolutionsofdoubledefiniteintegrals?A、integral()B、integral2()C、Integral3()D、Integral4()參考答案:B4、5、Itisnotnecessarytopayattentiontotheorderofintegrationwhencallingtheintegral()function.參考答案:錯誤03-13Numericalandn-tupleIntegrals隨堂測驗1、Whichoneofthefollowingfunctionscanbeusedtosolvethedefiniteintegralproblemofmultipleultra-rectangularboundaries?A、quadndg()functionB、intfunc()functionC、integral2()functionD、Integral3()function參考答案:A2、Whenusingquadndg()oftheNITtoolboxtosolvethenumericalsolutionofmultipleintegrals,onlyoneofthefollowingmethodscanbeusedtodescribetheintegrand?A、Inline()functionB、MfunctionC、Integral()functionD、Anonymousfunction參考答案:B3、A、>>f1=@(x,y)sqrt(4-x^2-y^2)*exp(-x^2-y^2);f1M=@(x)exp(-x^2/2);f1m=@(x)0;I1=quad2dggen(f1,f1m,f1M,0,2)B、>>f1=@(x,y)sqrt(4-x^2-y^2)*exp(-x^2-y^2);f1M=@(x)exp(-x^2/2);f1m=@(x)0;I1=quad2dggen(f1,f1m,f1M)C、>>f1M=@(x)exp(-x.^2/2);f1m=@(x)0;I1=quad2dggen(f1,f1m,f1M)D、>>f1M=@(x)exp(-x.^2/2);f1m=@(x)0;I1=quad2dggen(f1,f1m,f1M,0,2)參考答案:D4、A、>>I2=triplequad(f,0,2,0,2,0,2)B、>>I2=triplequad(f,0,2,0,2,0,2)C、>>I2=triplequad(f,0,2,0,2,0,2)D、>>I2=triplequad(0,2,0,2,0,2)參考答案:A參考答案:正確Unit1、A、f=n^(2/3)*sin(factorial(n))/(n+1);F=limit(f,n,inf)B、symsn;f=n^(2/3)*sin(factorial(n))/(n+1);F=limit(f,n,inf)C、f=n^(2/3)*sin(n!)/(n+1);F=limit(f,n,inf)D、symsn;f=n^(2/3)*sin(factorial(n))/(n+1);F=limit(f,n,0)參考答案:B2、A、exp(x)/(2*(x^2+1)D、參考答案:A3、A、-10B、10C、non-existenceD、0參考答案:A4、A、symx;f=sqrt((x-2)*(x-3)/(x-4)/(x-5));D=simple(diff(f,x,4))B、symsx;f=sqrt((x-2)*(x-3)/(x-4)/(x-5));D=simplify(diff(f,x,4))C、symx;f=sqrt((x-2)*(x-3)/(x-4)/(x-5));D=simple(diff(f))D、symsx;f=sqrt((x-2)*(x-3)/(x-4)/(x-5));D=simplify(diff(f))5、A、symst;y=sin(t)/(t+2)^3;x=cos(t)/(t+3)^3;B、symsxyt;y=sin(t)/(t+2)^3;x=cos(t)/(t+3)^3;C、symst;y=cos(t)/(t+2)^3;x=sin(t)/(t+3)^3;D、symst;y=sin(t)/(t+2)^3;x=cos(t)/(t+3)^3;參考答案:A6、A、symsx;f=(2*sin(x)^2-4*sin(x)*cos(x)+6*cos(x)^2)/(sin(x)+3*cos(x));I1=int(f)B、symsx;f=(2*sin(x)^2-4*sin(x)*cos(x)+6*cos(x)^2)/(sin(x)+3*cos(x));I1=diff(f)C、symsx;I1=jacobian((2*sin(x)^2-4*sin(x)*cos(x)+6*cos(x)^2)/(sin(x)+3*cos(x)))D、symsx;I1=impldiff((2*sin(x)^2-4*sin(x)*cos(x)+6*cos(x)^2)/(sin(x)+3*cos(x)))參考答案:A7、Forthefunctionf(x),x∈[-L,L],ifanewvariablex1=x+L+aisintroduced,thenf(x1)canbemappedtoafunctionontheinterval(),andtheFourierlevelExpandthenumberandmapitbacktothexfunction.A、(-L/2,L/2)B、(L,2L)C、(-L,L)D、(L/2,L)參考答案:C8、If[A,B]=fseries(f,x,p,a,b)isafunctionforsolvingFouriercoefficientsandseries,foragivenfunctiony=x(x-π)(x-2π),Fourierseriesexpansionofx∈(0,2π),thecorrectoneis:A、symsx;f=x*(x-pi)*(x-2*pi);B、symsx;f=x*(x-pi)*(x-2*pi);C、symsx;f=x*(x-pi)*(x-2*pi);D、symsx;f=x*(x-pi)*(x-2*pi);參考答案:D9、taylor()candirectlyexpandseriesofmultivariablefunctions.ThecallingformatisF=taylor(f,[x1,x2,...,xn],[a1,a2,...,an],'Order',k),thehighestorderofexpansionis:A、kB、k+1參考答案:C10、Singlechoice:Forf(x,y)=xcosifx=a,y=b,thefirst4itemsofpowerseriesexpansion,thesyntaxiscorrect:A、symsxyab;f=x*cos(y);F=taylor(f,[x,y],[a,b],’Order’,4)B、symsab;f=x*cos(y);F=taylor(f,[x,y],[0,0],’Order’,4)C、symsxyab;f=x*cos(2y);F=taylor(f,[x,y],[a,b],’Order’,4)D、symsxy;f=x*cos(y);F=taylor(f,[x,y],[a,b],’Order’,4)參考答案:A、WhichinstructiondoesnotmeetthecodespecificationforsolvingtheseriessumandsequencequadraturesynthesisproblemA、symsnk;S=simplify(limit(symsum((1+k/n^2)*sin(k*pi/n^2),k,1,n-1),n,inf))B、symsnkx;S1=symsum(x^n/symprod(1+x^k,k,1,n),n,1,inf)C、symsnk;L1=limit(symsum(1/((2*k)^2-1),k,1,n))D、symsn;P1=symprod((2*n+1)*(2*n+7)/(2*n+3)/(2*n+5),n,1,inf)參考答案:C12、getthecombinationofinstructionsusedinthefiniteproductandinfiniteproductofthesequenceA、symskn;P=symprod(1+1/k^3,k,1,n);P=simplify(P)B、symsk;P=symprod(1+1/k^3,k,1,inf);P=simplify(P)參考答案:A13、Whichofthefollowingcallformatsofintel()functioniscorrect?A、I=integral(f,a,b,propertysettingpair)B、I=integral(a,b,propertysettingpair)C、I=integral(f,a,b)D、I=integral(f,a,propertysettingpair)參考答案:A14、A、>>f=@(t)exp(-t)*sin(3*t+1)*(pi-t)^(1/4);F1=integral(f,0,pi)B、>>f=@(t)exp(-t).*sin(3*t+1).*(pi-t).^(1/4),F1=integral(f,0,pi)C、>>f=@(t)exp(-t).*sin(3*t+1).*(pi-t).^(1/4);F1=integral(f,pi)D、>>f=@(t)exp(-t).*sin(3*t+1).*(pi-t).*(1/4);F1=integral(f,0,pi)參考答案:B15、A、>>tic,fh=@(y)sqrt(1-y^2);fl=@(y)-sqrt(1-y^2);tocB、>>tic,f=@(y,x)exp(-x.^2/2)*sinh(x^2+y);fh=@(y)sqrt(1-y^2);fl=@(y)-sqrt(1-y^2);tocC、>>tic,f=@(y,x)exp(-x.^2/2).*sinh(x.^2+y);tocD、>>tic,f=@(y,x)exp(-x.^2/2).*sinh(x.^2+y);toc參考答案:D16、Whichofthefollowingisthemostcommonlyusedfunctionforsolvingnumericalsolutionsofdoubledefiniteintegrals?A、integral()B、integral2()C、Integral3()D、Integral4()參考答案:B17、A、>>I2=triplequad(f,0,2,0,2,0,2)D、>>I2=triplequad(0,2,0,2,0,2)參考答案:A18、A、symsx;f=cos(x)/(x^2+2*x+1);f4=diff(f)B、symsx;f=cos(x)/(x^2+2*x+1);f4=diff(f,4)C、symx;f=cos(x)/(x^2+2*x+1);f4=diff(f,x)D、symsx;f=cos(x)/(x^2+2*x+1);f4=diff(f,x,4)參考答案:BD19、A、symsx;I1=int(exp(-3*x^2/2),x,0,inf)B、symsx;I1=int(exp(-3*x^2/2),x,0,inf);vpa(I1)C、symsx;I1=diff(exp(-3*x^2/2),x,0,inf)D、symsx;I1=diff(exp(-3*x^2/2),x,0,inf);vpa(l1)參考答案:AB20、f=symvar()iswrittentodescribepiecewisefunctions.()參考答案:錯誤21、參考答案:正確22、參考答案:正確23、參考答案:正確參考答案:正確25、Insomeapplicationswheretheoriginalfunctionisnotknown,onlyexperimentaldataaregiven.Inthiscase,numericalmethodsmustbeusedtogetthederivativesfromtheexperimentaldata.參考答案:正確UnitAssignment1、參考答案:2、參考答案:4LinearAlgebraProblems04-01InputofSpecialMatrices隨堂測驗1、Whichoneiswrittentogeneratea4×4identitymatrix.()A、ones(4)B、eye(4)C、zeros(4)D、rand(4)參考答案:BA、VB、V1C、V2D、V3參考答案:D3、A、VB、V1C、V2D、V3參考答案:A4、A、VB、V1C、V2D、V3參考答案:C5、zeros(4)iswrittentogeneratea4×4zeromatrix.()參考答案:正確04-02PropertyAnalysisofMatrices隨堂測驗1、whichofthefollowingfunctionsistoevaluatethedeterminantofamatrix()A、invB、diagC、detD、eig參考答案:C2、Whichofthefollowingfunctionsistoevaluatetheinversematrixofamatrix()A、invB、diagC、detD、eig參考答案:A3、Runningcommands:A=[153213;518108;97612;414151];n1=norm(A),wecangettheequation:n1=3
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年度肥料委托加工與綠色認證合作合同3篇
- 二零二五年度深基礎灌注樁施工承包合同2篇
- 《真空斷路器》課件2
- 二零二五年度保溫材料綠色技術創(chuàng)新購銷合同范本
- 二零二五年度屋頂綠化防水系統(tǒng)施工合同2篇
- 二零二五年度物業(yè)管理合同:商業(yè)垃圾日清服務2篇
- 二零二五年度機房搬遷及環(huán)保設施安裝合同3篇
- 2024年綜合性供應鏈合作合同模板版B版
- 二零二五年度環(huán)保型復合肥原料采購與加工合同3篇
- 2024年車輛操作標準協(xié)議版
- 《數(shù)學廣角-優(yōu)化》說課稿-2024-2025學年四年級上冊數(shù)學人教版
- 《小學生良好書寫習慣培養(yǎng)的研究》中期報告
- 北京課改版六年級英語下冊全冊知識點清單匯總
- 爛尾樓工程聯(lián)建檢測與鑒定
- 汽車技術服務與營銷畢業(yè)論文備選題目
- Reaxys使用方法
- 跌落測試(中文版)ISTA2A2006
- 云南省教育科學規(guī)劃課題開題報告 - 云南省教育科學研究院
- 蒸汽管道施工方案(20201118222709)
- 漢語教程第一冊-上-測試
- 城市供水問題與對策研究畢業(yè)論文
評論
0/150
提交評論