Mathcad PrimerMathcad手册Word文件下载.docx

上传人:b****2 文档编号:832355 上传时间:2023-04-29 格式:DOCX 页数:26 大小:377.56KB
下载 相关 举报
Mathcad PrimerMathcad手册Word文件下载.docx_第1页
第1页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第2页
第2页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第3页
第3页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第4页
第4页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第5页
第5页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第6页
第6页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第7页
第7页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第8页
第8页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第9页
第9页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第10页
第10页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第11页
第11页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第12页
第12页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第13页
第13页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第14页
第14页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第15页
第15页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第16页
第16页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第17页
第17页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第18页
第18页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第19页
第19页 / 共26页
Mathcad PrimerMathcad手册Word文件下载.docx_第20页
第20页 / 共26页
亲,该文档总共26页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

Mathcad PrimerMathcad手册Word文件下载.docx

《Mathcad PrimerMathcad手册Word文件下载.docx》由会员分享,可在线阅读,更多相关《Mathcad PrimerMathcad手册Word文件下载.docx(26页珍藏版)》请在冰点文库上搜索。

Mathcad PrimerMathcad手册Word文件下载.docx

ImportantWarningaboutTypicalScientificSymbols6

SelectingandEditing7

VariableNames7

Units8

DefiningYourOwnUnits9

EasyGraphs10

RangeVariablesandGraphs12

ZoomandTraceFunctionsinaGraph14

DataandDataFiles:

ExcelData15

EnteringDataintoMathcad16

CopyingDatafromEXCEL17

NumericalCalculations17

NumericalRootsofEquations18

SymbolicCalculation19

SymbolicIntegration20

TheAssumeKeyword21

PartialDerivatives22

SolvingEquations22

TheMathcadWindow

WhenyoustartMathcad,thescreenshouldappearasshownbelow.Aseriesofmenuitemsarelisted,andunderneaththemenuaretoolbars.AnancillarytoolbarcalledMathappearstotheright.Inthisdocument,menucommandswillbenotedasItem1,item2,andsoforth.Asanexample,theprintpreviewcommandwouldbetypedas:

File,PrintPreview.ToexecutethecommandyouwouldpointtoFile,thenselectPrintPreviewfromthedrop-downlist.

Ifyoudonotseealltheitemsinthegraphic,gotoView,Toolbars,andselectthetoolbarsthatyouwishtosee.Yourfirstassignmentistocheckthevariousmenuitemstoseewhattheycontain.

Thepageboundaryshowsyouwhatwillfitonanormalpagewhenthedocumentisprinted.Materialtotherightoftheboundarywillprintonthenextpage.

ThetoolbarunderthemenuistheStandardtoolbarandcontainsiconsfor:

Newdocument,Opendocument,Save,Print,PrintPreview,andsoon.Theseiconshavetooltips(littletagsthatinformyouoftheirfunctions).Ifyouforgetwhatanicondoes,holdthemousepointeroveritforasecondandthetooltipwillappear.

Notetheredcrosshairinthedocumentwindow.ThisistheinsertionpointinMathcadandanytypedinformationwillappearatthispoint.Clickingthemouseinanewlocationmovestheinsertionpoint(tryit!

).

EnteringText

InMathcad,textisdifferentfrommathematics.Textinformationandmathinformationhavetheirseparatefonts,colors,andstyles.Theformattingtoolbar(theonerightabovetheactualdocument)hasastyleboxthatinformsyouofthetypeofinformationthatisbeingtypedorselectedinthedocument.Thedefaultstyleisvariablessowhenyoutype,Mathcadassumesyouaretypingmathematics.

Ifyouwishtotypetext,firsttypeaquotationmark,“.ThequoteopensatextregioninMathcadandyoucantypeanytextthatyouwish.Clickanywhereoutsidethetextregiontostop.

AnygoodMathcaddocumentshouldcontaintexttoannotateandexplainthecalculations.Youcan,andshould,changetheappearanceoftexttodistinguishitfrommath.YoucandothisbytypingFormat,Style.Thisbringsuptheformatdialogbox.Tochangethetextfont,chooseNormalandclickmodify.Clickthefontboxandyoumaychangethefontstyle,size,andcolor.Agoodchoiceistomaketextfontadifferentcolorthantheblackfontusedforvariables.

EquationsandVariables

Mathematicalexpressionsaretypedintheusualway,usingthe+,–,/,and*keysforaddition,subtraction,division,andmultiplication.Exponentsareenteredwiththe^key.Youmustremembertoincludethemultiplicationsymbolinallexpressions.Mathcadwillinterpretxyasanewvariable,andnotastheproductofxandy.Herewetype5*12=andyoucanseetheresultis60.Ifwetype512=Mathcadinterpretsthesecondstatementasthenumber512asyoucanseefromtheresult.

Forgettingthemultiplicationsymbol(*)isthemostcommonsourceofheadachesforMathcadbeginners.

AconvenientwaytoseemultiplicationistogotoTools,Worksheetoptions,Display.Ifyoumakethemultiplicationsymboladot,largedot,or,itwillbehardtomiss.

Youmustfirstdefineavariablebeforeyouuseitinacalculation.Intheexamplebelow,xisnotdefinedatthebeginningandishighlightedbyMathcadinred(anerror):

Todefineavariable,usethe:

=operator.Youenterthisbytypingacolon.The:

=isanassignmentoperatorinMathcad;

itstatesthatthevariableontheleftisassignedthevalueorexpressionontheright.Youcannotdefineanexpressionontherightsideofthisoperator;

14:

=sin(x)willproduceanerror.

Sometypicaluses:

Trytheassignmentoperatorbytypingx:

12.5andobservetheresult.Commonmathematicalfunctionscanbefoundbyusingthefunctionicon,f(x)onthetoolbar.Trydefininganewvariabletobethecosineofyandsetyequalto15.

Toevaluateanexpression,usethe“normal”equalssignjustasyouwouldinnormalmathematics.

Noticethatthefunctionisalwaysontheleftsideoftheassignmentoperator.Anexpressionsuchas

makesnosensetoMathcad.

Exercise:

Defineavariabletorepresentthedistanceasafunctionoftime.Thedistancefollowsthisexpression:

initial_position+11.5*time+1.2*time2.

Settheinitialpositionto255andcalculatethepositionattime=2,12,25.

Harmonicmotionfollowsasinusoidalpattern:

position=amplitude*sin(time)+phase.

Defineavariabletorepresentthepositionasafunctionoftimewhentheamplitudeis1.5andthephaseiszero.Calculatethepositionattime=0,12,24,44.

Whatchangetopositionoccursifthephasechanges?

ImportantWarningaboutTypicalScientificSymbols

Mathcadhasabuilt-insetofunitsthatareusedforcancellationandobtainingtheunitsofananswer.Thisisaverypowerfulconceptbutsometimestheseunitscancauseconfusionwhenyoutrytomakethemvariables.Acommonexampleisg.Weallliketousegforgrams,butMathcadhasalreadydefinedthissymbolastheaccelerationduetogravity:

ThisproblemalsooccursforT.WeliketouseTfortemperature,butitrepresentsTesla,thebuilt-inunitformagneticfluxdensity.YoucanuseTinthismanner:

T=325K,whereKisthesymbolforkelvintemperature.Anotherproblemexistsforthelettere.WetypicallyuseeasthechargeonanelectronbutinMathcad,erepresentsthebaseofnaturallogarithms(e=2.781828….).Mathcadalsowriteseasexpasinex=exp(x).

SelectingandEditing

Mathcadexpressionscanbeeditedusingthestandardwindowsmethodsforcut,copy,andpaste.Beforeeditingpartofanexpression,theappropriatesectionmustbeselected.Toselectanarea,clickinsidetheexpression;

theredcrosshairwillbecomeablueselectioncursorthatlookslike,or.Thesmall“foot”onthecursorindicateswhichwaythedatawillbeselected.willselecttotheright,whilewillselecttotheleft.Usetheinsertkeytochangethedirection.Thespacebarrepeatedlyexpandstheselection,andtheandkeysmoveitrightandleftrespectively.Tryitonanexpressiontoseehowthesekeyswork

Thespacebarchangestheselectionbypartsofanexpression(piecesconnectedby+,–,*,/),whilethearrowsmovecharacterbycharacter.Itiseasiertoobservethantoexplain.Buildandexpressionsuchas

andtryit.

Onceapartofanexpressionisselected,youcancutit,deleteit,orcopyit.Youcanalsoedititbysubstitutingdifferentoperators.Textiseditedinthesamemanner.AnyselecteditemcanbepastedintoanotherdocumentsuchasaWorddocumentoranExcelspreadsheet.AlloftheMathcadworkinthisprimerwaspasteddirectlyfromMathcadintoWord.

VariableNames

Mathcadallowsalmostanynameforavariableaslongasthenameisnotapredefinedfunction.Someexamplevariablesare:

Variablenamescanbeanycombinationofalphanumericcharacters.Thesenamesshouldbeginwithaletterandshouldnotcontainsymbolsexceptfortheunderscore(_),percent(%),oraprime(`).Youcannotuseunitsymbolsorbuilt-infunctionsasnames(toseealistofbuilt-infunctions,clickthef(x)onthetoolbar).Someexamplesofvariablesare:

This_is_a_variableokay

Mass_protonokay

Variable_4okay

Vokay

1st_valueinvalid;

beginswithanumber.

Sin(X)invalid;

sinisabuilt-infunction.

Alistofpredefinedfunctionscanbefoundbyclickingthef(x)icononthetoolbar.

Assimpleexampleofvariables,wecalculatePfromtheidealgaslaw.Definesomevaluesandevaluatethepressure.

Thevariablesaredefinedinthefirstline;

Pisthendefined(asnRT/V)andevaluated.Ifanyvariableisleftundefined,theundefinedquantitieswillbeinred(anerror).Inthisexample,wedeletethedefinitionforV,thereforePcannotbecalculated.

Youcanputasubscriptaspartofavariablenamebyusingtheperiodcharacteronthekeyboard.Ifwetypev.initial(that’svperiodinitial),weget

inthedocument.Subscriptedvariablenamescanbequiteuseful.

Units

Bydefault,MathcadwillusetheSIunitsystemforallcalculations.YoucanchangethisintheTools,Worksheetoptions,Displaycommand.GototheUnitstabandchooseasystemofunitsorsetittonone.Youenteraunitforanyquantitybymultiplyinganumericalvaluebytheunit.Ifyouwantavolumeof15liters,youtypeV:

15*L.Thepreviousgaslawexample,withunitsis:

MathcadautomaticallycancelsunitsandproducestheresultinPascals(thedefaultSIunitforpressure).Ifyoupreferadifferentunitfortheresult,clicktheexpressionandablackboxwillappearafterthePaunit.Double-clickthisboxandasetofpossibleunitswillbeshown;

youcanchoosetheunitsyouwant.Herewechangetheanswertoatmospheres.

Aneasywayto

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 党团工作 > 入党转正申请

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2