版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年笔记本电脑借用协议3篇
- 2024标准房屋场地租赁合同范本
- 2024年赛事策划与执行合同
- 2024正规保洁员培训与劳动合同3篇
- 2025年度旅游区虫害防治与游客安全保障合同3篇
- 2024年高清晰相机选购合同3篇
- 2024年药品研发与许可协议3篇
- 浙江工业大学《自动变速器》2023-2024学年第一学期期末试卷
- 2024无子女夫妻自愿离婚协议书:离婚后共同房产处理与归属3篇
- 舞蹈服务员工作总结
- DB44∕T 635-2009 政府投资应用软件开发项目价格评估及计算方法
- 安装工程定额讲义
- 复旦大学留学生入学考试模拟卷
- 医疗安全不良事件报告培训PPT培训课件
- 【信息技术应用能力提升工程2.0】A3演示文稿设计与制作 初中语文《虽有嘉肴》主题说明
- 小学四年级奥数教程30讲(经典讲解)
- 烂尾楼工程联建检测与鉴定
- 汽车技术服务与营销毕业论文备选题目
- Reaxys使用方法
- 跌落测试(中文版)ISTA2A2006
- 云南省教育科学规划课题开题报告 - 云南省教育科学研究院
评论
0/150
提交评论