..
.
A
'I
r~
f~'
F1 rFl
..
1, 1
..
~~~ !
..
: 'FI tf f
1
'
l 1 lil 1 1 l
r~1
'--,
2E
,.,
fP
C'CS
.e
C/J
'+-
+--'
_----------=--=--=--=-----_-- .
r:i
.,.,..;;.
___
-
..
f~ 1
Uij
Hl fR, 111
------tll:lll:l!ll!llllll!Dml:MllG~El!-=111~--
i
: \ 1 l 1 lBl
~-
,_,.
:~, ,:,j,;.:
,f'' 'd!'t
"
. .. ....:;;;..
...,w,'<
- --:-
.=a
H"f ft
.';~'' 4~~.~......,
. . ~~e *'*' ,,1,.t~
--..
. ...
,,
1 -)
1 ri-,
'~\,~
~T~
'.
MathSoft, lnc.
License Agreement and Limited Warranty
~ ! ~
J. J
!E=-~
.
a
:J
E; - ~
~r!1
~p
E j~
~[~
~
[i.~
[1D
--[
CA:.~_
.-r
~L
-,
!AathSoltloc. ownsbomll>sf!tOll'omondittdocwmlm1t"".!lo1111hoP'O'l'l"'ondlhodocumentat1011n
pmtf!'Cted und91 epp!rcabfe ~t !IWI. Your right to use the program tnd st'llt doa1'nem1tion are limittd ta tt.
terms snd cood\tiool clf'ttnb!d htrtin.
1. Umlted l'f""'Hcl.cMi Uclf!H
'!tu Mww hdust the ern:loil!d progrtm on 11insJl1 comvJtlf; lblphystcaOy trnler tht O'QO''"' trorn Ol"ll
rompute110 eno11'\11 pcovlded fhtl ttll piwem '' ustd0ir1onlyont tomPJt9f t t 111rne. Jr'ld tNt YolJ remow W"Y
copies ol the pr09r1:m hom lht computtr lrom~1th fhe provam is briing transftrred: lclmste copies of hl
ptoqt "m sotetY fQI' backup pufllQses. 'to!J must mproduct and inctwe the C:OptJigtlt nohct on a labt( on ll'IT
bt::h:p copy.
'tbu M11y Not: 1.. Jdistribvte copies of the progrtm or the doalmentltian to othert: (b) rent. ltast r$ gr1nt
subhcenses or other rights to the prtl!Jftm; lcl pnMdt ust af the progttm in 1 computet Slt"fia buliness,
nttwoik:, 1i~sl"ltri rtg. tnu11ip~ CPU or mu!tiplt vss lll~mentwittiout lhe priol'written CDnMnt of Ml1hSoft;
(di 1ninsl.ate or oth!Mit.t lltef tht program Of rtllted doainontation without tht prior Wt'intn consent of
MaihSoh.
2.TmM
Vour lk.ns1 to use tht l)rolJftm end document1tion wlrl tutoffttllctlly ttfmiN11 if you ftif to comc:>fy with
tht 1erm1 of thl1 Agr11amen1. ll rhtl licenlt 11 tnmintted 'JW IQftlll to destmy 111 CllPft1 of tM Qt'OQl'lm ~
dot-..imtntll1un.
l.lflwltt~W.......,
M11hSol1w1n111111ot11toriginell~tll01thodo1~1lonwlllehlhof'IOl1t"lhl1Cl)l<jod.viKbolrtolrom
delem in mttorlolt ond m><tm111sflip""""' """''""''"a ieriodof nine1y1S01 drrs lrom lhl dall of fMthm
n,,,,,..o!
'
lhi1lirniltdW1<T""fendriglltclrtpl-~lol~of.ond...,hortbrMiw.""""'"'-WWtl!11ltl.
both e1prn11 .tnd rmplied. incMting bvt nct llmfftd to 'fV1trlntin ot tnlf'etiaitlbthty tnd fitneu fOf 1 PtlOll
pvrpo". The liabilily of M1thSch puttuent to rtiia limfted wan-~y th&'H tN litnited to lht ~&<'llT'lel'lt of tht
defect1w distbl. and 1n no ewnt s.lottll MamSoft bl lioblt tor k'lc~1l or conseqt;tntllt ~. inthJdiriQ but
not hm1tsd 101011 of use. louo1 profi11. lonof dar' dct& 1.1~ rtndemd in&ttUrltt. orkrssn1111ttintdbty
rturdp1tl1incwnifM11hSoflhnbtfnt6.'t1tdofthtp:n.1 1tMlityaf1!.:d'I~ fhftwerrtntygtwtt~
lr.hc l1!9tl righlS wtuch may "'1'Y fmm sttle to 11111. Some t1atn do not tfhM lM ltmitatlOft ot exdusim d
litbllity fo~ CDn!tlQVCf"t11l ~.so rM flbovt llmtationma., not~y tu you.
t U!>4,. l'clfey
In ord" IO be lble lo ubtain llf'datn e! lho f>!0'11'11. 1<>1 must comp!Oll llld rwtum l!>I ..-d Mt!KAO
P\lrchuer R~111r11100 C.d to M11t15'JH.
fh11lrtenM1/\gtttntent1httlbeO!)Ylfntdbv"'4 l....,,of tt'l~atmof M~ltldlhlll Nito
tht bttf'l4!ht ol M11hSoft. rtt 1ucte:JOtS, ld."mn1strlfor&, IWirt lnd n19'1.
Carefully
Read the
MathSoft
Licensing
Agreement
f
Befo re
Opening! tf
/~
Proprietary Notil%
\lhSafi. !ne. owns balh lhis software program and iJ.s
locumen1.ation. BOlh the program and docwncn1.ation are
;opyrihltd wilh all rig.bts rcser;ed by MalhSoft.. You may:
Use Lile encloscd program oo a !ingle comput.er.
Physically trarufct the program Crom onc comput.er IO
U>othct, providcd thal the program is uscd on anly onc
oompUlct ata time, and thal you l'W>OYC any copies of thc
program from the compulCC from which Lile pragram is
being transfcrrcd.
Youmaynot:
Hardware
PC's Limit.ed 286 11 Computer, Micro.soft Mous.:, Apple
LaserWriter Plus Print.er, HP LaserJet series ll Printct
Software
OwMr
AJple, i.JlffWrlllr
ATIT,AT&T Personal
Ca~ullr 6300
Amo<ic.Jl Ti<lp/l<>'IG-llfld-..,.,T'"'~-aill
-----
COMPAQ
Epaon
Alili Word 1
HocculH Graplllea
~lotwlot
evm:.,11r Toc1vloio9Y.
C.Vd
lnc.
Af'f'"''"' '"'"
Copydghl Noti1%
Htwton-Paclwd, HP
HowlattPaci<ard Cctp.
uaorJo~ l.t1er.J.t
lnlll Corporalioo
Lotu1 1 U.tro 1
1.Dtulilnlll/Wcto1eft
U.lhSoft, IAillhCAO
llS-OOS, l.llctoSofl
Ma:hSolt, lne.
pe, Lim~od
llot1hot
Symol!
Micrnol. lnc.
Ventura l'ublllh
Xwo1
X"""1COIJX"alio<I
<..;:
11
~ -
ntents
!]
1 ~l Ti
l ~ .: ~';f :d
IBJ
I~ ~ -!]
rm
ru
1 ~ !]
GEITING STARTED
Chapltr O &ttin& up MatbCAD
7
Sysir.m rcquircmenlS ........ &
How to atan Ma!.hCAD .. , . . . . . . . . . . . . <;
Configuring MalhCAD far yoor print.er . 11
haative calculat.ioo.s ,
Ptau . . . . . . . . . . . . . . . . . , .. , . . . .
Camman<IJ .. .. ..
Ollict fcaturcs , , , ,
2f
2'
2_
2'
Essenlial terms . . . . . . . . . . . . 3;
Editing equatioru , . , , , . 3:
Editing namcs and nurnbca . . . . ).1
Adding an opcrator . . . . . . . . . . . , . . }I
Deleting Opcrators , , , , , , , , , , J'
Pilrcn~~ .... . . . . . . 4(
Carnmands IO cut and past.e cxp<cssions . , , , 4 !
What to rcad ne:u . , . . . . , . . . 4'.1
- --..,
_ .._"--'
._,,,,,... .,st
it""''
~.Wii
"''.- :: ,!
'",.,
, '!." . l . :b'e
':
..
. (.
, .. ;,;;.......
:t.:.: :~_j
Table or Cnntcnu
fl. _--nr
_
.,,..
r 3 Edllinc Documenll , , ,
rsorkcys ..... , . , , . ,
mmanru "' movc lhc c:uncr ' ' '
py, cu~ and paste .
lcing SJ>1CC
47
48
49
SO
S2
in:h and repisa: , SS
: C<xnntaJltb . . . , . ~7
ndows ... S9
r 4 Tal , , '1
62
6S
\l motion cornmanru ..... 67
<I editing commands ... 68
l regions .....
11 bnnd! ....
"gins ...... 1S
1ch!Olb .. 7S
HICO
:apc ""'lUCllCeS
, , , ,
78
Al
82
84
SS
87
PlITATIONAL FEATURES
ir 7 Equatlons ud Computalioa 91
pes o cquatioos . . 92
octionJ . . . . . . . . . . . . . . . . . . . . . . . . 93
. . . . . 102
~~
!~
J_
.J ~
- _
1e:
1~~1r.: :.
l !: .
- m(~ i ~
l i
=
lit.:
l
r.:-11r1
1:
Tablo of Cont.mts
: 11 iiJ
[e : !!3
m
l f:Elll tj
~J~
a
i~ -- a
LB!a
tE:.! :Q
,.--1 L1
1:-1 ~j
PLOTTING FEATURES
( .. m --TT=1
C:-n-
REFERENCE
Ap~ndlx A MathCAD Rd'tttnct , , . 117
MATHCAD EXAMPLES
Chapttr 17 MathCAD Exampks , , , 213
Auid Oow . 214
Automobile braking . 216
Cornplex cootour intcgnl , , 217
Home mortgagc .... 218
Bode plot . 220
Polynomial curvt>-fiuing 222
:m
1"
... 270
~~
~
.. m
INDEX
1
1
ti
!
1,
.1
------------ -
- ' - 111 . . . . . . . . . . . . . . . . .
. .
\;;.:. .....
1,
;,. .. ,.
'~ ~ i. ~ ~
..
- - ............. _
--- -----
~-
------=-=--
---
;.;.~.'. .;' '"'"' ..;"....4 . ..,.......:.~ .. :. , :< . . ) ::::x'."~o:~:-:1 -.-.,~.-:..-...;~~. ~--~ :.. _--~ ,~ - --: --~---r"
J ..-:S ~-~""*" ''b;#;;;,i;a!';L:O'iMflei"?)!itlw< !e&'IHAf'H>t!i"
'4
--.;_---------------------------====:::::~T~~-~
,,,j
&blcofCorucnta
F"
\,Ei,fW:nsduhi' w
~-Bfl
Prcf.ce
~ DI!-~
mYmi1'll~lmlltB
rt~rJ ~J
~ ~
~-
.e.::1
:E--~
11
x (-B +
:E?'..)
.:E i~
SQRT(B~2
-h
aooc""'""'
lliillil!I!ll2/:l'i&~!'ltt&m&~:.i.i:tf"i'i<?ifarm~Wff;f'
llnhuMOnlc Oaclll&tioM:
l",J<!li
Ovar """"
~~
:. u
~-=~~~
"g
11
:e
~ -- "!l
Me
COMpute
tho
u-
;: l . "
" ;: 19Q
r...,..
:. t
... -- -.!I
--
1-1
Jlcot 1] - coa( a) 1
"l
~--J.
_--1il. .
"
"
"'w"*'
OQ#WO
.
>
. .
~1~
4
&11
oscl 1 letor
_:m
....
!lit CP$..4ZAU
2a
,r;;.m
e::------!)
1
i..:._j
Jhz - -4c
, D3]
fl "
X ;:
:~ ~-:-j
~.
- 4AC))/(2*A)
In Mall1CAD, the same cqwuion looks lile way you might soe it
oo a blackbo:lnl or in a rcfercnce book:
&,,..;,;.,"
'
___
......
' , ',
-~--_,,,_
thCADte-.itures ,, , ;: / ,: , .~:f$)'.i..:};(it~
: is a short li>t oC MalhCAD fea.tURS:
1rface features
Froo-form, ICta!Chpad-<ypc interillCC
MiJt l.Clt, mathematics, and nptu anywhcte on sacen
mema
Mc..nu<lriven onlino hcJp
>rnpulnliunal rcaluru
WTlljl
retullJ
Grr.cl.leuen
Spocificatioo
Pn:CllCO
-r~
-- lli-3
_I _
- e..
n
.1~
--r:
Jl!l -17--r
~ --11
9 --
.iii
e::
l.,:
e
e::
'!!
~ .. :..!!!
e:
e'_
Other calures
-1
Plotting features
- 1
~i~:,;:;
,
:
:
4Witll.lhu~;'.rlM4\;,~;t;.m:AA,&.k\:e-f:f'eii'4}W.4i'
;fu&6%iaI'd
-. -:3
!!! - .. . . ,
Pn:CICe
. .....
11-
111
e;..-=
~J-=
1e ~-11....lll
~-
~!"
L
li
11
1
Getllng Started
1!
il
1
11
\1
6 11HT-IOl1.}
Mot1i11~
Fcalurc
111is scction describes how lo cn:att: an fonnat Matl1CAD
pkHJ.
MathCAD Exomplu
1llis scction contains prinloUIS of sorne samplc MatllCA!)
documents. Read this scction Cor ideas on how lo use
MatllCAD.
i
i
1
Refercnce
1
11
g:_a._u
~;_:
~
1 ?l&!i$iPJi~B"f..:;~.:
.'.9.: :; qps. '.t .. 4
"--~"-""""'~-....A'.ll:l!irft.'I~
~--- . . ~L.'1.,, i.W~t~r:~J::f@
, ..: ..... ...., ... .~1:&7.fl#~HVf1m?.:'ii!P'l!'(~Mt4t{PFt
..... . ..... . . .. . , ,_ .. ,. , , . .... 4.tH_
. ,<
.....
"' ;: .n ?P.
;;
:. u
* : '''
.J
--
'
< '
..
...
_ ,,__
;.,_,
-
_.;,,,_,~'.6_1'. H . _*' ~_
. :;~/_,,s=
+p' =
;, =~ =
~: ~ ~__j
-.: :~ '' ~
_...
"
...
;_
... ,,_
: ..
._
..
rr.r"'.
~-~~ll't
fr .f':;\ -=- ~
1
. ,,::'.:
Getting Started
. :
t ~ .~
r1 il -~
1
IJI
3
~r
lli- :72
I~
1-
~ t:
f.,;: ;
1 :: r;1.,.,
0
'1111'*:0l:~S::";:"F
.)~!El:' . ,
- - r mr~
l'-.i-3
[!
1
11
1--
!!l
11
! _- .:.!!)
11
~ous:
Dos
llcdrlU [ARJ
Pri nt 01
Sclcct pri ntcr
.l ' C
xl : Z
. 11
!,
h -J11 -4ac
xZ := - - - - - -
xZ = 1
a xZ hx2 e = 0
Za
li ti -~
~ ~L 1ma _'.:ij
di ser! M
=h 4
discriM
=1
!]
11
!~ T - !]
-~
~--~-~
-- JJ -
>: . i
~,~.;:::\,!
~
b x1 e = 0
a x1
Za
l!
lJ.l!,~
t,~.
Execu le
I'-
_l B
r>-..
~. .
.:,.;.
{;i
. '.~ ..1
Config s av e
(~ i=
~ !~
e := Z
b : = 3
a := 1
McMory
[ 11
,; ,.
J ~ii,? :~.
" ""'
: ~
~--------- ~---
Mlc~~;~-t~~~.
~'1\)'fff*''?'
ftM'tt 'NCl'S'!'
a+ r ~ -o=+ !r
--
--
-~---
---------
:;
--
---
-------
---
---
- -------- - -----
--
.M~~~JiH~!\!iim~
--
111- . . .l"I
Setting up MathCAD
for Your System
1
Thls chapter describes how ID ICt up MathCAD for your
compute.- symm. Thi$ includes imialling MalhCAD on your
han! disk (if you havc one), coriguring MathCAD for your
computer's display, and sclecting a printer type.
:u
Systtm requlrmstnll
Hanlwa:e rnd software mquiremenls for MachCAD
llow to 11.art MatbCAD
lnslalling and running MathCAD
'
'
-~
-~
--- - ~
stem requittmenl!
. .,
1,:,~
,, -' ;;;
----- -
---- ---
- - --- -
------
--------
Sec the Rtltase Nous included with this package for more
dew.ilod informatioo
.,.,
----- --------
- - --- -
- - -- ------
!f
I~
:i!I
.l.;*.* l-'I
You have now copiocl ali MathCAD fes IO lhc MCAD direclOf)'
oo your hard disk.
For i11Jtruclio11J on how IO iru1a/I Ma1hCAD ,,a dtciory
lf you wanl to run MathCAD from a han! disk, copy lhc filC3 to
the hard disk as describal bclow undcr "lnSlalling MalhCAD oo
hard disk".
Toshiba D 100
BcCorc you run MiuhCAD. you must cllAllgc IO !he disk and
directory containing lhc MalhCAD progr-.im and itisocia!cd files .
Follow the appropriate ins1rnc oru bclow lO run MalhCAD !rom
a floppy disk ar a han! ilisk.
Floppy disk
~tmory
>Ukdrlv~
nx:onunen<kd
C: (.JI
(lf your han! di.sic iJ identified by a lcucr othes tllall e,
substute your drive leuer for e in these insuuctions.)
following:
\MC.l.D (.JI
Hewlca-Pacbnl plouus
(.JI
CD
\lC.l.D [.Jj
Once yoo haYC sel:tal llic conocl d isk and dircctory, you ~n
run MalhCAD. Al lhc DOS promp<. iypc:
e:
Starlng MathCAD
ln.scrt thc S ysu:m Disk in drive A. Tiien copy ali files from
lhc Syslcm Disk lO lhc MCAD dircctory on the han! disk:
sencsll
.l.: [.JJ
CD \MC.l.D [.JJ
USUI
!CAD [.JI
lf MathCAD CJ1t1 run on your syslWl, you should sce lhe surwp
ICfCen and lhe MalhSolt logo (FiW'C 1).
. uci M"*"
'ffb'41 AA r o4 4FPf
~~~~~
.. " !
'..'. ..
-~ .~:::;:~
- :,
.. . " .
._
~-.:.'.:~ . .~L~ZJ
:'.:
D-0
Running MathCAD
Once you llave started Ma1hCAD, you can cntcr cquaoos, load
nlc, nn<I pcrform nny othu Mn1l1CAD opcrntion. To quit
Matl1CAD al any time nnd rctum IODOS, rype:
(Ese] quit (..J]
. ..
1.,'
'
..
...._,, ,. ..... ,.
tly wil<n )<JU start MaJ/rCAD, lt rccogllius )<JWs tldapttr and disp/OYJ lht scr~tn i~ rht approprlatt
s modt. MathCA.D '"1 haw so'"' dl/Jlculty
,,,~ lll'tu-comp<Jtihlt irophics card.s. lf you.r Jcrtett
or JJ..,J b/lnllnt chal1u:ta-1 whLn Y" Jldrt. yow
>t to ~cify yow grapllics card txpllcltly as
'd htrt. Flr.11 quit MaJ/tCIJJ by typing (Ctrl]Q.
ir/ M athCAD again with a "slash option," as slwwn
Jh/t:
t~
~Morwchr~
.!CAD
/H
lor/Graplcs
HCAD /C
iharactd Gropllics
j]()()
.!CAD /&
l::All /T
t:AD /A
fJMClvornt T~xt
1 TJ/00
.;1.11;1{ ~i.l\fo;f;.~;i-~;~1t1
/,_:rn~
rr;-, .. ~
I~ l~
(c!!=ft
r__rn
~-,..-:!!
111
~-3
~-::;
I! - -
1
~-~
fil"--...
a:: --1\
1
.1
~-~
E-..;
~ "tM""tl
1. - Jift
~.,:1ri1 r:-11 ,-
il2
rol
2. n t llilk.Jet mi
4. t..-J.t. , cat
l. toetr.Oe , PI ec1
U you save !he printtt rype in a configuration file, you nccd not
spcciy it cach lime you sUlrt MathCAD. Whcn you swt
MaU1CAD, ir wili nutomnticlllly rcad thc configurarion file and
use tl1e printcr rype spccificd In lhe file.
,. Oli:lbt.a~
1. C. U tt C-31!\
,,1
Sdcctin: n printcr
To sclcct a priruer typc:
f\gul'9 2: Llll al
pn..n.
rtJ
J>a."' lhe houom o( thc lisl. 1f 1hero are inorc primen on thc
list, this scrof the list IO show !hose atlditional prin1cr.1.)
MathCA.lJ sliows tht llst of prlnttrs /Ja.1td on lf'{onnatlon 111
tk fl/t MCAD.MCP on tk dlsl lf MathCA.lJ Ctul/IOI flnd that
fllc , lt canno t show tk list ofprintus.
.~-!~
...-1
,a;::--~
:l
11
~-3
l'-1 -
r 1 -3
tD_~
1. . . .
-.
1:
':I
:1
....
t:.~
't
p-w .. ET -- ,
"
u
--
#oii''=x~,-------t"'tib"
:i'. -in:i ;.\;J. ,k, . w'l.'1i+..\f.'::tls"i~u"r
.
'*'' .,'
---;--:-".'--1
' . . -:;::-;---:---
. i" :.:'.. : ..---- -
-:~ -
W B'ril
'*~
~
~'
!-r. i .il
"'1"'"
~ i :<]
'kJ,.
!! '
----~~-~-
-
- - ..............
1.cis.b
,;, ., ~"J
:1""" .
'I'hc Basics
" '
~ ~
~
a- ..,
.:.a
~~
~-~
E: 1
__ ;i
::l
.1
~ lit"'
1~
~. r~iij
Rc~ions
[ -3
_(
lterative calcula1io11.1
Usin subscripu ID repeal an equalion for severa! valucs
!:.-Y
~~
~ ,-
PIola
Buildin a simple plOI
Command5
l low !O wo MalhCAD comnuuldl l.Od maiUJ
!__ r i
Olhtr realuru
A li.\I of Mu1hCAD' s <>lhcr foa lun:.> and whc.re to fowl 1h<1<1
in !he manWll
~[ .~
L._. i'
~l~
._-y
--...,~-
'
"" ,
"' .
'
------------' . - t
:-=1~
Ch'ltt 1
rythln~
nv,.ilnhle
~umdsud mclh<Mb.
~ -1
~:: ~r
JI
. ..
!!!-:--1
Thesti:udureofMathCAQ t.
[..J)
' '
...:t :
!-~
-- --_.:;a
i1.-=.-
~.
. 11
1
i ~~
~~.-~
,__JI
[Alt)Mor [ShiftJ[Tab).
- 111
'
1.1
:.JI.-
"
The Duics
. ... .'.5
command.
-,
I~
~=:3
This chaptcr and In the rcst of lhe manual use lhe following
noi.ations and coovcntions:
SMAU.. CAPS
- -------- - - -- - - - --
:.-:q:~;y.
~-
~ 1 -~
111
I~ ~~
-~
:-
l ""
:~_
......~
~.~- ~-
..,, ,,
t '
t.I09 ._.., _ 1.1
flol-
~-
IWf
tu.rt
I . ,.,._ l rtl
rw
Wlr.
-~
1-
!~~
l~-7-~
11
..
!:.' .
,. : -... . -; .,. ,.
'
j
1
Ch"l"l
' lnvCflC video 1ui>e 11thc10p of lhc ICltlCn il IJle wvssa11
'r
n~ht.
.,.,1
papcr.
almplr calcul11lion
15 - 1/10.5 >e saecn showa ..,hal you bave typed. MalbCAD compulCI lhc
.....
u --
lt.m
"r'-~
u-
r
r!. ,_ !J
[FJ
[f' -
11
11
1-
ll: - ~
le;
r
1-
1c uici
i.,,
m
a! - .!]
11
m-i'}
I!: 1
rmr
-iiJ
:[!;_! ~
n;_JIL~
'll!:_jlllllll -J.\i
; ~ :!! ~'
:!-~
1m
11;- -
..
' ll
MIO : .....
v11rlnhlu
~-~.
11 .
Bcfurc you swt. clear thc equalion you cnltttd bcforc. Typc;
ir.a
2:AMm>lo-ln MdlCAO
11
~- -.:~
~ -
:r-
; --!I
l[
~
!]
..
!!!.=~- --..
,,-~
;~-.:: 1~;[:~:_-~~77~"
Calculatin: results
Now that acc and tare dcfncd, you Clll use ll>em IO calcu!AIC.
body:
acc/2
tA2
the le yboard.)
When you cnlCC this equal.ion, MalhCAD computes the rcsult
-49() (Figure 4). The scrccn shows two <kfwtion.r, whch define
variablci, and one calcularion. which ccrnpul.e.s a rcsulL
f3'"~~BJr~;~f:f~~t~;:~r:1~~~:;~525.].D~ .~~~-..JtJ
Ch't"<r 1
_:
..-..
-1 1
r .. - .
r;;--~
\ .r:.-
.
11
t : 11
-..:l
\I r.:
-1-.1 ~
[~
:~
111 -!:i.
rE;'
e,
Move the cunor to the right o the equatio1u you havc cntt:rcd.
To make the semen look: like Fig= 5, start al position 7 30.
Prcss the double-<uote and type sorne text
~ ..'.1]
1.-fj
squation of 1DOtion
When you lype the double-<uote. Ma1hCAD .OOws 1 pairo(
double-<uotes on the scrcen. These quotes represen! the end! o(
1he 1ex1 you m lyping. A.\ yoo type m;lfC text, the righlhand
quo1e movcs to make room (5CC Figuro 5).
~
fllr.ll'O ~: C&l<>Jlolng - - - -
t : ll
..,.
.....
""'
- tt .....,.
t
E:~
;. ' ,
Re~ium1
l :e SI
... :a ... 1
Fi&=6.
- t """"'
1
rn:iI no
':&'JI
CI:.i:!JIJ
lii:rn
11
~t:.ft]
r=-.-33
C.'.: 1 .
1!
~ !-.
1-
~ - -!]
~u-.ttt ...:
Whcn you'vc finishcd cntttlng !Cll, use the lfl'OW ltcyw to nKml
thc cursor out o( the text (Don't U!le the [.J) tcy; i!yoo type [..J],
MathCAD will inscrt a linc break In the texl instcad or moving
thc cursor out o the text region.) As you leavc the tcxt region,
MathCAD hidcs the doublc-<UOICS. Only the leltt remalna (ICO
Figure6).
~;!-~~J;:1:. '"'''
l
'1"'
1:
., ' I
) 1:
\"\
.~
J:t ..
:'r<;l
,r
' -(
ff7
\ ~
'
E -+1
To enu:r anolher lino o( texl, )ust press [.11 and continuc typing.
-'-l ~
-
Press:
(.J)
r-t
--...:~
Then type:
------lll!l!ll!""~,'!:.,.~:.,..ffl]JitEt1!f.Tlll*WAIW&NMKWWISPM
?.:
1
~.:ij
~L~
...
F\gl"9 7: ~ -
""'nlOnl ol ~tor.
I~
,.
1'l
-1
..)
---
lapt 1
llerJllveculculutlons
. .
. ~, ;'. .;:
. - - --
- -'
1
Mllt
:e -1.I
1
- 1 t - -
r..-u .. .t
_.,_
TI\O Huica
21
C:---r
e.. -#-
"
! :
1;
Jo.-
'
--1
,.,....,,,_al
-"J"t l -
A.e "W lft '" yn'll Jf"llt (. IJ 111 UHrYf" lht" ('IH ~ll OUI (l( tht" l"<jlUlfi Ofl ,
Moll1( ' Al> t.ak:ulale! thc vuhw-.a f t H il. ( Y11u 11uay 11".41 lhn WAIT
llKhl fl6Lth quu.:kly at the upp<"S fl6'hl of thc ~:rr.cn 1111 thc
[=t
O<
d '1\01141 look
E:-::::-~
YCCIOr d.
10
c;-1-=
~ ~r.
C:::
, L.~
c:-T~!l
~- L~ .
~ 1
0;10 [.J)
MathCAO shows lhc scmicolon u two dou. The variable 1 is
now a rane variable. The saccn should look lik.c Figun: 9.
- z
:tm-t
..... ....,, te
l 11
.....
Fu.t. use the cut key, [r3], IO gct rid oC lhc table. Movc lhc
~L.l,.
'l'JO.l
""''
i""'
871.S
[r3J
~ E
l
~ ~:
t~:
t :.. l l
: ....,
1.
-. ..
Defining a vector
e:.:-~.
L:
Type;
d -
. 1 .l .
!!_
VOCllJI.
~--";:
,.
lil'--
.....
'BZJ.,
i7'S9.,
i'8:l.l
su
o1-..
Formatting a resull
You can sel the display lomat lor 111y numbcr MalhCAD
calculaia and displa)'$. This mans changing lhc nurnbct o(
decimal places shown. changing eponcnti;il not.ation IO
onWwy decimal nowion, and SO OO.
.Ff V?
1.
44 t
r',.,
;J.fiEiiiiiif:t~~~4fi~ :pli
-..::=
::--...
--1-;.J
""
.J.-"'J
:;...::l
!'ff
:=-. n
.- -.--
:J.!
.
' : ... tt
MIO :
--t.I
-
A tI - l
....
C.-tl-
::-- ........
--1~
.t _..,_
,.,.r.u1.,...,.....,.,,...u,
...:- 11
fl\.I
...
""''
=-- -:n
=---:u
- 1- '
=-- i]~~
11.\, .
t : .
'Jll.'
. . ..
' R71.:51
-,'
.....
r.'i'f.,
:1-t
'
twhlll ..
..,__,_.,,_tte
<llJ. l
MI
1 ti
. ... .
,.._.
fll . l
1'5.''
'1:1..,1
92'.U
.....
""'
~;~
lr.aJ.1
511
!:-~
1 .,.
~-
- -!
~~~
~---
t'
f.11
r- - -:-.:!
F.nt,, IM MW fn'"""
- - -----------
. w
w _
::
;; -
11
: ~1
23
.1
Plot,t~~1j;~~~1~!~~" $~
.,, -
,1 '-- ,. , '
:.~(
...
Creatlng a plot
To Cl<'J\10. 1k1t In MathCAD, pre,.! !he 11-alcn key
<
OI
The othcr 1wo placeholdcn on the bOltom .. ;, are ror a.rU //mlu
- the high and low values fer !he axis. MalhCAD leu you fiU
In numben fer lhe9e limits. lf you leo.ve them blank. MathCAD
11111om1tically fills lhcm when it crullCS the plot.
d{t
To - !he ploc. tho canor OUI o( tllcl plot rqlon.
MalhCAD calculllCI ni ploU !he points (Fiure 14).
... .....
:
'
MIO : ~.I
-.
: . . . -
;'2:1.
1 :e l a --
t1
m.1
,..
..
"""'
11111.5
a....au-" tt
r... r.111 ........... .,..111
s..itt- ti ..ti
, .. hllh 1 .................
m.,
I"''-'
I~: !
...
.
f
'':'
:sz:u
i"''
1'815.. 4
IU
:o
'
.1
'&al. 1
IM
'llU
lm .s
:t
.,,""'
..
..:,
t ,. . .. 11
,.
i:'
!~
' : .. s.
!f1
~
. !
Now move lhC1 cunar IO tbo placcholda on lho len ub 11-.1 typc
whll you Wllll ID show dicte - d,:
-"'l't
~:-.
m.s
':
TheBuics
el"'_,
']:sl
A
!.
il
>t.
f
1
.,,. ~-,-~..,
---~~ .~=--
.M
. 1, e : .. :, . . . . . ~,y...
.
i
... ;
"'".; " .. j
- Li-.\1""'
. -u4q
: rL
, .(. w
. ...
+it,,......
" ' f ,,AerlL
' '
!.;;+ L,,,,,,beM
re*'it 'l'!to
*'' " rt!utow1"
i
24
- ~-f~
Formalling a plot
Thc plo! in Figun: 14 il lhc defaull plo!: 6 lincs high by IS
columns wide, witb lincs conncctin llle points. You can change
lhc plo! ~ and typa by /orllt4llill1 lhc ploi, ju u you wii<z
formaw:d numbu.
To formal Lbe plol.. mi IDOVO lhc anor U.ID Lhe plot. Thcn iype:
f
15,30
[.JI
....
""5.1
'lllO.t
!l!S.9
82:1.
759.S
r.a:u
"""
;. -t.I
:~-
__.,
[.....
.....
.~-~......""'m.
W .I
111
...,u
... u.
r.. r.111,. w,,...., _,,.
e1 ..
]=:;J
A
(+-JI+-]-
i1
t=_
--
, . ij
.
,,. _
p1o1
;;--[ e:..:-~
~~6
1
1
......
..
""''
'2.t.'
r.'i,.,
.....
lm.s
tlZl-'
"'rs"'
>11
~.
r.a:u
111
,.,,,
,JI.
Menu commands
To save your worlc on a disk, use lhc save command. ThiJ
=~ a disk file wlll lhe exiension .MCD
You can execuic the save command from lile command menus.
To :iee lile command menus, press Lhe [1'10! function key:
When you prcss !he 1rlO1 key. you sec lhc MalhCAD main
menu (Figure 17). Each wonl al lile top or !he screen rcpresents
1 group of comman<b. Tiie selecicd tem (System in Figure 17)
is in nonn.al lel.l. while lhe rcst of lhc ni.ain menu is in invcne
video.
....
~U-rrrnwcii:mmfiW.1Cm
f1\.i
#'ttl}_~,.-
'-
.......
,,~.
r11 ....
,,..,,.
Jlm,
~L-
......
'--------~
JJ,
~:::::
eia-6,15.
.....
~l.~
e:... ,... !!
1
.. 1
,;
'1.15.1
e:...-!..<J.
';
.....
[1'10]
,,.,,,
Agu .. t e : - you aoroll fle ..,,_,, you c.n -
;- '
~1'
L.~
111
~-L~
.i-.
. . . ..
i3
~: r:
~=p
[
921,,
I 18'17.S
' ;. . al
~r~
[Bkap] [Bkap]
[BkapJ [Bkap]
'.
Cha>t I
~ :
.-----..~~~-.:"'."'~----------------
..
~ ~.~;
:--..,,,..~-~~-
--.
~~-----~--.--------~-..--~ ----~
-
r ..:. . .;
.-"~ "'~?J~r:~2'.'.!!:t":s:~:1>J~':~::;;-;2f~
Chapttt I
You can sclcct from command mcr11n cilhtt with thc arrow
keys (u in the example abovc) or by lyping the lirsi lcuer o(
lhc command. For example, anothcr way lo sclcct thc S&Y<!
command is lo type [1'1 O] r S (for File Savc).
O\'CT'Se
cnu. To sclcct lhc Sne comma~. xcss thc Enter kcy ([.J]).
lathCAD prnmpu you thc iop ol !he~ (ora lilenamc
19).
~gure
,....
.....
:995. l
'l!S.9
'21.,
lm.s
sz:u
.,
.....
""'
'8:1.l
811
i
,.., . . __ _ _ _ _____J
....
For cxample, herc are sevctal oquivalcnt ways IO enter thc qui!
command:
[FlOJ 8 Q
[!Cae] QUIT [.J)
cau sa1.rt1/w:).
[JCecj qu (.JI
"'"KA
[ctrlJQ
I_
, ~~T:
.!~ 1 ~
1~
i !1
l~iJl
f ~-!-61
e'. .
. ill
I~
! ~;J
e;- -!:I]
iE
~-- .,
- ----- -----------......-.--.---..........,.,_______~.
r:-"I
n:;-r-MI
The Buics
Printing
'"""
""5.1
M. 4
1"55'
.. I~:~
11z:u
.....
m .!
.i-.
'83.1
811
'
:- ii
:e-~!.~
~~!:
~ ! -: ~.
1
~-~
I,
~-~
~ -!---J
.~
m,
A
....
Tho prlnt command promp13 you for lhc print arca (Figure 20).
To print lhc wholc document.just pre.u [.J).
Ncxt. MathCAD prompt.s you (ora printa dcvicc. HN is lhc
default ~ (.J] if your prin1er is connected to the port called
PRN. (For most conliguraons. this is cooect.) lf your prinier is
connccted lo sorne othcr port. cra!C the PRN and enta the
correct printer port. for cumple, COHl. (Ir you havc no printet,
pre.u (l:c) 10 abort lhc comman<I.)
lf evcrytlng is hookcd up com:ctly, MathCAD should Sllrt
printing out y<ll.I" documentju.u a. it appcan on lhc ICTCCll, (Jf
thcrc's a problem, soe Chapta 5, MDocument Formatting and
__
..,...._.
/;.~~~==----~~====--
....
f ,.
__-
---- - - -
1;
,
\
' .. . ' .!
01ap<a I
Olherreuturn.
,,,.. '.'
c~
Chaptal6
l'or111.111lo111umben, Chapia 8
Vnluolme111urc-.Dlaplu9
llralloo, Chapea 11
Tabln, Chapea 11
,7
t..,
!_1l
t "'.
t , ~.;~.- : . .
[~
Plotting eatures
..
E --~
H.': ., '
.:" ' - ..
E-~
L ~
IE~l=~
!~
1
I[ ' -~
_
l[-J
...._.
llb-~
1[
2
fo
id
10
t -T0'
-Z n -
', ''"['.fo \] [, ,, ]]
45
0. 25
0.2
Center frequency
Durat ion
L.i tency
_~. ~::";' \
H ;: fftlhl
0""1?1<'J
l:Jj
..
.n ..
. l.
"Note thdt, altl1uwh the spectral ener9~ of u,., u.we r.uo,11l l"'d -; .1l tl.t:
'cdrrii:r' fre<1111'11C1 nf ~l llz, the si<pMI is . ..-:-+l;~G;I'2
m;m (: . .,,,.2..
:.:.~
i
1 --
1 [:.,.
I'
. c_::..::i
~t.:>
~r:
I[
Compulational fcatures
,-r-I"
~~
2:
..!.. ~ .,.
..
:~
. .. ..
__
... -.:1
1:1'.:
1
1
-~:;.
..
'
~ -.:'
>:
l!-.1
c;----:J
In
1.
.
_,
,, t
Editing Equations
;~:- ~
'e~
-:-:J
1 e:---~
:~~! !j
-;u111-1
1~
~
[~;.J ~
! 11 .
i r-:= ...::
' 11
r-~~ 11
ll_::'~! ~
' C'
-::.
j , ~ -
' .._..
c:..J.l .
Thi.t chapccr explaina die ltl1lll and conccpu you neod to lnow
10 edil equations. Thil chaptcr a1Jo explains how IO YCW an
cquation as 1 strin& o( keys llld how to place lhe cunor in thc
concct spot In 1n equotioft 10 edil IL
.~'
'.'
Addln1 n op<nl.,..
Ways IO edd n operalOr IO an ""btlnl oquatJon
Dtlttln1t opttllorl
opcnun
l'llrtnth...s
Using perenthcaa to regroup equatlons and
strucltR
. - - .H. .
' . .
1.
!
]
----.
33
Editin& Equatioru
---.lp{<rl
tl11llvrm~
., '
;, .
.... ...,.
lame
!'recedence rule1
The rules by which MalhCAD decides which opcntiOlll co
pcrform fst. Each opuacoc has a charactt:ristic pree<&tnu.
High-prcccdcnce opuaton are pcrfonned flfSl. lhen
low-p=dcnce opcraun.
MathCAD s most comman operators, 11.Jtedfrom lghcst
prtctd.tllCt to lo>WSI, art :
()pffand
apowcr.
1
Vaar7opcrator
An opcratOr llw U.U. ollly ooe operand. Commoo
uamplcs are aquarc l'OOl 911C! abx>lu&c valuc.
Placebolder
A srnall l'CC\lllglc (1) lha.t latcJ lhe place ola miuin
opcnnd or opcsalOr ill 111 oquatioa..
l!.lpraolo
SubKripts (/)'J'<' CJ
Rlaln to 1 power (/)'P<' ~)
Olvblon (/)'pe/)
MultipUcatloa (/)'pe *)
Addltion or sublractlon (/)'pe+ or -)
1 , .,.
C"""
I_
1 1 1l
~ 1 ~
~= ~!:!:
[[ : ~
1[ :,
ill
1!
l~
l
. 11 ..
1111 :;.rA. 1ion o 1l:in1 how t.o think ahoul c.diting cquation.s in
MathCAU.
parU
"
l~ 1;;
[[ '.-. f]
[!,;_-......:1 :--,
~
1~!:g
~
.ll
------~
.
or s~r.scripc.
3. 3.811
%
Ll
'l.
id-~
1110~2+3
tLj a
[ [ :1
o the cquation:
11'
ta
u.e
MalhCAD rcrforms thc powct fl!Sl, tlien thc division, thcn lhe
addilion. The display rcflccts lhis: the 10 and lhc 2 ore shown
IOgclhcr ll thc denominalO of the fraction, but lhc addition is
scpanu.c.
Editing an equation
To edil an cxisting cqualion, foUow lhcsc stt:>S:
a
or nwnbtr.)
Thc resl of lhis chaptet shows how w plac.< lhc curoor and wh:H
IO 1ype ID edil names and nwnbcts. add opcr.uon ID oquotions.
and delcu opcrnwn from oquations.
Place thc cursor al lhc spot in lhe cquation whcrc you want
IO insctt OC delete.
Type a lcUct, numbct, or openuor co lldd co thc cquauon
Or, pre.u (Del] oc (Bltap] lO dclcu.
IE<41P.
zq; ; Qii.%
- e
~---.....
.. .
----
Ch"Pta 2
ditlngnamesandnumbers:~
"Adding
1 J.'n 4.'n.
t. Put
t ...
. z.
hpe 19.
.. 2: Edllng nume.r
[lfii -- -=~
-m
r~3i
[~
--
Editin Equationa
3.
:: 3
:: 19
X ;:
..--!]
1.
e :z a Wx 4
IL~
~ :...-~
llcps:
--=';~
1~=-34
:: 19
:: 3
X ;:
[J!ii-jj
11! :-. !i
JI
e : a -x -1
111irf11:~-.;rj1
:i: li
~ .. -~
1 ll. 7'
11 _:2
.i. ;: 3
e : -x 4
1 ~li_h
JC
:s 1
3. tu -:z
.,....u ....
to
caoorlm
U.
!~ 'T-~JJ.
1e1!4.
,~!~
1~!!:::1
1~J!~.
~''"~
~s-!::f"9"'1' ........
L1a222
""'"""'~ -
curror rrom J io L
Thc usual cinor (J) is caDed an apptnd c11Tsor. Sincc lhe
crticAI pmt oC thc cunor is on thc rigll side, anytlling you type
is inscrted after thc cum::nt CUDOI' position.
m2aa:ua
.. f
~
1 .:, \ : : _
; ' __ , -
,: . -. . :,
_:_; _
L'<tb e&+:. j 1t1ffn=Sfii+i }s :,.;~' ;, b;bize'iri_:;'f "f'Zi1'ltn*1f"i+i .;.. H)u@'frdfiltif,ffw!diHrdkhf ;;~ lit n;}il
- ]
t , ,;;
36
Cho-2
:. a
:a 18
D :
a a. X
-X
D :
a a
l.
r....
CUMM>r,
to .
=a
:. 18
:. l
11.. 1 to llp
n ._,.. ClrAr80r
;. l
-- . l
1
,,..,.tt .
2. rr... to
pl118 alp Won U..
ex pression:
lf you pul Oie cun<w on a fr11<:1ion has und lypc a phu sign
(+), MalhCAD pulS lhc plus afl.Cf lhe wholc fraclion.
:. a
a :a 11
z
0
:a
A X
~ 4: IN1ing. -
...
: 1
-l. 4
3. "'- 0&rwor to
.---:a- ia
~ ,. Je 1
:a 3
:a 1
it .
..,............. lpe
:s 1i
:. 3
11
:: 1
%. Jy,.
= ta
:. 3
1 : (a> 1
:a
[ .. 3
!~
= ! ~
L--r-
L~~;..:'.,~bK(:H
Put thc CW>Or in thc appropriate plau. You can pul lhe
x ::
:z3
l.
"'te.o.-- ..
wr.
al,.c:.> ~. &U 1
mw1111;:iI
a :a .li
:a 3
..WJ. <d.
lt
;e 1
z. rr... "'
to n
'""'ar root to ...,.
:1- :111 1
1
:a
UI
: 3
;a 1
~- -
11..Cx> ~. lHl 1
,.
&
1.
:a 1i
:. 3
z
f-~ aln(l
:a 1
Z.4Z3 1
:. 3
-l.
"'t cu.- oa
;z 1
"w to
e,uare root to
Z. p,....
x:z
~ ; z3
- . !P<> 5.llU
z
. ~ ~11-.<>
appl1
MM.
ij
2 ....... ""to
9'f\I,.. root to f
AQutw 8: Applyinq a -
root tl a noma
Typc lhe kcy Cor thc unasy opcralDr. MalhCAD applics lhe
E! :J
. ~j.1'j
cursor.
e-
L . . '--~
~ !_ill
1
L -i!
c;J~
1
.e ,. ' !
'---- .
--~
-~~~~~~~~~~~~~~~~~~~~~~~~~~
r---.-!j
ij
?h'nol't".; 1 )
E<lin EquatioN
-- -- - ~-------
.1
...
e::- -Y
c.--..-,
[:a~
~: : [-~
- - --
t:; l=::]
~- l
.J
. . . . . . . . , . . ..
, ..
.......
. . . . . . . . . . . ...
..,..., -~r
..--,. , ..., ..
,_,~
: :,:
:~::1.::;
re::.-~-~
ltll:H' "
;: u
'"-1 '
l. Pul cunof'
I~
"
;~;
11!:
h ,, J
::
a -11 oln(xl
z
le::-- --iij
1. - lll<op) lo . . 1.to
Of'9'" a t.or
1 1
.~
pl IV"
;:
a ' ' lY
IO:
h ,, J
~--.
~i:!i
,, J
;l 1ln(xl
;:
fraction .
L'i~
""
dele le.
PrcS! (Bkap] or [Dl] IO delete the name or numbcr .
MalhCAD shows a placcholder whcre lhe number use<! ID
be.
Pre"' [DkepJ or [Dell once more. MA1hCADdclclcA1hc
placeholdcr arul tllc opcrator IO which il wu anached.
-----------*1!1111!11!._.!!. .
1Y
::
:: J
o I P"ti
M. '.
q.
fll-1?;Jll. i11J
A
:# ti
l. :& 3
X ;:
l. l\at
a.-
"tri.."
at..,. ..r
olo<x>
!JiRVI'lft!1 1I
1 1.1 1
a :z Ui
"
,,
. root ....... .
T.,13
=J
";~
. .
":.
)'
. .. ..1...
. ~ .
:a 1
'
I~
,, J
1a
:=
:: 1
lri.& : 1a
',~
J[~]
>
-.l~ .-: i. . .:
"
;s. 3
X ::
fi
::.r t
: 1: f~ .__ . ,..:
~11:~-"""
'
~. I
&lph& :: 19
"'
.:: ~
AvtJrO
..
.r . , . . ..
.,
:: 19
1,
oln<x> 1 1
9~
~ -~
&lpM. :a Ut
)( :a 1
::J
.1
':1'
&
...
e;.~-
'
E- -'i!
Toddete "+3" from the end oan cquation, put lhe cunar
on lhe 3 and press [BkepJ lwice.
~~.!~
1btn>ction.
Herc are some exampleJ or delcting part oran equation this MY:
I["-:"
I~
' :: Ui
Editing Equ1rion1
placoi.aUor.
~!~
~~r
'!I!l!lf.lllll_
'!',"
!. .,,\':'.,:'.l!.tf's!'lJ)l!'fb'~,~~;~~"~~'r,~f,',1t'Ntt'~ 9ii!t~
'
"' 1'
. :.
'
' .
: .
~ ~:'h '\'<Ji.>::
. . ;,; . .
Parentheses .
'
: ':'
..i,,,4.:.0
> :,,
'
~-~ ~~ :--- .,
]--~-
1
-
z
La
3.
1.
1.
Pre (Jna)
to put curaor
'
--3
%
z. rr
E:1
El
E-f~l
111.~
:5
[. !1_..,)
- - . i. 11
z
caaraor.
O
"J
tt
---
J}
eqwition.
l
_i._
'"".u
4. To 0011tplt rr.-.o.....
prMa a rl1~t ,.rentN1h: )
[11z
Mall1CAD muy hi<le parcmheses when you move lhe cursor out
oan e<uauon. Tius happcns when u.. grooping is clcar wilhout
seei ng lhe parenihese.s. Thc parenlheses are sull lhcre: if yo u
move lhe cursor bad:. inU> lhe e<uation, lhey rc:ippear so you can
cdillhcm.
--z
11 3
.'''
, ....u......
.J~
l. ht
f - 1ln<xl
l fl7'.'\1:
. : : 3
<: 18
;:
z
z
cm ~ .
z.
<tP -.
"""
~.IH1 1
h(xl 1 1
11;~1:il:ffH
.i
: J
a : IW
x :l
l. ht c:urtCW
at \Md
01I
41vh l o.
kr.
~.lHl 1
l
l:l!iiifi::;;y - - - - - - -
~:J
a ; LW
.;:
111: : 1
l. Pres apoetro,M (
[}] si< xi
) ,
c;w"SOI'.
~- ~ ~
IL._l-:.l
-_L
!:;-L_i
,. ;: ~,' ' .
::f
::1
;; J
1 ~
: : : :: .: ,,.: :::..
: 1.i
e:_ r
1#05-CN
~-
,,::~
.Cl
~e -
opcra1 ID be roo4JCd_
l -
l!.t.hlU1' l:.tutioo
E,.,-.
rr~~-=,::~=
Lr~~
(18
E=p
~.:_f:
e:r1
yq':I ,
. !'
'
'
..
' :J .
1.'. :W fi-1-.J
---- ~-------
lll
:= J
;:
& ;:
-i.
%
f
"
- '
,~
:: 1
11.S
::: u
,,
JI
~-:.!'lQ
"'-:m-?S
re ,_
_f.;.
--(~
:.r. l
:' 3
)( ::: 1
(ilJ
z .
;: J
---~ 1
o.
tu,..,.lat".
;' J
~ [5 - .~ 11
,, 1
( :>
~:::11
,,11
i r ... _~
p__
:12
:~
1 1
:: u
19
''J=I
:rfi-i::l1
.,e
43
Edi1in&Equo1i<m11
nll..
.. :z: 18
:::s 3
{.z ,;n<>)
:.: \.
1. ht ...-- ""
elther ,.Nmthe1l1.
18.415 1
)( ::: 1
Co!ll'1n11,......,
lnlneqwlion.
INCUT
"
_.n.1.
Flgv111 15: ExPMdng. placellold9r
:~
. ~z ft( >] - l 1
;:
z. r,,.
.3, ftolhCAt
P!"'NO arter \he Hl
ol' ,...... ti......
11
!!E::!~
l!J!.:::-";11
;~'.lit~
--~
;: 3
. {/ 1ln<x>) 18.415
.... .
...
l~:::t
.,.......num
lnto tianl. IJ*ll Of 1
jilaolholdor,
!: 1
'
'll
l. ht .,.,,_""
elther ,.renl1111l1.
[l'loJ I e
[ct.rl)(l'l) or
!Eal J.Aaut [.J)
[1'10) I X
[ct.rlJ!l'CJ or
[lha) .Lnpaot. [.J)
[l'lOJ I
reglon.
;, J
h<ll
1 1
::
Z. l'ren llbpl to
telele the Ml oC
...... t .......
Flgv11118: Oeleting - -
___
~~-----'[
[ct.rlJ[J'2J or
(Eaa) J.A-ior (.J)
:i
'j
l~
~r::-:-.::::
llE1llJ
INPASTE
llE:
~~~
ii ~
a :: lY
:11:1
1r..
JI
g --::m
:; lQ
ICE'fl TO TT1'l
1: :
''ll.Rolll!
.cuc.,._...111
~
le .. --....,.
parentMtsn
:: l i
::- ..iTJ
r-~:1--.
COMMAHOSll
TllS SECTlOM
INCOPY
:~:i~
1. ht aar9'0r a. -X"
lU
;, J
1Y
";~--,.;;!.~
---.F-
-_-_-_-_-_-~~~~~~~~~~~~-
~!IW&WUU
" ;, :. ,..;.4;_11
" ''
_ f:~
"' ]
;;;.~ ::. I
1'"
t11-..11.a l
~-
,. 3
;.]- . ~ r.
: l
r.. ..,
(U. , , _
.1,.1.
:a 3
!!:
:a l
l ....... !Ctrllll'3J. JlotM:IUI
QIU U.o ..
lM
:. .;;
![
![
V :a
:a 3
f. -
a :a l8
:.
: . r. -.]l
l. ,,._ !Ctrll!f41 to
.,.... .... lut ""'
-~::i
!! a
!!jj
l!:c~l!:iJ
[[ !! g
[[~~-Y
;. 1
:. 3
4l
11.(fini 1!,..u1i11n
[[ 11,. D
.. ;, ..
-----
~~-r-!j
:a ut
Lft:f!
1. ht cunar o top-tevel
ror .., ........ " ....
.,.,....'"
-1
~- - ~
_....]
;;;
---~~~
:.w. :~r .e,,,; .#1:: ~.: .:;-,,-,...,~~..-~-.-: ..: .~ .-:. -.'".::,,, -. : . b-.~I
- - - - - - - - - - - - - - - - - - - -
,..te
!f
~- !]
~t!~
JI
.. =
[l._.-~
I~
.,. . . . . ..
,
!.,
i ' ,. ~ ::.
..~~~ l
..k~r.~;i:Xi)~w
---
.1.-,..~~
~=~-
. ,. .
r.-f1 -,::
Chopt,.2
~--1
,. ,
Editing Documents
~ -~
~---~
~;::jl
i -~=--;
~
=--ii
lil__,,~
Cursor ltty1
Arrow keys and O!hc:r l:eJ1 to move the cuna'
~ ~- ~.J!S
'.:;; --::11
1c_I
Makln11pace
How IO open ~ lpllOO In a docame'1t and dcal wllh
. l.
~
,._ _:!J
-L!I
1
l-1.1."'!!
l~~~
l~
1e
~!!.-~~
~11
l ..... -~
. 11
OYCrlapping rcgionl
~andnpbla
l1
;!
t
/
1!
1
Ftle commands
Spfit9CnlCll editlng
~~
:~.!~
1_1
''.
,1
---"'
#' -
e'
o'P' :
i'
"*"*''#3
C'
, :ti
' t
W'
f, 1
r t:!m S
d' Ir ,/L
JI'
"
.,
'1 .
.J t - r
i ~
:".
fJ1l ll~; :
.~
(Ta.bl
IC Y'"' uiovo '"" n11 iuM 111 ''"' rilin 11( 1hr -. ir<n. th.-. '"" 1111u.111
a;mlls lO :lhow yuu more. 'l11c pO):lhon UllltLalor at lhc LOp righl
o(
~~
e~
1
C~
.1
[j
(llcDoJ
l~<litPqlJpJ
{~rlilPqllQ)
~- .. ~
~ 1.
t. ~
~ 1.
c.._ 1i]
{~rlll-.)
1-1
1
E:~
1
~. 111_ij
~-10.,_o.1ogion.
Uciov.o.norlO
apooiad pouon"
1;-
llQion.
[~rll[IAdl
,;
....
-.ni.i
apooiad
. ...
.. __
,_ ..
r1011: 11
... 11t1-1~1
._
"'"''* ..
J : "
1w.u.:
:1 r:.
J
: "1:.:. ..1
1
"1
,
J
"
"= -
'
~.~..
Ji ~
... . , ...
:JSJ
.
F~u ;i .
Sor-..n .,.,
U411lij
..
116' u."'nmatw.I
~-b
11 ~
~ r,, }.
V~,
:~.~ ,;;:~;~;
.~i,~~~:~ti~:ih<~eI
~l.};.;;::.; -~)~::
. '. :."'. ,/. ...- ",
r,
'i.~::.;.'~. i:J"r.tilf>'"''
~h,,J'r..t.f~M'.'f.;~.,,f..
:. U,,t,,:,,.~ :,.,x.~
..L,(;,.i,_,
- r\ l t
..
J :' ....
,,.,, ""'
H..
:-
lllllCIJlJ. . . . . . . .. .. . . . . . . . . .. . . . . .. . .1'.lllfillrn J
... 11 U l"*-1:
hlthl tele......,.
:
"-
r-
: I fS5 1
1
JI
~ 11 .....,
..... ~1 ...
frltl-~flcl..t
For example, supposc you Wlllll IO movc thc cuna IO line 1O,
wlumn20.'l'ypo:
cu
....11 o1 ..i.-1.
1~
1no11: o
1 -- .t
: 1 e.el
.. :~ 14 I
~i~
. : :i,.
1 1
MlttlllOllU a..111C
llEHU
Uovtcun.orn
I~ ~. i]
""*
'' ilgl.u!.i, ,( 1,
11
IUlllJ,l.i.l!l. . . . . . . . . . . . . . . . . . . . . . . . . .. ...:....,Trn
MOVE
11 '].
L~ ~
.1.~<'11 .-
doo.mQrllby
llop.
(llcIJpJ
' + ,bid
J\ :. 1
"'"'
a.-regicn:-
.,,;,,
_. .........
... ! l I
GOTO
,, ,.,
KEYS TO TYPE
r==~!l
In
-bad< - -IOPflYOUI placoholdor.
In loxt
tqutllon OI plot.
ltl lo""" 1Cklwwltr t.lb
[SAdJ
COMMANOSIH
THIS SECTIOH
t.lbllOp.
"'"'
ont
IO ne"I pllai/loldtl.
~regicn:..,.. ~lo nexi 1~1CW
[lllUft)[Tal>I
' -l
_________ -----
"''' "''"""''"
<-11ptff}
Cunurkeyit
{~di[ ...
l ' ~),
;;,~'
..
. ~ ; ;.....: .
,1 ;. .
...---, ~- ~r' ,':~ -:.~ fi ,~x~\,. :.~~; .~~:~~ -r.; - ~.:-~, ~.:'."'.,'...J r_-,_;-'!,.'~?1_,_1~"~,,." '
.- ,
--
1'.
E<litln& Documm"
. . .
..
.,ti. ..
"'
~.
{;j
" .'
Chtpt<r)
""'"
li'W!Stll?'JljW.
[J:ll..Tl
:1. "
Jt
~
-
.
-
..
lf:l
i,. 3: -
l>odorumlf!l
fl'll or
Jltoo] out (.JI
PASTE
~flt.glon
{Fil "'
(bol paot (..J)
r101& e
[1'10)& lt
(1'101&
llJ
ir;-.
nJ 1.
aJ
r~
tlli@
ut.lng _ .. oommond
" .1
1 - . CM ,....
''
t !mi L
Press (r3J (lhc cut lcey) to cut !he region from !he
documcnL Whcn you cut a rcgion, MalhCAD copies it IO
temporary SIOnlgc so you can paste it again. (U you want IO
copy !he region to temporary storage wilhout delcting it,
press (r2], lhe copy kcy.)
M
-
Let.
r :. ,,.,
- 1
.....
L(,tal
t ,._.. 1 : . --.e
WlWIMtt ...
JMN.
( ...... , ... 1
t.L
..
no lonxer avalable.
'
r..-- -i1
.
!L. mj
ooPod.
:JSJ
........
:
(1'2)
.,,..~
Jl'9YIOU.tyo.Aor
..-~
u- ...
u ... .,
or
OelelO l r>Qion"""'
...HU
KtYft TO !Yrt
COPY
CUT
~ -10 [..J)
.. __
.1-t
COMMANO~tf
t1n!itC110N
'""JXl"'
:>nmplc,
!he mcs.,.gc line shows that the cunor is
ne 10, coh11111\ ]O. &.1 in Figure 2. To move thc cunor down
'"A' ami 1cn 10 tolumns in 1he docnmcnt. type:
(llac)
.....
Mlat
-u
11
.... -.
... 1
tat..m -
gie ....
, ,. --;-J
e~
1 t L
... u
Ltt.
J ll I I .~--
Now move lhc cunor down ID whetc yoo want lhc e<~1&on ID
MalhCAD pu"'s the <quation into the
docurncnt (l~gure 6).
1 l"2 1
'.t.
lllJILCMLlll
&-1~1
WtWl.ttl._
al U.
L<.litJ
. . . 111
Mlall
-u .....-.
111
... 1 llUZS-
......
Lat.
'ta tlmL
! , .. . . . . : . mr:&I--
........'
(a lh
' ! ,,., .
-, :--
'
1
Mt w1.cua 1
u.
. . . .
LIC.J.J
-'11
-u ., ... _.'
111
...-1n1o
- m:ull~lr
1
the docut.-l
a H
t
'j
------------------- ~!l
_,;
- -
. . , +J
ki~:;~
hiCt + b d
1
,;_ .:
$2 .
;,J
ChaptcJ3
Maklngspoce-
. . .:
: '\'( ':
'''\{.
,.,.,-:r >:,
COllMAHDSll
TKSSECTION
ltfY1TOTYPE
llEHU
~ 1 ...
'-='r::_-r
k'IM1tb1WW.in1
""""'.....
[ctrl)lnJ "'
[ICol ino-rtli.ne (..J)
[l'lOJI: I
LI
(ctrll!FlOI ot
[ICoo) debt.li.ne [..J)
(FlOIE D
(rlOllC 1
DELETELINE
................
OtiololAonl:-
SEPARATE
llepw111~
NQKI' .,.
-..-
..................
REDISPLAY
trio a
lctrllll "'
(llool r..d.J.oploy (.JI
ll
i (. .
'
--------- - - ---- - - - -
,.,..-r_.:-,..,-.._.: .
-......----.-
'
- --
.. .
.:~~;_:.'~:;.. _,:~
;:;;
r1=
IC !:!
![
iJ
[[ .'
""h
spacc
!....:=~
[[ i.
~-;
1
~-:ij
[- L3
..
.. -
_ .,
tf .
IDOI.
...
.:;~~:.~=-=~~:::-------
.,;, ;
~: ..
\g
. .....
Y : . 1.ML
: J l 1 t
...
_,
.IBZllS6.l- -
~J
;. 1 1
...
_,
1 : . ~---
f : . :ITJ I
r : :JT.1 1
r 1. m at.
hl U
r : - -
u.1\ Wl11Hl.-
U.
, 1.ltlt.
... IUI
1.1 c .1.>
-U
-''
......-.
.-.. l&Lm -
Whcn you press lhe insertline uy, MathCAD pushcs ali regions
thc rcgioru bovc thc curoor 11nd the rcgions below Oie cUI>OI'.
(A rcgion is considcrcd below the cursor if ita upper lcfl comct
is to the right of the cursor oc below iL)
fo do~ up emply spacc in u doc umcnt. move 1hc ClU1IOI" \O a
to Wldcrsland.
,.,,
:..J
.( "
N
r:,..-vPI' fi~ -~~lt~. r.;-."W'?
",' Af.
-' b.T..49$9.I<
..
Lata
r'""
~:.; l -'.""1
, _;
UM
....,
r : -
~,.
~=t
-~
Y i a L
.. ':-'::!
~
~
--~; ~ --
~PW
IKAL gm 1.111
:.::,_::: ,.
Editin Docummll
;;: .
INSERTUNE
.V
---~- -
WU.
-.. 4 -.4. iPfJA ....
f ""' , , ,.,.
1.\1 .
------- - - e
t~~T:!~~~~f'.7PF~'~;,;;-:~Y~'.:':~r'~',~:'~'n'''3:~
'"""3
~
can sec how lhe rcgions OYCrlap. To scperate lhe ovcrlapping
rcgiom, typc:
(EecJ . . parat. (J]
Afltt you fix the problcm, you may havc to use [Ctrl]R (lhc
ttdlsplay command) IO show thc paru of cquaons that had
b<en obscurcd. When you typc (ctrlJP., MathCAD redisplays
cverything on the scrccn.
lf you want to sclJ3flllC thc error me.o;sages from lhe cquaons
they ovcrlap, use the lnstttllnc command. Don'! use the
1eparatc command to scperate regions with error messages;
when you lll thc mun, thc cquaons will havc large gaps
betwecn thern.
-TI.
J! .... -;)
- 1-
1~
:-q
l~"fl
'.\'-fMT'UIW
lflml ..1'1
51,.,...th 1i1mJJiJ
11
. . ,
-..Sii
KETSTOTTPE
SEARCH
trld1eI1crn.nen
doclmtnl.
ot
JI :a 191l
.. : lt I
(ctrlJ(1'5J Of
~ocJ ..arch teirt [.J) Of
(J:oc) ..arch -tut (.JJ
[rlO)Z
M : lt I
lll lW"
F\
:a . 1
REPLACE
a..n ti
, ... ...
.
g::!_y
~-:-~
w..1111,. r.-.:a
trtctloa cm(flct-t
flopilcfapocifood
mttriflnrwllll
(ctrl)[J'IJ or
~o! replaoe Cut cut (.JI
(J'lO)Z A
,_
C-to-w
,';
lb [.JJ
:ar
J
fz1
t.-
..
.-.,. .. .....
..
ICllCChin
iCtrlJlr5J
MalhCAD promptJ you fot a strlng to oearch for. Type:
Jl
lt :a
tlJ!tairlal:
J ,. 1 . 11
fW.tl:
tHhl ..Wc1 -
d~
1
,...,, .. ot ....11
"'' .t tan
1 :a -"(llS .,tJ
'
_,,,_
llUl"""'IU -tic
llEllU
~~
~-!~]
1-1-11-1
s~
Editing Doc:UJ1-.:;;1-.,
~:.:;)
~ !-!:l
. . . . 1.
~.:::~;:~: ;.};:~=~~;~~&g~~ff~~~.$L~~:.~~~i~~1
g-:.]
~
,_,.,.
L .i
--- .. ---- 1
.1
1cfl
.:1
~-- ]
. ,. ;
[r-:- -J
E_-J
~m1
rtilwi!Uiii1Ii1
.
19-;j
--
I~ you
lt.lr1
[ctrlJ[r5J
-trietioo [J]
to
continue
Sellrch and
repl~
P<"ltlon.
~
.
~1
.;.~
dt
!h
'"
.~: .;:.'')
# '
' ~ t
..,
: ...,
.,,,
,
>
f 'b
:l
\t:
b"
,,
W*MW'
j
,'\te
;. u.
'
;a -
:.311 ...
:. Lm
.. '". -r J .. ,......r J
.........-
:a 1
: 1
... -.1...u
ano.
.
'
:. -t.1
1L :
... ,._
.......
.r .,... u,
~: 3
r=:3
:E - 3
:[_. .1i :E.
I E.-J~3
111
:. Lll-
:Ej 3
l[_;(':J
1 11 ~
l .. lhl Mlml\t W
.. -r1..,. ....r1
'
._t..
:. u. .. ;.u
WUal i11u-
~o
Mt'
~,.u
111
L:
E~3
l.ttlI CDMttl-
MathCAD scan:hc.I far lhc f!ISI insWlee of thc namc 11tc in ICXI
orinan cquation and movca lhc cursor LO iL TilC prompt ll thc
IOp of th... :'rcn (Fiun: 11) ahow1 yoor choicca:
!'.!
"'1tJectlh Jtotl"
W w.r ulte
..........
_j ',,"'--..-;..-r. '""'
.W l'M:I
lt1fll!t .1.111!
a.llhUc. -
a.111.u- - rw-.J-UI
>o
'"!''"')
'6.
. kvt
''[ 1
~
11 -
-u-., ..
1,i.
[ ;,
.......1... u.e1.-1"'
..
'l ~=l~
t-.J~ -~
12: C00"'4o-uoitig ~
l..
e\
A4
>ti
en
>I
'
tf
' +
--?
]
-g
< ' H
* "
T!US SECllON
(ll\acJ rt (..JI
llEHU
KEYS TOTYPE
CLEAR
CIOOl'""""t
[r1or e
1r101r a
documtrnandr~
Qlflfig1.nb0nfi&I.
RES ET
Ro.o<"'""'
document
dtl
.... '"'"' "'
LOAD
nor L
l.o.OOwmn
[r~J
lromadl<i W..
Df
SV
S.vtut..
dottxtlt11thU. r"'
[rlj
OI
lltoJ rl
ltrnm
.1J
1no1r
APPENO
~""il.io
"'""'dowmonl
1no1r
,,- *''
"*"."f'i'
#,
- w ..,...i....~--...::....-_.....
*' o
u: e
'
'
__ _ _ ....
____. '...
__..
,~~
.,,..
,,
_.,
. ,.
..
------~-- - ----,...- - ~ ,
>
,, ,,
....
_.
, . , , 11
. ..
.'&' .:. ..
. ..
"'
.. .
~
.;:::::-:;J
l11pttt l
- ~- :_ ~
llR..flll Of MortOllU ..-1.-0
...._011
or
"'"1111)91\.1
_.oc;,
" : .- I~
. . : 14 l
M I 11 I
":
'
1
I ...
,...., .r
JH......
,_
..
,._.u..:
....,,.
jI
~ 14: lMa.<'""',.._ _
IUll D. 111.D
... :. 11
" : i
c.nstJM.te
1ftl.tr:~
'1>U. rr:t
1 -
1
I
I ft UB ....)
l.tU ..Me
....
ft : .......
._.
_,.
,_
,...,..u.:
..
-- - ~ "
..
Jl
txJtn.rion yo 1~cif1.
/fyo saw to afl/tlfOmt //ial alrtady aistson tht dJJ};,
MothCAD prompU IO mt1U sur yo wa/11 ro awrwritt tht
j \ : . . .. . . .
I l
~-~..F\tfl
1;
You uin move thc cursor up and down in thl.s director)' as you
would in a menu. lf !hctt: m more files thlln fil on !he sctten,
MnlhCAD lcl you scroll lo new ones wilh lhe arrow lteys or
[PcUpl and [PcDn]. To .clccl a rilcname, movc thc cursor 10
thc rilcname and prcss [.JJ.
To U!C thc dilcctory saolling fcntun:, fint U3C thc load or
apitnd command. Then. when MathCAD prompts you for a
menarne, cota one of lhe following:
u;iJtingfll.
lhal ditt:elOf}'.
(( you don't k.now !he filename you W111lt IO lood, yoo can use
MnthCAD's 1crolllnt dlr.ctor;t fearun: IO find a me on lhe di.t.
When MathCAD proinpt.! yuu !OJ 1 rilcname.1ype and prcu
{.JJ. MathCAD show1 a li!l o ali lhe MCD files in lhe curren1
IT:'.':.---t~
.[ - .!IJ
. 1
-~
'[
r:::!il
ill
!:""- -
lb:iahntt
.,..,...u
llhl _.,lal -
J : 1
l
.....att.elopiollof lhol<ftI
....
J ....._
"' .. _
f0f'"C9
tlOIA!not..t
at'1.rtet
.... tl h1t..,..a1:
J : .....
1
. . : U
: .1
..uu-1.....,.11
~t
41~
"'"'""''~
frhll OMCrtch..t
.n
,. :
L-.
r-!1 ~
=- .!])
t.
F-w -.!)
C-. -
E:.:: .ij
~!~
c!liJ
.1
E-..
1
59
f;li1in Documn1,.
Tiien enter thc name o< lhe MathCAD disk file. MathCAD adds
thc document file IO thc end of the curren! documenL
Yuu cn u.e the apptnd commnd to combine .ovcral
documcn11 lnlO orr. long documenL
Wlnduws
COMMAHOStl
--
TltlSE CTION
SPUT
......
."' _
un ron"
MEHU
(r'7) ,,,
[Koo] oplU (.J)
[rlo) w
lhpllt~
(~r.J{J"I)
(J'lO JW O
--"'-
ar
[ho)Dnpllt. (.J)
(J'tl et
(Kao) ewit.oh [..J)
(J'lO I W J
~\ ..,_
..
~
....... ..,.a1
UNSPUT
__..,.al
bono>Tl-.
SWITCH
......
.
1
clocumenlJ at once. To split lhe ta=1, preu (r7 J (lhe 1pll1 tcy)
or use thc 11pllt CXll!lrrund. MathCAD splits the 9C1ttll iruo two ' I
'Windows by aeating a IOCOnd messagc li re 11 the cmttnt cur90f
posilioo (Figiro 16). 1be lop window shows lile doc..nent you
werc womna on. 1be canor movea to thc boclOm window.
whcre lhcrc is a new empty docwnenL
'"""'he
~:.;~
~
t _- l .l_-:2
L.~
- ,1 .
1.
=-~-~
-..r111 ti UllUIU- - l l C
:
.. : 11
n :.
.,
111-1w-
--ca..
o/...._,
..w1 ...
,~.,, 11.oe
Wl"f (ora
(rleil...,.tl.t.t
I - IC~
h.UlI ..WI
' -
lM swildl command.
window and suut typia. You can lo9d, savc, and clcar
clocwnenll in cacb wiadow indcpendenlly, Eacb window
ecroliJ indcpcndenlly.
Chango lhc ldaliw siJica ol lhc windowa by moving lhc
ICCOlld mcuagc line. MoYC lhc cursor IO lhe line whecc you
wani io spli1 lhc s:rcaa and prcu [rl Jaain. MalhCAD
moves lhc sccond incaae lino lhal divida lhe two
:~
J-
- ..
:
Text
[ . 1~
,
e~ ~
E- :3
L ~
f"
1~
C r~
L ~
e_
wper.
This chnp1er describes ways lO crca1e and use texl regioru and
IC.\t bands in your MaihCA D JocumcnlJ. This chaplcr also
dc.scribel MalhCAD 's texHditing foa1ures, incluing !e.a~
Cor cuuing and pasting pi~ of LCXL
[;~
e!~
:3
windows.
[CtrlJ[r7J (Lhe unsplil key) oc use lhc unsplil command.
MalhCAD discanlJ !he documcn1 in lhc bou.om window and
cxpandl lhc lOp window 10 fill lhc wholc saccn. IC you havc
1lOI savcd lhc documml in lhc bouan window, MalhCAD
prompu you lO make s.n you wan1 lO discard iL
e~~
"""' you havo spli1 lhc screcn, you can do any o lhc Collowing:
Movc lile cw'' Crom onc window lO lhc 01bu. Prcu (raJ
:O".w\.r.4: .. ~
Tu:tnglons
Uing small piccc.1 ol le.\l u IJlhels and notu
Tv:tbands
i :3.
E~
1-
pieces O ICXI
[;_. -=B
t~~ : !J
& UZ(PJ?
Z#lii&.14 . 4.. G . A. .. 4 : P 5 kt 11
J.
#- I
..
'h"GilUSrwY?TS~~:s:"Jti;;: ;9~} -
tingatext~
ogions 11e deSigi>od to haid smal1 bits o{ tal. Tcitl regionl
eful Cor~ bbels or cocnmeats to appcs around and
1 lhe "'l1'9Ol'S llld ploCs ill 'fOVJf doc;unalC. (l!
~ lO
rith ~ JllD(JQlllS o( 1eXt.. - te bsn<1s. .. dclcnDcd in
XI soction.)
:;ate a IW~prca !he~ kEy ().
CAD sho.., you a U ol double-quo4C marta at the
111 cunor posi tioa (fig= 1). These doublo-quOIC maru
!lCfll the bcgittnin& anl lhc cnd o( die text region; yoa rype
~ them. ~O UCZIS ~ )'Oll IJPC bctweCft
qQOle nwb as a te commenc..
'"
:W# 1'.WMfWI
wwwWWW
....,... . . ..a...............~~
lllWU
........
Chop<.
To "'JI> typin& IOI md lta\'e the IOI n:gion, jusi me the mrow
~ IO movc the cunor
o{ die ICXI region.
"'
To cdit an citisting text regioo. movc the cunof bsclc in11> lhc
r.r:xt rcgion and inscn or dcle1e 1ext. (Funhc:r cditing commmids
..-e dc:ocribcd in the ..:aiorl oa "!citt cdiling command.1" lacer in
thischa~.
_,
l'\,Oll"""""
..
'"
:. u
, _ _ !
DI !
..
.....
.ft
: .M't
;t.l
.1---
... ,,.,.,,_.,,,.,.,,_,.~i..,.."""'1CAD--
_,
rnc1t ... t
t.
1m
:l.'l
~~
E_!-3
g
:..~
.-1.i._
,-1
L.:
:u.
.. :.u
..
-
a hotd llne -
: .11
: .111
':t.1-1
6.3
"'"" lhe
CWlllr t:1
it md prcsw
[Del].
n,m rJlllftl
n- ...._
'
~
~
..... ,..,.n.t
--
--tle ........................ ..
_.....,:
=-11.
- :. a
":a
:. .ll
,.._ : .1--
: . . . . ..
1 :t..l1
--~-
lf :roa imat or delete 1e:11 in cbe idcle ola ICU rqim. ,.,..
mar end up wit1110<?Je lil>es s1au:r mm ocbcn. To rewnp aLI
chelines in !he regioa. preu [Ct.rl)lr (!be JllStil'y axrm.rd).
To dlange dio wnp marin foc a aeu regioa. YQCI mast l<l its
'lricll. Then:
'.'!:I
1 ~
,......~
,..-......,_.n-.
When }'Oll create a leXt rcgion. MaJiCAD ICCI the WT1l!I nm--gin
dtpending"" the =rent line lea(tb.. (By ddmlt. !he linc lengdl
Is 78 columns. hui you can chqe il wll lhe lir>elntttla
command, d=Jibed lu:r !l1 lhis cllapa andtt -re:u bmds. i
1-11= is how Matl!CAD delcmtiaes lbc W'l1q) amiD fara te::a
regioo:.
.......:
.........
r;=-~
1
G-1~
on.
qc:1.rtn ti ...
- - u. ...... ~
E-~ . -=3
d~
E;!~
........
nw ,.,. n
..... .,.
..............u. -'"
...,.,..t
n ......
m
~-- 3
.E
[_::mr 3
t>
~.~
-i1
~:i!I
,._.-.-n-.
":
TUI
- ltl
w------~
I
~lhCAD sbowt )'(JU !be curn:nt widlb o( the to:t repo.,
(figure 4). ~ tbe widdl witb {!!l:ap] and ena a,..,....
widlh. (The ..ndtb is measar<d in c:olumns or c:bancl<=)
MalliCAD rcwnps lbe 1a1 rcgicm to the ncw wdl! (Fi!=
5).
IN CIU tutdpasu
COMMAHOSN
TltS SECTIOH
...u.:
----"------...i-.
. . . . ..
--
-.... .........
-
iEXTeAD
n.-... u.._.,.
.:.a.
'
..
-:.u
..
. ].
:. .
'
:.,
r.. n.c
_ _ ,_,t,..cu.
,_,
._...._.frlctt11MH
.., ..........,
:.a.
-:au
.......
:a .ll
.... :..1--
....
l .
:at.-
Fig<n5:s.mtl0Xt~- ~IOawidd>ol30
,.
'. ~:.~i~(:4J~L
MEHU
(CUl~"'
(rlo)r a
---
&.o)~ cols
(.Jj
{rlO)W L
Wbcn you use tcxl bands ill a docwncni. imqinc dial the
documenl is dividcd up illlO borizoolal ballds ol diffcrcnt lypcl. .
Within lhc tcxl bands, lhc docwncnt bchaYCI likc an ordillll}
ICXl cditoc. Bctwcen lhe ICXl bands are baods COOlainin
cqualioos. plols, and sm&ll ICXt rcioos.
0ooc )'OU haYC cn:&ICd a ICXl band,, you call lype lllD l jusl as
you woald wilh a ICXl rcgioct. The wrap mar!l Cor a ICXl baad is
.........
----"___.............
..............
........
ICEYS TO TYft:
Text bandJ are dcsignod for ICXl tbat SU'Cldlcs from onc edc oC
pi"' .S--
llAll-
e;::
UNELENGTH
Slinelonglhtor
.:.
:.111
[Z.Ao]~(.J)
.........:
Text bands stan in colwnn Oand cxrcnd for lhc full line
lmgth of che pagc. lf a ICXl band occupics a line oo die
.:n:cn. cquatioos or plolS cannoloccupy tbc samc linc. lbc
ochcr iegioos musr. be citha lbove die ICXl iegioo or bclow
it.
Text bands pusb odicr rcgioos out oC lhe way. lf adding 1CXl
causes a u:xt band to ovcrlap cxisting iegioos, Ma!hCAD
pushcs !hose iegioos OOl ol die way. In this way, tcxl bands
bcha"C more likc a coa\'<:Slonal tcxl editor. Similarly, if a
ICXl band shrinh as you dclcle rexi. MathCAD pul1s die
iegions bclow it upward to fill lhe cmpy spacc.
MailiCAD doa ""'ac""2lly mav< the other rtgiotU Wllil
JOll move the cMTUJt' out of the tui bond or (}p<! [Ctrl!N.
'"
. ,:,J
-.
Tr.
.~f , ~ .~~
- ..
l_,_,.. ,.....,_,ir:.;,
1M
zw _wmrw
'-Hte
flf--c:
. : ...
.. :
-
.. :.a
..
..... :.-
; . ti
.
.ta-
~"''"'':
.ltt
!t.-
... --n.,....
w:. ....
405,
1--., ... l ..
t i....
J:MMffttw
"'*t Uo
C:.:. :i.
-~
r ,.... .
IL .:'
3.
'7;:I
[~:J]
. ~~I .. ~
~-
!i;:::.!~ 1 ~~
II~
- :1 .. ...
tl
l"=V"itill, 1'7'tl, ,..._ D:zn. f'lr ,._.,,,
H (.... h
t ..
n. ...........
1 : .M -
'1t1I ............ .
U,"'""'"'
THIS SECTIOH
fRwAAo
lntlirpretmOYn. .
c:ommandl 11
ll[NU
KEYSTOIYPI!
(ctrlJI' .,
(Eo] fontard (.J)
rno1
(ctrlJB ot
[ltao] baolcward [.J)
[1'10] '
BACKWAAO
lnltrpro!ITIOWITI1I
oommandl
--...n1.
Movement commands
,,
[ctrlJlf
- ~'!
v1
[ -~
L~~
" :
67
Tu l
.... ....-..
....--. -6 ~1- :
-1
rt !::l! .g
- : .lt
:n
Wltl-.1 t l l f - U ....
:1 ::-:
.
= -
"......_.: =a
u... r,..
Whcn you change lhe linc length, MathCAD ICWnlps ali exlsting
ICl<l bands IO lhe ncw linc lenglh.
r=-~
e::.:
1Wlle.tl 11
.. ...1. .
.n-..1.rMcrt1...t
....
,.... ,1___
' ll
[ f-r.-:II
'I
i: [~----:~
[J!_ll
td!~
~~
11-=l
Kty
-'"'
"'""" "'
wool.
[Ctrl]L
[Ctrl)9
[ctrl)P
[Ctrl)B [CtrllP
MathCAD movcs the CUDO< IO lhe l1nt chlracltr In the cmrcnt
paragraph.
_ __
__
1
:.'
~;
---
- -----,..-
,. .
! ~l:
11-rul
1t::::. -~
11A1AHOSlf.
IS SECl10ll
~RK
..... ...i ..
Wltlrt
--IOI\
(ct.rl!J: "'
(l:oolrk (.J)
CUT
ICOPY
""-*1
~P"5T_E
llEllU
11.EYSTOl'fP!
['1'10]'1' 11
[ct.rl)frJl "'
(l:ool iaout (.JI
frlO] l X
(ct.rl)IJ'Z) Of
(~c) iaoopy {.J)
frlO) l C
___
..,, !>-..Ir
>Of\OllOICU.
:ooER
*""m1tDC*lW.
Jct.rllfl'4l "'
(l:oo) 1JopHt (.JI
{l:oo) - e r (.JJ
[.:.-~
IOClllOl'ropy.
Move the cW10I' ID tbo el\d ol the leJl you wanl ID delcic.
Utc any "'" ...000. commands you wllll. but k.ecp tbo
Cll110I' wilhiD tbo 11111 n:ioa or "'11 band.
;. 1L
[?'
.
..... --
:U
~ .. : UI
' :.
:.
-.
"'*
.... u ...1
,.,.,..,, _.
\AJ'-,....,...,.........
'
.. : 111
:U
.-..,_,.
.,.1. ""''""''
e,,..,..., "'>ol
u. ..........,...
id!~
r.-
...,.t..
r.-- u.'--\.._.
,.._
~u-1
1..-..--u-. -
,~
.r ........ :
u.,....._..."'"'~
.>t.Z-
. -..1-n11111n t..
lf JOU marl bo1it ends of piece laJ and llun decide no1 copy
or clll 11, you '"" wunarl i1 agaill. l'r<ss [Ctrl!X agabr or
lhOW 1he cursor 0111 o/ lhe 1a1regwnor1w baNl.
MaihCAD unmarts 1he marud 1w.
"'' -u'"
'9 ..u.. u.._.,... _._.
.,.... ; ~ Uw
:. u.
... =
: . ft
.. : UI
11
,.._ : .l - -
:.....
' ,. '
..
IE-~ .!a
1d!j]I
-_u
1 :a t.I
lo><l~on.
1ci!:ru .
\! ~
I[
"llc;:.a,U- h ....._
--.& .,.1.,)
..
..,
. :
.. : UI
,.t: . l -
n.1'9 ......,._
.. : . 11
_.:U
"'T~h
rlnt
Ji
FlQuro ~ : Whon yw -
;. 1L
__
i. W
.-t!o"
ta tM ~""''' ,.. .,., . ~fJjfl}H
~
onimmrvnmn3:.
'
..... .r__.......:
:.
,.._ .&--
[[-:-T
-rt Rlobul ..
l'.:li 13ii
: 1
ca : .SI
: LL
. 11
l![-Ti _:~
"' : 11
U.1 ta o/ ......,._.:
re!~
.l I
,"''
-. ..u .. t.
~~
lt::.D
no'l' e
IW .. o l - :
69
Tui
-:1
documenL Whai the cursoc is in the place you wanl the ten
to appcar, pre.u (Ctrl}{r4], the lulpute kcy. MathCAO
pastel the ICXl into tht. tell rcgion or texl balld and rcwrapa
i1 if ncccssary (Figuno 11). (Y ou musl pas!C tcxl into an
exisng lexl rcgioo or ICXl band; you cannOI pasio tex1 into
the cmpy spacc betwecn rcgions. You can crcate an cmpy
ICXl rcgion, if neassary. as place ID palle the ICXL)
~ llM U l'aui .. -"~
. . .t1 ..t.e ............. .
rint. movc thc cuncr IO thc bciwUn& oC thc 1a1 you wllll
!L
U you want IO pac thc W.l most r=ntly cu1 or copicd into
a new spot, movc the cursor to the new spot. Y ou can pas!C
ICXl into any cxisting ICXl rcgion or texl band in thc
['1'10) l
- - ~---
r.r-'-"9.,, ,.....,_:
n.1 .............
:. >ti -
......1-n- ...~
.... .....-11111.
Cenlerin:
=.
~=p:m
SlwrrcwL Actwally. you r1ud no1 mart bo1h cNb o{ 1111 ILII
IO copy or cut 11. lfyou ~1 a /t1lll'l aJ o~ cnd and lhen prus
(CtrlJ(r2J or (CtrlJlrJJ, MaJhCAD wil/ wyor '"'
,,
.,
---~ -
---- - -
--~-------
--- ~----
~1r
'
e.
~~-~3
1'
' ~~
~ -jl
:::i
~=-r~
bJ
i:--~
Chapter 4
c--.c.!!I
,.~~
~ ... --~
-~ Dl.:::.
I! ---'-~
. w;
~IU~~
:.r i
JJ ~
'.:;----~
.~~111
~ ..... M
-~
~ J:IE
---~
., Jll
1~-1-:a
11
IE -- :H
1
-.flt
I{ "'-
:_:
1d!!3
Jll.
!!
lt;---~
Document Formatting
and Printing
This chaptet des:ribes how to :rcJl8f'C yoor docurnent Cor
printing and how to print it, including commands Cor nwins
and Pft&C breab. This chaptet abo des:ribes MathCAD'a
support for plouen and printcr C3Capc 9C<lllCOCC3
Marrl111
Spocifyin1 a lel\ marg!n for printin
r.gabrulta
llow MalhCAD dcal1 whh pegc btt.aU; tcttlng lhc pegc
lcn&th; inl<rtin han! page brcab
l'lotlttl
Elaipe ltqlleDa!I
Bmbeddlna oecapa ~ and ASO! oodes for printcr
control
:d
4J.!(_
Chapa $
SELECTPRINlER
_,,.,...,~""
PRINT
,...
.....
...
t~
.......
lWla., .....,.....,.,
1r101 1
- = ....
:. u.
..... ..-..
IJ'10J 1 P '
lit
- - 1
cu11<>"'
-,~
.I
&
l..l ru .1
:.
' '
t..,, ..._.
hr...lwe
"
"
.r ,,....1..1
t le
lf~
,)U -
~IM.ll .
1~ 1 ~
l[
J - -11 ~
11 -
: _!!
I[
!f-t--iii
1-
:r:::
JI/# ,
Ea jj
I
'[;:111-=3
9=ui
1r
:os
-=!J
(E::.ir )j
~t:ij
rwll.
----=
- twt
.r
:. u.
DO
.,.. I U
.. :. '
..... :
E - .3
.
r -.! :!!
L.]
ntmz:r:xrtFXnmr:rwv;
IJJ!IJ!.1.'l l
t'""''
-1
11 -
r .. ,....-,. t. M.oro....., ..
llEHU
UYITOTYPI
TIQ llCTIOll
......................
I__.,
'11:
rr-n=!i
; e . 11 e
r---
.r
-~
u.~
,......1-: :.
! .
1 I
t .I
1.~
-ri..u ""-"'-- "- ,.,
"-le-'"-' c ..., 1..
>U -
ri.u ..
M.M~.
... - t-
n ..
lpCCfy
1Jy IO prinL
Specifyin: a printer
Bcforc you can print. you mUJI spocify a prin1e1 type. MaihC
llOCdJ IO know thc prinia lype ID formal outpul lor !he prin1t.1
... . .
~.-.
-.-,
-.- -
,-
----
--
------
__
or
~l"tM"fl
:a JL
Mili : .
l . ,.,..,,._ n,,1, w l
' Oli.Uta '7/?:J, M ,..1
1. c.1mt c~31s, llt oel
l. ru rs, col
'91 : l -
r,...
t . .., Plell.w
,,.u
f~)
r'
I
,11r~tt h t ....
U t..Uettlt ..
"9ehatC9" ,,..,.
"i:t.--t111. 1mt, ,..._ D l'.n. u-.. """"'<...; t o.
.. , .., a.,.t... ,_. rlrd. .,,.,. ... u .. te ltr. ..... , --
ltt . . 1
t.t..._u., -
.......... .t '""'-:
, ..
e :a
-w
,)U -
~:i3
ff! :::1
ill
-
rf~ _,..
UI
-ryi-meru
DocumentFonnattin&andPrintin&
~larglns. :1:r
COMMAHD tt
TllS SECTION
, .\ -
1$
. ,
KEn TO TYPE
llENU
~mN
Spod!ylol1mwvio
(rlO] W 11
1orim~-
flc:i:m
Settlngthetcnmargm
ffC~
The 1en margin is a convcnlcnce ror printing. Thc dcault ror !el\
margin is 1.cro: MachCAD leavcs no spece at lhc lcft cdge oflhc
:/1
'/ -I
e"" I
-t-;:,
:J.11
....:
.jD
rr ~ ... -
..Jll .
iJ E
::nJ
111
r~-~
.~ ,_
,jfll -11
:1~!~~
.J -
JI~
.g-~SJJ
~ .!J:!I
~!1:1
..~--~;ji
--:1~
_...
t:!--b
Pagebreaks
COMM1
T1tS SECTIOll
Soq-ioitng111(0<0
'
,, .
1: .'
KFts TO 1lJll
AAGa
E ~' ITJ
[~
(ha)
JMl9al
""""""'
iRW
!lhft-11onond
.,..,_
(Jt.al lt.-aki
papcr.
To chnngc thc len margin, iac thc marln command. Far
cumple. lo crcal.C a len margin 10 columns widc, type:
(ll:acl ""'"9111 10 (.J]
.....t..
1111...,'-lfrlcll~
. , .
.. .,., n.u
');.11)\ '; '
"' ....
1.;~ t ~ -f\'
~
..
: .ll ,.C
..,
.,. -
.:. n.u
{ .t_u,
...-1 ..
( % -
.._
L. .:...118
.d
:
. j
..\ ., .
':. m --
.. _,,.,.
flv.n'O 4: A-lna -
(pr-.
:1
............
.......
l..,.U
boundwy.
I~
----------------- - -- --
- -
. J
.f.~ :.~
76
You can also inscrt hard page brcW inio your document A
bard page break bchaves likt a rcgion or lnt band - it stays put
relativo to evcrylhin clsc and is sund u pan of thc document
To inscn a han1 page break, move the cunor IO thc line whcrc
you want IO brcak thc pagc and type:
lloootalri ..
( ;.
,
: ....
c.a.1.u ,,_t.:
bowldaty.
""""'"""''"'zu
I'
..
..;u""' sJ/l U
<-
-'r---:
brMk
a.m....
:">'1 : ...
, . ,... ,.,
..
..
E::::t
E=-=B
Ali thc suuemenu in this scction assume thal you have selecled a
plouer from the seltctprinltr menu.
e-~
.~
E:--::3
t.-::- =!
~~
c!_:a
1
E=...o.i
Agln 5: A hlltd -
... "'"
L :a JM
Tu breakpaa
.......
.........
E:"~
d:JI
g-~!~
1
E-.-_
1-
~-~
d=M
Plotter output
The plots tha1 MaLhCAD produces on 1 plouer, like lhc prinlOU&s
il creaics on 11 prinicr, are exact images of whal yoo scc on lhc
acreen. The plouet will dnaw iext, graphs, and equations in lhc
samc arrangement that lhcy appcu in thc MaiCAD docwncnL
1 Ma1hCAD lgl1();~~;;;g~b;~~:;he~plo~1Jn-----
On plotttrs, MathCAD shows differelll p/01 traces I
difltrtnl colors, u.ring up 10 four colors when IMJ are
availablt. 1/ difftrtnt color ~!U are MI availablt,
MathCAD wi/l send ali plolltr owpw In DM CD/or.
Whcn you use thc print command, you sce this dciaull priru
IOllle
11 the itwls you wanl IO plOI are big enough io fill a acrc:cn,
acroll the scrtcn that thcy fll it and mak.e swc lhcre are no
othes rcgions visible. T1lcn movc the cuz= IO thc uppcr lcfi
comer or the screcn and use lhc print command. 1l\C dcfault
print arca is thc arca visible on thc screcn; if you pre.ss {_J] IO
acccpt this print arca, MaLhCA O will Jrod an imae of thc
acsccn ID thc plouer.
'
lf lhe ilems you wanl ID print are smallcr LhAn 1 full scrocn,
acroll thc scrcen so lhat thc itcms you wanl IO prin1 are in thc
uppcr lefL Then movc lhc cursor lO lhc lowcr tigh1 of thc arca
you Wllll IO print and use thc prlnl tommand. The dcfaull print
'.
"
"/~~~~
&cape sequences. :-,, :1, ::' '" ~'-["-"'' .r:,,; ;.,1.;;, ~if1V", - .
11.
r :;~-t~
1;11
_
...... _._1j]
1:11 ~
lif ...... ,!]
1
Whcn you print thi\ text region, MalhCAD will lnterpret the
bockslash and numbcrs as an ASCII codc and scnd the
corrt'JMWHfh1K charocter to lhc prirncr. In 1hc cxnmple ahovc,
McuhCAI> wlll 1Jr~11l a fo111a ,,...,.,.110lhtl1111111,,1.
'
two bacl1fo.rhn: \ \.
)'.!!:tJ
.11~ lill.
:rr9~
n~~...:ta
E~ J!~::u
1~
J!!~=i
1~-:!!~;1
Jll
ilt:---~
llll
1~!!s.
Il~ -!!~::1
111~
- ....
111~ '
ji
l~!!:~
u~J:irijl
I~.. .,.:a
nen ~ 1"'
to ron(k;nM:d or
cx1)8.ndcd cluulteta:s.
--.. -- ..
k..- : ..
'.L ._L :'" r.~: ,1 .. :-... :._,.: ... .:'. ..... ;,,
' ..
- - - - - - - - - - - - - - C h - o x c d ~-- ~
i'i
E 3
E: 1
.. _~
:.y.~:~:--.:,~:::-:-:::-~~=::-::..~~
;-: , .
bfl#a4rfatY4eY,i~tetdWt aki'tt'e,..r
.-:
...
~~';,: . ;j~;',;':
.I
Configuration, DOS,
andMen1ory
1.
L-.r:!!S
r
E~
k=L~
L.
,J
DOS acctsa
Executing DOS commands rrom within MalhCAD
Monitorio~
available mtmory
1e mtmor7 command; how MathCAD uses memory
1.~
11
iii
1~-11
1J~
[db;
[
!IJiJ
l[.L.i
.L
le::-~~
I~
1
~
;.
~~:;rJJ~tj~J.~t~,,Mii.qti~:ti'.ti!i~;~!~i[(:1
~f3ist.tMe~'i.~Ti:t-:i'!'IS'M-1't~~~li.~fa~~~~2lii1h!fa~~:.:;;
.:
...1'
~ .~ ;.t~;:~ ,1.~<.,:z .: ;
"1><6
oCTlOll
lt.llt>CAO"
DS
IT llENU
1:a1311 1
.. :a lt I
r-~..111- or W-h
.. : . 11 1
rM.l..a
. ..
~ :a
[1'10) 1 D
...
im IW"
,... ...
ti CAD
os command intcrrupu a MllhCAD scssion
' :. 1 "
I
. ,.,
1.1-
I I
...
'
u.1- 1. rl\4 e
JOSH
tl..-i.,.., ,, C1\ICAI
111>
Ctlll
fCM
..,
11M.l
,.,..... tCI
w.6
KM
tcl
lll1
NOLIM l'CJ
u1r
lllnY
l'CI
UTY
--nw"
rrom
llf.
11! 1-:
11r
l~lb'l,i
._ 1111
-~
lc_.,11;~
biehnU
l~~!~:a
~ ~ ~-111! ::51
ZSI,
%11,
11'"'
Utl,.
llISe
UlS.
11 U
rrus:r
JIH
ll,_..., U14h
"LAI
liUC*
tcl
l'CI
4M
DSt
ll5'-CJ 11-4\a
ll,._.f 11'"9
sr.11
..:v
i..sr
1-1Hr Uffl
t1s-n Ult.
Tll...OU !'CD
ll4l
l IS-11 U&
HU
l<I
IS4
l"'l\-11 UU
C"ICUll PCI
1'1'1
l-1~11 llIT
~
Dl
l1l1l"t >-r-.-1 ........
" FllaCI 1..,_ ~t.. lrw
,,..... ... ~ w, ,....,. ,. "9\JriCAtl
IIa (.JI
11[
MUTTMN lt'.:D
nz
.... :tJ
11:.;J
..
'''"
l-lt--91
J-1....-r
....,....,
ll$-C7
l"'ls-t'f
. .... ~
l .. lHJ
I~
[~:i:g
"'"""
j\ :
l.ttlal Miele -
...... tt lt.nal:
~
u.... u.:
41..::.
~kli.eor-c:.
'
rrl11\I llOl{rlot.t
1 : -1 (55 .._.,
J:__:it~
!ri:f;~
Sacw.;s
INOlf
lit l '
t.
'[C
1
11-=1L~
r' ..
'.l l lJ
Jl!!9
ll~~:a
11~=-~.:Ji
11~
11~- ; --~
. ... .....
U.ni
,._,...._.
C~Ur
toS
um. .
l"
C1VCAD1ol'
, , ,~---~
,.,._... o
ruuo.r<D
ltNt.tCD
oruv.rc.1
n'1'\ICCll.,l'O
#IHA.ICD
.:e~ 1';
.Lk ,:;i_
IP
lll'? [.J]
Warnlnf. You caNWI .xecUle 1erm:lllJU-andslayrtsidenl" programJ wi1h the dos convrtlllld.
Tenrunato-<1nd-s1ay-re.siden1 programJ lnclude pop-up
accessories and som DOS commandJ including PRINT and
MODIJ. Using such progrQMJ with the dos convnand CM
cause memory-rr.aMgtmnl confllcu. 1/you w<llll W '""
such a progrQ/11. use lt befort you sUUI Ma1hCAD.
u~!!~.
JI~
ll~ m1.:ii.
' :11
'
[&ac] do [.J]
[.J]
111.Cal -.1M
, ., . . \ICIM
["ICM
[sac] do [.J]
(.J]
Ty~
\M:AD [.J)
TM DOS command EXlT
re1urns you ro MaihCAD.
lll'? (.J]
"''*
L.----~.; : e,'<~
rl':;'w:~::[\'..:~~~~J:~::~
/:it:::i
Chpttt 6
84
fU!CTl)H
lllEHU
KEY111l llAllE
MEMORY
Sl'ow_,,..,,,_
[Eao) - r y [.J]
[J'lO)
f>1><::
[&ac)_,,,.,ry (.J]
11 : CJllt
.. ..'
: ltl
,..,u .. .1..._1
........ o( 41.ca
"
_,,_
: ltl ..,.
......... f..-ce
rrlotl DM(fl.t.t
- " e .....,,
1.tu.1 -"' -
,_
l\..w.. ll!
JI
f.f
..
-- -
n Al
..
""-'-"
11ils Is wl1111l.-y
~t:
U1e following:
tend< MEMORY.
J 1 .. ca
C-..t _.,.
,.. 1 . . . . . . .
or
-=a
e:~
E ~
E~;~
:E:.-2!
!El~
:E-= 1!
r;-... -::r3
IL_J :!'!
I:-111 -!1)
f'_:
lll~HK 1rc
1~~
11-::i
id.~
11[
~!
~I
!J
11[; '" !]
kd~
[~
rn, ~
.', .
. :
.1
A~
lf you have two windows open and you want to save the file
in the oppositc winclow, press [r 8] to switch windows and
(r 6) to save.
I! you try to rcload a file that you savcd while out of memory,
MathCAD will once again run out of mernory. To avoid this,
load !he file in manual modc by typing this 11 the DOS prompc:
>CAD /M fllename
Cnce yoo have loaded the me. rcmove cquatlons lhat use upa
loe or mcmory or try to split lho
up into two or more subftlt1.
To avo id running out of mcmory whilc maklng thcJc ehangcs,
stay In manual calculatlon modc and do not try to recaleulale !he
documenL
me
Expanded memory
MathCAD supporu !he Lotus/!nreVMicro90fi Expandcd
Memory Speciication. lf you have 1 mernory board or Olhcniemory cxpnnion rupporting this specificatlon, MathCAD cm
MuthCAUcun"l~andfiles
COMMOOSll
lllS SEC'TlOH
--..
ITltEPli
CONFIGSAVE
[J'lOJ
( b o l - f!lnme [.J]
[J'lOJ 1 E
EXECUTE
Commandmes
A MathCAD command me 11 a io.t me ;:ontainini a RqUCnCe
of Ma1hCAD commands, one pu line. You can run lhe9c
commands from wthin MathCAD wtll thc ntc11lt eommand.
When you swt MathCAD Crom 00~. lt &U10m8ti.:ally runs the
command file callee! MCAD.MCC (lhc co;.,1-~11c11 JI~.)
'WIU"lllf. CommandjlluanASCIT tutfllu. Toa-.n
crtott tlimt /JI a tat editor or i ,,,_ otllolr way tlial
ieuratu a plallt tatflle. Toa Ctlllltf crtaJt them o.1
MathCAD doc-1111.
manual
load an.al:rt
t"Ocese
oto 100
'""et,
,..~ lude 1~
wJw,/t
rm.ot
rd""1
Co1111111111d to
11
Set~
coni;uration filt
CAD' configumlion file MCAO.MCC b 1 command file.
CAD autumatically Cllt>Ctltes this command file at slarlup.
irnlng. M01hCAD ""'""' e.uc111t rht con[lgwroti.onftlt lf
Mnotfind thtfilt. Set tAt: stctio11on "Whtrt MathCAD
fJ/or sysrtmfilts." at rltt tnd oftliis chapttr,/or
tructiol\S on how to lef 11p MathCAD to find tltt
nflgwration filt and Ollttr systtmfilts.
,,rj~J ~.~
1
'J<'
'"'\" f..',r~ ....
r~1\A1
' :.0~"
JJT'. :, ... .~,":
cr\ 1
.:~ 0}.\,
i'.:': r~"-',,,
...'!,~ ''<'1l
' f:i;:..~~
_11... '"""ll;'t:
1.
~1<V' >~ .'' :'j :.:i .~~ .' ' _t~;,:.!;,,7~:;.,_ ~., ~~-~2:t~-~ :~~~: );.~1
.....~IF-
1~ikm
rormal Jptclftcatlo
Set default global formal.
eE_
~--1
-!.12
_0]4il
g7
plotformat sptcl{icoti.on
Set defeull plot formal
" '.D'.
.[
dlmtnslons sptclflcar>n
Set dimension names.
pagtltngtb nn
Set default page length.
~
~--il
..
~ - ..... ~-j
,.;-" DJ-~
~ .J~ii
IC.. J - -llCI
~1re
E-.:Ja
~J!~
II~~
E!~
~!:il
~!~
JI.
t.~~
o:ecule fl/tnome
Chain to anothcr command file. When you use an o:ecute
command. it must be the 1ast command in lhe command file.
lf not, MathCAD chains to t.he new me, but oevcr rcturns 10
the curren! file. Any commands after the n:ecute command
In the cum:nt me are lgnorcd.
IC you have a han! cfult. malee sure you have copied ali the files
from thc MalhCAD di.O to thc MCAD dimc1ory on your han!
dWt. as dcocribed ln Chap4a O, -seulng up MathCAO for Your
Systcm." Then, if you always swt MathCAD from the han1
cllilt, you will be swe 10 have acccss to these mes.
IC you have floppy disb or yoo wsnt IO run MalhCAD rrom
othcr dirociory, you should be awarc of whcrc MalhCAO
loou for rymms files. MalhCAD always loob:
IOllle
00~ Mivln~1mm1
v1rlOle
Alttmatlve configuratlons
MalhCAD crdinarily mumes that lhc systcm mes are ln lhc
current disk and dinx:iory or in thc MCAD dircctory on lhc
cum:nt disk. lf you want to place !he systcm files '"'""'hcre
-.lsc on yoursymm. utelhe OOS SBTcommand to !Cl lhc DOS ,
mvironmcnt variable MCAOC.iR to that disk and cllitttory, .a
MathCAD knows whcrc to lool:: for lhc systcm files. To use lhc
SBT command. type a command lilte llili at the OOS prompt
IJC~ IC:AODIR.-d.i~~:d~ctory
- - - - - - - - - - - - - - - - - - - - - - - - - - - -t:'
------ ------ -- - - -.---- ------
----- -
--- ---
----
-- -------~~ - - -- ---- - -
---
----- ---
- ------ - -
~
j
Clap< 6
l&f
~:
'
i,.
Computational Features
t=~
JI' ex.amplc:
llC'l' NCADl>X-: \
; !, ,
~-
E=! 3
M:Alll>~Jl>oC:\BDI\
l.~:
3.
~-l.!
i~
l:= ~
~J .:~
r;-
r( .
rr~:" .:.:
..
1 :: H ,.9'J
HEllO( '!)
::
'..
,..
U : = HEOD( fZl
!.
!~~~:;'. ,
;,.:. ~~
vdrCxl
19~i
: 21111.G&l
= o:i:JZ5
r :: corr(x.u>
C... - 1-~
l:Jll
71, Z1
sl1l1:vC:1> : J:J. 1IG
var<u> = 1096.67?
MC.111( ~) :
tt : = slop11Cx .:1>
h :: l11tcn:c>lC.,ul
! ~
~: 1
~~
~
., .,
' '
t
/
'1
ir11
''
(,:
- --- - -----
' 1" 1 .. 1
-.
. ..
[,
r : H. '.Jlll'JifJ
" ; 9. HJ:J.'I'/
b : 23.HIUH
.~J!fir?
. '
M 1 -rtl
. ;({11'
i!i
0
0
1000
[: !J;J
~J-l
~~
~~
2:
+ V
'.:.:.,
"'
;;J7Ct}2:~:.:;TI;r~v:n~~4 7:1:.,
a&
- ---
~r~-=r~
:~:!:!
.t~
...
J_
~
Equations and
Computation
ll C: Jll -'
ll - .
f.pll" B
,
~ri 3
r:~ i. ~
l~~>i
l~T- tm
Tll
~-.,... - illl
!FJ!!~ll
I~~~
I~ !!:!!
I~ !~ :8
10:
1~~-;i!_
lt!:!!!::a
IQ
. Y'
.j,1.,,
Fundlolll
Built-in func;tions; defmin& 'fOOI: own functionl
ProceSSln& equatloM la automatlc modt
How MathCAD evalUllCI equatlons In aotoinallc
calculatlon modo
ltn'Oft
How MathCAD dca1I willl erren; how to ful erron
l
1
1
,\
r
\
.. 1
'2
~ff 3
Chap<er 7
Calculation equatons
Calculatioo equatioos compuic rcsults. To crcaic a cal<:ulatioo
equation, typc;
>efinitions
1cfinitiona ICt variable Yaiue&. To ddine a variable, you musi
rpe:
n C01C1.a '"
Cl:IC 9111
...
.
.,. .
l : lLI
: ...
\ : U.I
H ' .. 1 .
. =
t
. -
: . 11
. -
, . 11
"'
. , Ul.'31
:.
- "1.m
FunctionNaaie(&rgl,u:g2, .. )
2.!J
,rI!--1 .~
.!!I
JJ .
~::y
~;1~iilme\1~.~'Jolfot~(,;ltJ:~;n;: l~~;;u
'. 1
:iJ
JI
~,--
d.:
~~:~-JJs~r~.: ~ .~~-:. j~~~~?{:~:.;: . :_~ ~~ ..~::2'. ~.:~ ..
......
: 1
In lhis cxrcssion:
FunctionName rcprescnts !he name of lhe fwiction.
1
MalhCAD function narncs are case-scnsitivc; you mUJl u.sc
upper Oll lowaca..e loucrs as appropriarc. (Scc lhe l.iSI ol
built-in functiom in Chaxcr 13.)
- :
11
1 ' .~:::i
"1.111
~~-~t~~~~i1
11
lJS(
Built-in functions
!...-.:.;
-
F=;' 1 !!).
1
w~lc
Cunctions.
J!_g
I~
- '1
MJllhCAD hJu a
1[
:.
,.... 1: Oelnio<w
=
!... -u
'-' - ~
[_~~
.:.
f -...1
ICll
~-.!!
"""''
Types or equalions
'.f!'.L;!Li::;:.:/. ~:::/'.~.
Equotion1 and Compuwioo
..
9~
--------
1tcr 7
llUlll '------
a : S.ICZ
= z
..Clt) ....
equation.
n..-<aJ I
-"al
--
r.;.-r. tiMW-Ol'iiil@tfffliM,\\1\.i -
; -r==.
l l'!... ..--r-
!~~~~
17
l e:'
~-' ...
t . ta
! hhJ
I
..,.<1>
t.m
1
: 1
U"h ) a,C911'(-.),,..,.,;.,)
rt> :
~l
....... _ ,
lla_,,....... . .
t : ""1
:. 1
1.
t<r>
fCU t
.. .) :
,,...: ~- _"U]
eJCprtt ,13100
th ls derinithm:
1r
. i;1
JI - ';-tt
1e
Le
Malrlces."
'
:.
function lhe point in lhc documcn1 whm it
>pean. Once you have defrncd a funct.ion, you can use it
. r' :
Lt.1
11 -
~ _.-1c -IOll
c.cr1o1..te .. ro11-:
e-ta--'"'
~:- Lz
t.. IV:J1
..,
:.
""* ...
_l......
l
d. 1 1
ad
,.d 1
t?1~Ew'~
. . ,. ~-i:.=
: t
1.9 ...
l
. . . . . , .Jlt
L
e..... __.J
lo<..,.,...
and_..,.,..- - 1/-,0" "'"' ' forct an 1qllalloft "' rtcolculait, pul 1h<
cur.wr lA th< tq..atlblt ONlprtU trtl. th< cale ley.
lhC fttlltW\Utt:
41
f(Z)
calcula!~"' <><iuatlon.
((J) '
,[f.]
f<U 1A
....., _. - ,... -el ..
ur f11ndlo11:.
Y'"' """
~-
rtn
IOUJTIOll 11
ll
:ti
- ":!;
1
1 '-
:L~-=a
a~!!
11~~
Jnterrupting calc11latlona
Thc
In~
~u
To'"' doWfl
- 1
Ol>><a7
p-to-bottom computin
lhCAD caJ<..,:: "'Jll&Olll llid eflllCI variablca from IOp ID
IMl&
docwllcDL
l lllCllllS
............. ,.....
MOi.e
u.~
~-
l . 11
:.
.._U..,,., l.tl
.......
,............ .. .....
11.w....,..
u. nnt ......... "
I U
... -
i ...
1 4. IK ll
~
1
1 4.19' 11
~-
............
:.u
You can define a variAble IWico In thc: samc documcnt. Thc first
definition applics rrom thc: poinl in thc: docwncnl whern it
llPPW'S down IO lbe secood dcfution. Thc sccond defanition
IP!Jlics below lll8l. Fgw-e 7 illustnllea 1 documcnt in which
IOl1lC variAblel are dcfined twicc.
E- '3
lt.Arl
E 13
c-1ar ...
L;:lil
E--Ji
~!~
(;:!::.
r;a
!-.ta
f::
-.ol:I
!;:. :.
~!~.
:'.. J ~"'t1i-'3.;_..,..
......~~ ., ~~ Jt~.:...t!. Ji
,t.(,J\?]~~t:;"'~ _
-1....~! ~'hr.l<.:~:.~ ~--'..J.--~
. . 1.1
...
1 , .- . z
:. J
1 :.
...
''-- -
",,__
.1
t:_: .!j
r
, :-
E:--:!1
L=-::a
" : . -
1
~ : _s
'-
91
1.usr11 !
1 ......
L UCM
l y.
plM
u.
E::i-:i
l . I -.t W I Mrlai.IN
OOl .. 1
r:.:. ::...:,;
r im
u . . - ...
IKJV. W IJOll
Stvt
r 1.m
...,
' :-
...
' l11
r 1.m
.....,
Global defnitions
":
f I lD
:. - -
"'
11-. 1
la
":.a- :.
"""t....
r. 1.m
"
ta W I _.
Q..lM..U,
U.,_....., ..... OI
""
.. .. , .. , .
t t. W I Mi t l ..,.ti ..........
....
U. W t..ttl ...
1 . 112ll5U
lile variable: mUSI be deJincd abov.: lile place wbcrc you ""'
llyin 10 use iL
~~
..
...
'
..
..... _,
_J
,.
' ""
..-.
~ .'~ ,." .(,. . e
1 . .1 1., 'l.
. '
?, :,
"
....
.;,~ ~ \ .,
,,. .. , . ';J~
'I1'?::\'.''\'?.!.t
I~ :.~
t:-1- -'C:!'
~
.!;JI
O/Id""
: J
thl :.
n. NI t ..,_., ................. .
,[;]
...... .t -
tt-... h
:1cnn11iun
.r r.
''"'
.,.. r 1
..t ..,.._.t
.. u .,.,. et
_ 1
6.
lf:t-~
li
~
ur:~---~
NZ> fi
rtt> fi
tU> fi
ttu 1'
u. .... "
: 2
S
l~:'.!I
.t :. -t
Nt> 4
t<J> '
mh~lirutes
ll
,JE - ~-:e
i:I
J[ 11--:!)
ne
.r
t'9 ...
t ~
11 KrlG.
11[
tnMJI
cfiuilion.
TilC cxtuultm ytm proc~:t1Ctl mny 1tffa1 other r.cuntlcttu1 thnt an:i
not currcntly visible. MarhCAD W.cs no: or Uicsc "pending
"
.;
....
", r,~\~X'\'t
'" ' I~Nf'!t'.''Pl'\o1'N.'t
. '
. "
., , "
. , .,
'i;._),
i,
i!~:a
11 ~
X[Ji~
[E:.::- 1ii
--11 .
1~-~
,~-J!:11
lll
I[ r--:it
J[-! :il
1d!~
t~-1!6
llJ
f]
'"1
9'I
Ch1pter7
, . ., ,. 'r'
i!
ClbMtolromt>pol
MANUAi..
Enw--
IC!YITOTTPI
-and
__ ,_itllo..,
-~
(1'1)
!l
KlJ
CALCULATE
IJ(
(1'101
ee
rr101
---1>1'
[Xao]
..,..,.. [.J)
~ r.
picit-mond
lrif.
_,_....,
AlJTOMATIC
Enw"'10rnllo
--_
..
--"""
11
1
. f
[Xao] rrato.atio (.J)
:t'
:~
poooulnd
f9C9hJf .'. ..,.
PROCESS
fbo)
pro<MU
f.J.
[!
""--"
;t
Manualmode
,
.1
- - - - - - - - - - - -!J
. - [
_____
_.....,,.
..i~:t1.::: \;
100
<..11aptCf 7
----~-----,..-.---
- - --
-r ,;;~~: : :: :1/.
.,.' : :. ."1
.'
...,
IFlriJm..11&
-.&llMCDUM._IC __ _
c..r,..,......._:
c....w ....:
d !
.... ~.-r-...
:.
,..,
d I
. ....
... , .............
1
)IOU prin/,
rype:
MCAD /W
.._.... '
.......
1
. . ...
"'Cl.ol .......... . . .
.. . ,r-.
.._...
.,..
w_mnmm
''
1
1
i
1
1
... _l\alcompu11....
funhclchanp.
.,..u...
4l~I ...
1
;.
tV lt
..-u- h
l ..ICAlM "9
IM
. . . . . . . . . ,. "9llrrLM
f V 1t
t?-...J
i,
.!_: ;~;:~~~~:~1m~!f~'3.I~i'.!IS~::r.:::i~~::~:~\~rt:r~~-::.:~~:~~~~~~11xt1:;
q~ l:_,,~
~~~-:'----------=======
1
J ;~
Chopt<r 7
------------------------------:__
l'!J. J ' "'~*
....
''.
i. ' ' ,
,,
'
- -.......
lllCR n - . - I C - Cloon'lol- -
hll_,.
[~ J[.1 -.J]
le~--'---
.~Clol
~
111!
s...
rz-,
-~--
l o
1
d 1
ad
11
'....... 1.!w... 1
..-
111 .
Dc1em1inc
lhO.d~notcomputcanequationinerror. Ifthcequation
rs;-i -1!1
1
'~~
1ira;
!'M
"''
11L4
Iii..i.=i
(Ir; 1
e:
-~
(I~~
~
11'
U~-""- ~
~ D4
~~
~~
-,-
..ll
1~ 111 l::;:9
]11L
..
[~-11- 1~
11;:;;a
JI L__
~
- .
~-
{Figurel3).
lt!~~
,.~
__ _(_....:.
d l
llJ
:c 1
f(d
:a -
i"".
............
l
d. d
..... ,.....
l
~-1~/JJ:.Ll --il
...
I~.
Once you have delamined wlrich equation cau9Cd 1hc error, cdit
lhat equation IO ftx 1hc error. Whcn you move the cunar inlO thc
equation and bcgin cditing, MalhCAD rcmoves 1hc error
messagc. Whcn you move thc cunar out again (or, in manual
calculation modc, whcn you press (r91), Ma1hCAD rccalculaa:a
thc equation ami, if you havc fotcd thc error, rtcalculatcs lhc
O!hct equalions affcctcd by thc equation you changcd.
11
.-......
..
,.
c-tn~-- - ~t-:-- :
1~ ~
......
( ~W j!
'
_,,,~manyoflhcothccerrors.
,.,...--
Olhcc equations.
..
----
.-
.~llOllO--ICQll(ICll
----1~1-~
19 1 ~ Documentwlll,.mn
____________
:et
...
c..ato-
d
.=.
---
~:
11! ~-1-ITj
F'axing errors
~-!11
--:-..!J
JI
"'1ht
""'*"'-
Common errors
Whcn you define )'Qlf O'f'.. functioas. MubCAD does oot trf 10
evaluaa: thcm ontil )'QQ """them bJer C4 in the clocament. If
lhere is an error. the ose ol die fuDaioc is rrwt:td in error, e-=
lhough the real problcm
be in the ddinitioa ol. thc nCliOOFigure 14 sho"'1 an ~o( r.hi:s..
mrr
dolllais error
You tricd IO evaluate a built-in functioo af an illepl
.-umcnt valuc. Check the entry Of tbe functioo in '
n. suilt-in Functioos.
!lll operand
Y ou forol IO lill in a placeholdcr. Entera va1id ~
for lhc placeholdcr.
ltOC coaerlnc
t~~
...
mi~ "~'
''
0i.p<c:r7
llllkrlDcd
Y Oll meda Vlriable or !unctioo wilbout dcfn iL Makc
IUIC :rou 1pellcchbc lllmOc:omclly, iDcludin capital and
lowercase lella'I, Allo ~ lhal MalbCAD reads
defmitions 6om lop ID bOClom. You must dcr111C a vlriable
or funclOD llbolle lbc placo :rou inrcod ro use it. In a loba!
defmitioa, :roca musi def111C lhc wriable or Cunclioa lobally
above die pllcc :rou illlald IO use it.
LI;;
T
E_-3
~
1cJ~
1
dl.
lt..:~:'
:;J
I~
f[~p~
L~
.
L~
1~- 1
-' ...,...-"'::r
;
L--:::.4t
1
I~
;r
f.
'
1bil cbapier dcscribcs valid MalhCAD variable and filnaioa '. .. , .
IWllC& and Yalid MalhCAD numbers. This cbaplCr abo lisis
[:
MalhCAD'I pedefiocd variables lik.c K lllld discusscs llUlllai . ,
formalS far displayed rcsults.
.
r:
Names
; 11
V alid variable and fuoctioo names; bow ID lypC G=t ':'_ r
Preddlned nriables
\ ': '
4' ol vari&blc.s !hit have va.lues wbc4 )'Oll awt MalbCA
Namben
- ~ f1
C' !1
1 1 1,
t t.
ti
i,
'.[
----l
..
rime symbols (' ). Ute the backQUOIC l:tj (thc qUOIC on the
i/l1C kcy with lhc symbol) lO type a prime symbol.
ILtt tht ordinary apostropM to IJ~ a~ In a
ablt - ; MarhCAD lnterprtU tite apostrop!te as 1111
"UClion 10 put the CllTrtAI txprcsson In partn/Mscs.
CCJ/l/IOl
K700
l_B2_C3_DUU
l'
'.lj
....
~-=:~
~- ::fi
IJl'_,RI.
.r:r .
11r1r.t, :'"l
.u.;jj
oc=111 .
'~ 1.1-J~J!I
,p_
o.
(Alt)A
(llt]B
'
IAJ.tJD
t.RJ~.
fill
I~~~
nrJ,! ~
J!lj
ll[.:.w- <.8
11[~!~~
uJ~
m;:
111tt-!:J
3~
J!!!J=i
u~
nJ!!!l:.
nd!!6
ll~~!!~
,,--.
.r
4'
Wholtotnio
(lltjZ
[lltjJ'
.......... , ....u.:
_ . .. -
:; . . .-.'
[Alt]Q
(lltJR
(llt(I
~
W
...... .. . 1. ~ ~
-t!
- "'
r.uo
latt
'1
[Alt]ll
(l
{lltJO
"
[Alt]l>
(lltJQ
(Altjll
(J
[AltJS
(AJ.t]r
~' .'
(AltjtJ
"'
(llt)W
,, . ,. . . .
.... ; 1
,.
: ..
[llt]L
~ 1: -
... :""
:~ :
~
..
-:...: . ,.,
-'<:
MaflCAO chplm)'9. -
:~
'~:.:-, : . :.
.... 1 ...
IOboaipt
anays.
T'Mu (Al.ti ley comblnotlons crtott Grttkltllers In tut
as wtll os In equotlons.
Llleral subscrlpts
IC you lncludc a pcrlod In a variable namo, MathCAD dlsplayt
thc pan or thc variable namo .na tho period IS asubscripl. Thb
~i.J,r.,~~W&i.,!i~;~1i~d:~'~;:~:~.
,W'~~~;a:i:~-M.~...u ~-- .61~
---------- ,
- - - - - - -- --------
---- "----- - - -
PttdeRged yarlahlei.
'
---
S.1415' ...
1ro1
Lm
""""*
"ll.01
!L 1
IL_7~iii
oparllian il quMlbl.
CllIGllht
~lO?
-l&CllIC.4
.....
'
~WidlllldliWi!iliiiiMwilll WRITEl/llr
t.lkln.
lt.ailbwOl~p...-.iWIWiiiorilnglilOI
111111 IWrTEP#Wblcllon.
.11
T-
.,n., . . . . .
ICLalO;
~J ~
cl=3
1
E-:: ~3
[:=:! ~
12 - ~
2.fiizi..
~:!!
lheir IW1lll y~
irnM"' ~:.~.._=
.-1 -
- -------.IJ- -<.i>'!"I
_N11_n_a.N_um_ber_1,__lcllm_11_in_vi_11_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __
[>~~
C>~
'
"
'
"
..,
.... '
Types or numbers
MalhCAD USC1 lhe followin typea or numbcn:
Floallo-polnl oumbera
Foreumplc, 6 orl .1'159.
Imaeioary ou111btr1
To cnier an imainary numbet, foUow il wilh 1 or j, Cor
cumple, 11 or 2. Sj.
Wrnlnt. lfyou
~gins wlth a l<t~r.
Exponenllal notation
To cnier ver lllrgc OI' vcry small numbcrs in Cllponcntial
llOOIon,just multiply a numbcr by a powcr o 10. For Cllamp
ID rcprcsc111 lhe numba 3 I 0 1, rype:
llOAI
MalhCAD will display lhc result as it would any othu
multiplicalion and cxponcnaon.
1
------- - ----~
!J:l'j!lWJ;p
~I_. ..-1~1
-. : 1
n .. t1 ..
: lz:H541T.JIU:H
&...r,.
1 I I Tt
c-.1 .........
:a
pi
a J.HZ
,.._. ...._.
1. tlt ll
HD\
...........
. ..
..... -...
......,...,..,_
t.,,.,,.
t :. a.a
..
t &e
l. IU
1 Llrl LI
l.MI 11 1
. ...... "
LllB ll
t . 1'5 ll
r J.S
- .
r 1.u -11'l.,..U
1-.t.i.
ormatllngdlsplayedresutts ,: . " .
-:
MMA/IOIH
S SECTIOH
KEYSTOrtl'l
RMAT
g<oOlf hlnnl b-
llEllU
Me111ing
(no] e r
1'Ultdi"Mu111.
Ci
fl
1
! l.Ulftrll ll
l. ltl
11
pr
lnti
Iero lo'-t"lllCe: an
lMtwe*'1O1nd JOO.
Nunbofs loss lhM to .,. shown as Ztn:I. Dolaul
la 15; numbefs of ma<niludl foss thM toIS 'W9lf
tero.
1'1odS100: 11111110!)0!
~- '/! ~!~
ll~IF~
~~~
nE-~~~
,1u
n~lllP.!:R
- ~1rn
~-=:il
Jm
~~ .:.aa::::: ::iil
JI[~
;n~:a
:1[~--;:g
]llA
- ~~~w--
l(:'O!lm.:--a
,~~ -;a
l ~~:a
,,..
:111 ..;~
'ac: "'l--.:!19
;~r~
td.l!J:;m
~!!~
1ll--
'
1
: J.141MIKl-ll
w1.cu ..
CJ>lculatcd rc.~ult.
Whm you local/y formiJJ a rrsu/1, Ma1hCAf) p141l a .rmall
do1 afltr 1he tqun/1 ngn. ThJ.r IJ jwn 10 rtnnd JOM tltat IM
numbtr IJ formo.rttd local/y. The dol <loes MI oppear 01t
pri11tnu1.r.
To delete thc local formal and allow thc global format IO once
agnin cmtml a rcult, movo !he cunor lo 1he rc.ul1 and presa d
(Cor dcfaulr)
Flgure 4 shows tho samo numhcr formancd oe-cral dl/TCH1nt
ways.
F9-wo :
1
S.14111
Wllt~t
214Ult. 2SI
r.,..t wln
W!n
U4517a
,.,..., .cu.,....
r-t ..........
1.l -11
l.ltlftl ll
........
ebll
1 .
...... _
"'"""'"'
lls ftOJurr:.
Oiap1a8
c:hapccr.
WarnU.1. W"" 1.urin1 complu IWmbers, yow cannot ..u
1 or j a/nu kl fqH'tUlll w llnattary Wllil. You mus/
alwuy1 l)'fH 110' l j . WA.11 you move IN'"' sor"' o{""
tqlltllw11tMI1loow1 l1 or lj, lilatCAD ldu IN
superjluoiu 1.
You can apply die SQWllC roo! opcrutor and ali lhc standard
trigonomcuic, h)l>Crholic, and invuse trigou"ml(:Uic ami
hypctbolic functions lO complex argumcnu. Whcro a fwiction la
mulvalucd, MalhCAD UICI die rincipal valuo.
In Ma1hCAO.
iauc
(jllf'UlC
UMIMUS d "
,. -
r I 1
t
d 1,.
d l. Ut l .UI
- - - --
.z
l1h:t> ..l.tH
IJi(.zl l . Ut
ai.Ca.J) L11Z l . Ml
..
- l . tH l.tHl
hhl> l.H:J l,:.14i
- - aZ ...., .. '""''
ldl 1
liQifY pal! ol -
g(ZJ
111
z.
'
To-h=jugoleojz,
[
(
E= ?!il
~
"B
i;:_r
e_:~
~r:8
E..:..~
l. tH L tHI
!:=t~
::~-~:z
Wf(IZ> l.11 -1
L-~
calculations.
This chaptc:r describes l>ow lO use uniu and dimcruio!U in
MathCAD, inc\uding unil conversions, dimensional checkin
and changing dimcnsions namcs.
~J=
'
D<finin& uniu
How lO defino basic uniu in a MalllCAD documcnt
E:r:!i
[
g:.::-g
1
E ::9
-r
~-r=I
d~
,1 .
-. ... --....x.m_,._
,,,,,.",,.;tt:,t/ "'"'.: ~. ,. 1
". . . .. ,
.-
-- -----------
,':tTY'.-pFJ\~I.t:?~~r::';_;~- ~~;r~,:~\:::~;f::~r~'it~,,
. ... .
Ch'l'tct9
Fim define sorne base aniLS, for cumple, cm, 1. ne, and
coulomb, in terms of thc dimcllional valucs L (for lcnglh),
M (for mass), T (for lime), and Q (or chatgc). Define uniLS
only for the dimcMions 7'lU nccd - omit lhc uniLS o(
1.1nn:
q- 1>I
aec- lT
..."'
u.
tc.
.....-
Nl .. -
'
'
....... _...
IOlti.1 -
.... 100
ltq- 10009
N ltqm/aecA2
J- N*a
-1
'
1
f
J. l ll .... .....u . .u ..
111
l
-o
... 1111 - ...u .u..
-t
..... ---.ttt
kll- lOOOJ/a
dyn- qcm/aec2
lle
=:i
yo,,,.""'"
u.s.
Once you have set upa system of unlu and convenlons. you can
"'"' the units in any eqW1tion. Jwt multiply the unil by the
quantity IO which it applics.
IC:~
...
.,..,,._
.
l
_.,
..................................
...._ ..... _. .. ..,,......,
-1
.....
t --;~ tl
1~ l! 18
MIC.J
t-
-- :.,....
-::a---(,-
""
4
-1
. . l tl ......... . tt ..
,,
Wt .....,
Me=
.:o;;13
mt;llll.il'
-- ,......
l~::iri
IJ
...................................
[~_:a
computed rcsulb.
r: aaea(aca + acc_q)
:1
L!~
l~~jA
mau,: 751t9
acc: 100*1n/aecA2
aca_q: 9.8*m/eec2
_J,
1!I! . ii
Dimensional consistency
Using units In ~quntlons
liE;_J,- -~
l~lj ,;
~!!-~
1 defines
:e you have dclined bue ani13, you can define othcr uniu in
is of 1hcm. You can multiply Md divide lhcse unill as you
::::.
111
l~-.-~.!!I
"
'
.. l lt .. . .
re-..!
lll l...,U.
. . . 1911
.1
ll
E__,..:!i
l lf
IOlllD 111111:
Define olher uniLS in trons of lhe twc units you tet up.
:e unit never change, they are lL<ually dcfinod wlth global
nitions..
ca
C-- im
IF._,, .
IAa
~,~~
IOC..J :a t.l-
... .
- . ,. ~ ~.
M'IO.J
:~
1-.UU
-..1>
1.._.uwo ... to l
:at.l-
, 1--h .......,
---
-~ ~ ------
..
'
' .
, ' , ~,~~-~"I~~z~;r;0;:;0i:~~~~~~;:::,,:~~~j~r-~- 1
... ,m.....
ea
116
Un~
O.ap<cr9
..........-.........................
.. ,....._.
i.,r.u_.
ul .. U Wh.. .._.:
_.,.,,.,,,.,i-1.
...................................
_,_ ........'"""'_. ......,
....-.
f 1---hm 1m..1>
J
' . l.?Jlll ...
- - :.71 ...
_,
FlQure 5: U.lhCAO -
.... :.1.1-1
':
...,
'
r . Ll:llll --1-....u.
.........
M:C..J :. ' -
f : ..... -(MIO
L.r
..... = -1
E";~
c. w
1
e:~
Ee
~!e
~
.
.d
~ -~-.....---....---!'
! 1
z
t
----~
7uT(Qijj!
..,. :TI ..
te.z'B W -'tlitMCntr..
and OimcrWona
.... , :. 11751
...,.....~:
,.u ;.
..,_reLel
....
llDD..I)
C5ll'!
.....
J
' . l.Zllll
- l. JM
.....
' . l.z:Jll ll . _
- 3 1. l?i k
4ht
, IZ.31 I
f l.IUZ 1...U. Wi-
You cun abo uso tho final plQ(.;eholik:r Cor dunauhH1k.u umu
lile dcgrccJ and radians. To coovcn dcgrecs ID radians, define
thc uniu rad and dtg as followa (scc Figwc 8):
For cxamplc, you can use lhc buihin 'JI, variable IO scale n:sults,
showing lite answer in pcrcenl. Jusuypo % in Cor lite final
plauholdct in a C41culation cquation. Figure 1 shows an
cxample of litis capabilily.
rad- 1
.i.q- (Alt]P/180
rad
p~:~::m~:2::;::1::;,2;~:~t~rr1r:3::m:,~r::;,::?:;7.~~~t::itW~Yn1~;12:~? ,~fil-~
, ,...111~~
Cluopter 9
: . :..
COMMANDIH
..... 1
THIS SECT!OH
..,,_..,.
OIMENSION
......
Chtn<td"'*-""
IBI
31 4-t 1. 5%4
., ..... '-211:1
...; l.m
ftlt-~t:
~.5l.
&r:.a.1 . . . . . :
pl~IW.
'8 &et
[J:eaj
~noion
IYllEtJ
[.JJ
(J'lOJ C D
T-t1-
O-Cha~
1iii1:;.
:,m
iiif8
IPJ!llj:g
IJ'C ..Jl 1
M-mau
: 5liiJ~
.~ JiiL~
:~
1lf':
-:::.
:~11 ~
J.
lE 1iP:8
lfit:s
~"""A
~1'1a
~
~ J!!J~
r1r
~.,-.:::8
l~-'Wmrr~
l~:!!bJ
I~~
SlmaltaMOUS dtflnltlolll
Using vcctas to define 1ewenl variables simultaOCOOSly
Arniys and mtr r.nrtloas
Using arny and f unctioo rwnes as arumcnlJ lll user
!unctiona
!~
llO.
r9_.!!
[[:~~
,~ ...t ,. ,; -:,
2[Tab)
3[Ta.b)
[-+)
+ (Ut!M
J [.J)
MathCAD aliowa a ~ voclOI o/ pla<:d1<1IOOn (M9uro
1).
O[!.)
-11!.1
l[!.J
E.!.~
r:~J::D
r_J~.il
~]
c~r
g;:a=I
flgulo
I:A---
Er
i
;
"!'
.,. j'"!'""~.
~ ~f''l'J,,...,....,"T7"~~,,.-0:"(''rlJl
,'!"""'"1r'~P -W-"'."'":--nrTTr
.
\ '
,1.
"1
.r
'
'
h ~\$11bi
1 ("[l 'l "'l"':WWW4,41
\
.,
' I :
:-.
, '
. ;
11Pi ""'''
\4hrr114;ryl
6ijihi;+.i'\Alfi
,/.f:: ~ :,'.
11
::
r;
']
l
ri.Ui
... -.-
"J
, , WlD
U , I
L:-L !I
/'"u ,1,...h.
(.J]
mHlm~
r=r
'
MalhCAD.
111
'i
W(*M
Creatlng a matrlx
To defmc a rcc13ngular array ( matrl.r), prcs [llt)X and en1er
1wo numbcrs: lhc numbcr or rows and che numbcr o columns.
For cxample, IO crease a 2-by-3 maui.t, move lhc cursor toan
cmpty spo1 and type;
(Ut!M
Create a lnal1.
(Bltap)[Bkap)[Bkap)
2 [Spac) J (.J]
Flgur9 3: A 2 by 3 me.U
numbcr or veclOI.
w rrlca//y.
;it.
T~~, ...4
f' )1~~,~~';~~ ~
i{
' 041
{:~f.3~?~~~[?~~~
[ J"F
ha : ~
~ijj:~
{f:t<ml~
111~
lf..L-~
1,
[J.rS 1.st U.S
I~
"l
J{l.!
1 U.a
111
-.. :g
llf
rrliir
[f:jiiJ~
~ng
11 ~]i1:8
cI -1 [.J)
llf
llii1:8
[[~--:e
l!(.' fl!b;
nJ!~
,l!ru:ll
,~L!J::e
Jl1
ll_.,.- -~
,J!k
'I '
l~~bl
l lt 1
Subscripts
. .
-,,
(To changc this, changc !he value of the variable ORIGIN. Seo
"Changing the ORIGIN." 1ater in this chaptu.}
: [Alt]M
Then pocify 1ha sir.e of the vecior and fill In thc clemenll. The
top equation In Figure 6 shows thc rc.rult: a variable defined u 1
vector.
?!
... o..
MalhCAD shows die result In lhe tecOnd <quatlon In Plg= 7.
... m - ... --
fo
.....,,.u..
ta.HCt.er-ttMlf
m 1~
.1
;t " .,
::.
r-:J m m rn m
..
. .. m
le
.. .
.
' ~"
'
...
"
....
You c.an now UJC lhe name v in place o( thc IClual vtetor In 1117
<quation. The equntlons 11 the bottom of Figure 6 hows lhat thc
two are intcrchangeable. Once you have defined a vector, you
can dcline othet vectorJ In temu of that vector.
Flgo.n 7: umg
1Uboa'4>1 IO -
oloment
[2:'
Figtre 8 shows mw thls changes !he vatue or
F+
~
---- -
- -
----.. ~--
-~------~----
---------- ----- --
~-
. ,.~.-;/ :~ :; <."! .
0101-10
.. w
1'
e~
!t!H1Glj!irl
'lguf'o 1: O.IWiinQ. - - -
Mico you define vec10r clcmttits, you may le&vc gapa in lhc
1U:loc. Pa cumple, il w la Wldefined and you define "'Ju 10,
10U lea ve gaps far ''e> w1, lllld "'l- MatbCAD fills lllCSe gaps
lh wos unlil YOU Clllet spccific valuca far Jbcm. Furc 9
00ws 111 cumple.
(~
r-;!i
.. [j)
.:-
. ..
1,1
...
...
1.
1.1
... o1 ......
.. [~] ~
I 1
I 1
When you dcflllC 111 arra y, MathCAD fills wlh zcros any
undefine<I clcmcnts from orrayOIUGlN up lhroub lhc
hihest dc(inod amy clancnt
U )'Oll SWt def111ng your anays wilh elcrncnl ooe bu1 lcavc
ORIG/N 5Cl IO uro, you wiU gct lhc wrong answcr wilh
amiy functions likc mean andffi. Ths s bcausc MalhCAJ:
wiU auJOmatically define~ for ali lhcoe arrays. and lhis
cxtnl clcmcnt disJOrU lhc valua of lhc am y functioru. To
avod lhs problcm, ncludc lhc global dcfinition ORIGDI
l in your docul1lCl1L Wilh ORIGilf l, lh<rc is 00 lolhc llSTlly fW>Ctions wll rctwn lhc C<lllttl aruwen.
OlUGIN 1
Ths dcii11C$ OR/GIN JO be 1 cvcrywhcre in lhc documcnL
MalhCAD wll no longcr mainlain an clcmcnt uro far vcclocl
oc a zcrodl row 111d column for matricu. Fure 11 shows a
document wilh lhc OR/GIN I
(_,-............
d~
1
1, 1
"'
u.
~
E~~
[!.
']
~ : :
t '
. .'
1.1
..
l,l
J-o1 ......
1 J
Cl,Z>
~""~
h 1
... ..
~ ..
E:r:ii
~~
~9: UllhCAOtn"OO...ina_,...,_
:i
;. SI
1
...
l:W
...,11 l
1
=!t
X['
.J.# 4illCP.4
12$
N( (i.j)
.. m
t==
1
"f
! . . ...-
.t.;~:-
1 .
.1
'
--.------
- -- - - -
___....,,.. --...--..~----
:.
Chapter 10
-10:
"'"as
!~~
~-,....~
11
...
' [Ji~=!I
' [ :ru4~
: ~~
__dD"
lt - ::!!
, ~.to.r
: ~~
....,.. .=!!
: ~
i - - ..~
1 :
I ~~,..~
1 1
.
~'
: ~:1-~-:s
'
1 ~-~
--
Vectorund Mtrice&
11
~1 1 ~::fj
_,
tr1 ...
......__. ...
-t
'
a :e 1
l.M
l
u
1 ,1'\I
....'
F!gln 12: _
~i
..
'
.. . ~. Cll .. ..
.................. ..1 r.
.....1 ...
Ltl
.... a
..
.,
;):
t
!
_......
... ;
.
>
'
'
~ .... -
,- a
_iU:-::a
.,,;;,e.
1.1
matrix opcrations.
~u~
o
___1 fl~
LI
- .r:.~
La
-...
.. [~] . . --....
, ~J!;=s
1
[ ......
.........
.....
. . .t .. . . .
: 1
r...... ...
1r-: . ~
~~
-:-::~~]'". ~
1111
:~
: ~- '7'=1
i : l
-....-.---~---'---~
- - - -- -=-=============='=--~---===
--=
-.
....,.
- ----~-
_::.
--~=,~-"~
-----.--...,,.------e-,_,-~,
"'~~--..,..-------,-~ ,.....--.-,-----,-,~
:==-....::.=_::__::___..:....._
,_""'-
,,.,, ,,.:,..'"
lpllcallon
--
ZV
YZ
zU
Uz
V1V2
-lolypt
w yw
w11 ~
.1 ....2
lpllcalloft
U1U2
an"'2
y .y
lion
vf&
U/z
mall1&
V1 +v2
U1 +U2
.. + l &+V
U+l z+U
1"*'11
V1
-v2
U1-U2
"-1
U-1
~-
...
..
malrtl,
,wmoe
fYI
""
oorjugall
1-Y
1-U
-'i
!MI
l+.2
.........
...........
......... --
W'.l+to
.1 ...2
W'.1-IU
-...
lt"
111
11 (.Ut]I
y IJ.lt]I
v1 xYI
!!'
y
..
l4,'
Dt
ij+
11'
..-
lpl
v.
-"
un1.nl
Roel.llll 1 ol O'"'-
lth powor o1 mouix /J(U$inQ mllrix ,,...~)- /Jmust bt - bt."""" iunbtf. l/"1 repr-lht ._... ol ~ Olhor nogaliw ~
n l'O""" ol thf W"'11. fllml l !Nlrix..
Rll111aualr.1~v.
;rtat
1!:;1 -~
J.UJ Y2
ar
IJ.lt)f.
(Alt)11 (.Ut)-
11
IAl.tJ-
(
11( (nl,ll2)
11/a
Ilion
tcllon
Muqiioe Mdl -
0t INltil.
..n..
Uytxwd.)
ldla>UMol mllril 11. ~... . (Tot;pe lht ~,cap-.
hold clown lht (Ut] kay and P*1lht6kay11 lhtlopollht Uytxwd.)
dllalaawil o l - ; (nl~liarnanl olmllrix
l:-J 9
~
- ~~
11
:::]!
E: 3
E:::~ -~
1c-
1 3
IC- .
:_E:qi ~!!!
[~i!
[,.~!
1 C-.
t1 ~
-,
I :n
:::I
'~6:.
1
,_
1 .. L
""""""
V-
rowl{M)
ooll{M)
lenglh(v)
la~)
_...in
.,..r(v)
Woon ol
llWJ(Y)
mu(M)
mn(v)
voda
Aowi.-. 1 IG>IM.
lona\Jinary part.
mn(MJ
'
~arypon.
denUl)'!n)
~U)
~nl,112)
l(n1,n2,n3)
Ra(v)
lle(ll
~V)
lm(U)
Migrnen~llt ,112)
Mlgman~ll,v)
Migrnen~v.11)
IUQIJ10n~YI v2)
.....
-11.
"'
"'""*
'
'.l.~
1 .....
..
11
--'"
.: .Hs~.,-:':tT:?'l~m'!~ .
..... :: .,-:-,..,..-,-, . ::-;::-r;~:: :. .' "'"t7~;.:"'ll"'".~.-: ,.:~ "';,~ ;:::~. :.'1~~-~ t!.~.~ :: :',:;~'...,;:; :.1 ..; <
- , - , - , .: ., ..,. ,, ' i '
..
.. ,..,,;
.' . :- ::. ..:. : : "::.::":;~?:~ :::. :.::; :.:<:..:.;:.::~.~':; .: . - ;:~: ~:::.; .:.::.::::.:r~ :.-.::::f![:<:.:~:~~:. ~:}:1::t1J:y
130
Clu1p1er IO
ktar . . .
,..trh lt
".. ~ l]
~IO
t I
.. ~
[~]
"lntapolallon uncllons,
I
....tlh). J
..1.001
-<)
.t..Ce) J
[11
-ra
:1
::;t
l f!~i 9
lE7'"i !1
1 91~
([ r-3
[[il-
""""
""
LE.=----3
l~!~
WJl(v}
ll
etl'r1vl ,v1)
slo~(vl ,v1)
..-11
1c-- --~
il
rs-:B
stdevM
i ~- - -
1=fl'.!!!
Z> 21
-...(e -
.., 1
l[~-3
u., t
1..
. . . ., ll
[[ -:11
llJ/erctpl(v/ ,v2}
c!:l! ~s
tJ! ..a
ltlsW(rom(vl .v2)
/Jl(v)
(JTl(v)
<1Jl(v)
lcf!l(v)
lsp/lnt(Y/ ,vJ)
csp/l!tt(vl,v1}
p.ipllM(vl ,v2)
1 ..-d~,.
{/111trp(v/ ,v1,1)
,;;;;::.~
,f":_"\ ,
....
.. 1 1 '
.L
',1'\i
~ti. ~...
. -.. .
. ~~fJ'l~a \'C\-~'-i:FifP;\i<'HI:,,,,
1 .i.'C/i ~'', '\,,..;.;H'?hi~J\f,;~~;~.l~~;t~~:~:\jl,';lr'..1;;~1'~
~blc.~~..rjrai':V.,.:-r;-,.:~~T
.~ . . ~-, ;i~_..< ~ , '"' ~-~..,.
. -- .......... . - . .
Dolngcolculollun!l In p11rallel
a..
: :t
U1e the m: open!Of IO pcrfonn s:alaroperatlons cffidently
elcment by element on vecton or matricea. (The vec operator Is
oflen five 10 ten 1imes fmltt than subsalp!S and range variables
ror the samc opcratlons.)
IAlth
/'IJ MNIJ
openlOt.
Ouipl.erlO
llllUaS.11--IC-S.
.crla1-. ..
r.n-:
-'"-'
.... J. .......
-----
:. i
:.
-a
:. 1
.. ....
..............
.... ,.........
M...tl
n14:Th9..,.nic~
lllll.lal l t - - I C - S .
...........
. [... r.a=]
.. ..].~]
..... a~ .......]
" ~ ~] I ~]
!
[....
e :
~]
L"~I
......
-HI
. . . . __. ,
; .
...
l.IWI
11:~--
SimullaneoWJ delinilions-
l~~U - ,
(~!!::
19~
133
-IOC.
id.ti ~&~Ji$dl;~f:;g~~f~i~;::~:~~~tf
I~
l~~
l~=il
wvi~loo.I
l
\
, , ,
}
r'
11
I"~] :. [-i
.t,;;!:
1
1
ll
.... 111
wvi~lool
. . . 11
Nt.e LtHI
....-Lm
[En-:,:i
.Ji
""'""')'O
ll
':=IT::i
l!; .:::
:. a
l l l t - Wlltl <3
11..
I~~
1d::
l t=.~~=1:1
-l~
~:a~
l~
l~
:, '
1 ,. l
~]
1 1
,,..
J :.1
'J
'i
,. [f]
J
The
Tablu."
'..
Ch1pttt JO
- ...
. -i~
;f--~
,
,,
~ ...... ::.::::::i
L: ! . .
;;::
~E
1=1i~~
liwtatl Mtrh
..._.,...tt- ...........
........,,]
lhO>
~
""""tJ r
-et>
']
..t.ta; 111.m
ia.m
.. - .......,
-'-'') :
':
.......... ~ :1
,... l
... ...,
t .1'1PJ
..t..th)
.....u .
-'-4.( . . . . .
-:::::,~.:'-. ..
[ ~]]..
-'"'' l
r:'~]
l..,,
l.
1g<n11:u-~.-w1e.-mfNlriooe
~:::l
1~-:3
_J
I" . . e;
;;;;
11'''.::l
l~,.3
1 ~fi~
~- .,..- ~
l~!-3
11:a
L!li
[!r-:3
rr
g
L~~
l
~-~
1
Range Variables,
Iteration, and Tables
~Li::g
tables, or plots .
Th!Ji chapter detcrlbes range ftriablct and thowt how to . thcm to pcrform iientive calculatlonJ In MalhCAD. This ctu1p:1
also describci input and output tablci .
Outpat tables
Showin& V9lue1
Input tables
Enterlng tables oC values
lltratln calcalatlona
lieration wilh one or 1wo s~rlpu
Sttdtd lltnlloll
-i
~,~-1.J.'.f{'.~x:~f~li1 p,):~;~\.~\:t::~~
Chtpe 11
e variables
OIO IS.
""'''
Types or ran~es
The dcfanition of Jabovc, runging from OIO l~. iJ lite simplCJt
:. J ' .
J
1
11
"
:I?
...
fffi
fonn:
11.&n9eVar: Startvai, NextVl; ltndVal
158
8Z
~l.
~
11'.
ic a 1W1ge variable,
l',. . .
lllW'\D ., M""
J ,. ' .. sa
iltntion.
111
JZZ
U!I
O:U
,..,
...
171
IO
IS.
Agn1 :v-.o1.
XI
"
.-r.
J :.... 11
1)7
o'""''
scaJor Wlrl4b~ "'""' ltl 11 ' " " ' ' ONI lfllVl:s IM
{/JOM """
11J.J!MOJ11 llu
up,..uJo11,
l!IJll
o/ 11&1 rang1
Nri.Jbll.
wv=gefla.sltcs
......---------:----~-,..__.....---~~----...:--
----~
-- . '
---.
------:-- - --
r~.1C:-:1-'1'r.;,~~~~
''
_,. :;;~:~;0s~:r2i~1~~-~::~:}~:r~:t:::.;:ji::t~~:?:~'.::~t~:}~?'.'.:)'.d
ll8
Chtptct ll
= .. u
, ,. [ ~]
.
1
1 ..
' : -
., ........
J<(i
110
lnputlable!h
:~~
' I~-~
111
~JI u
l! c7:ii .
11
lLr - a
L~L! ~
1d!JA
1ct! :il
. l..a . 11 .o
' 1:1
L: . ~
l~-~
..t..! IL
:U
il[j-ii]
<-ll't.r-111 ..
"
ir-~ '!!2
IL..,,.
~,~ -~
JJ!I
:1~::1-~
i
11[ ,_ 111
:1
! .....
...
' ~ ....,.._
:-~
l1i".!;. ,,.~~:,:"l~~:."i:q,..12i:wrli\~t~~i'+'!lt"~~
! ~!:.ij
11
->.
z[i : 3,5,12,20
/(J
Once you have m:aled an Input !libio, you csn do any of lho
foUowlng:
E.Jttcnd the table k> hold more valocs. Put thc cunar 1111
cnd of the last value and typc a comma (, ). MathCAD
aeates a box for a ncw value 11 thc end of thc table. To
cnttt another numbcr, just type it in for the placcho kk~
the last box.
Delcte a value from thc table. Put thc cuna 11 thc end 1
the value you W-.l IO delete and press [Bksp) until <mi
placeholdtt remaln.' - l'rc31 (111'.ep) once more lo dclete
cmpty box from the i.able.
1
MIT~.~;rr:?T::Y:~:~u~~::.~.7::~~g;:r1.TI:z;I;.2:,;: I.::~~~==;=7.::~~=r:: : :'. '.
~~IAallal~~~~~~~WJ ~c
:3
Chapta 11
...
lleralive calculatiom;i
l :el 11
1
...
... u.
:e .ll
l :Lit
i!Ualioo.
"
'
E!:"' !!
l:!-:-~~
.....
.....--_,_,
..........
..................
~ -~
1:w.,...,_'PI"_
..u ab<Ju1 inpu1 labia&:
"'valuea in Ul inpul table can be numbcn 01 enuiona.
Lhcy are .. prcuiona, MalhCAD wiU ovalua&o Lhc flt'll
prcqioo u 11>6 f1111 lablo valuo, lho MICOOd u 11>6 accood
>la valuc, llld IO OL
: ZI
!..: =~
:r~
e ~
. 1
~~
-; 11 -::a
: 1 1 -
-1J
' ,. -.] .
t' I
1
I r
t ; .
r1
~rn
-- ,-;;i
~ :r~
!:s
~
!:!--b;
~k~
EJ~I
M('
ltllAI'
'"
'
-~YUN
ruo . u URllAILU
I 1 , .t
J '
Figura I ; lllio<l IO ....,.,. a polar ploc
69
141
lfPlll"""""-I
I l
t.J
[1 J
. ' . 1
1
'
'
,.
11
11
tU UU
.. 11
u u
Flgul97: T~ llITTI)'
1:0;4
j : 0;9
x[ (1, j) :1+j
1
1
12
~a
Choprll
To find
r /mportant. Wlrtn
143
c-ai
J
/f-wi GI
i1
I~ LI
di1:1
1f=---
~1 .
:=!:
:11
lE>.:a
L~-.:iJ
~l!1~
~!!. 6
1/111 .
1 I 1 .. R
a:IM
. . . 111
1
:B ~
11
1~!~
11
/~]?)
1~~
:ti
-
-.
.... :-----
1Jl1n
ano l!DllllOll
.~18711::
'
t.
.&Z:Z17"(,l,8t7
17.
17
ow
futJJo-
~?4S56ZZ8
1,
11
"'. d, +
"''"
'r+/ r1 + OA'-'i
rmr;me.1111
t : 1 za
.........
-'
rr:1
ll!UJ""'-8 ITtllltlOll 111
-.OOf D'IM!!IC
tol
tt
,..
'"
:a
t '
tt
l.mt.1 l
l.!ll l
r t l . IS l t
'
............
...,tlM
...
' -"'
Whcn you itttalc sevcnl -'ablcs, each s1Cp computes the value
olhc variables rrom ali or their pn:vlous valucs. You can't
ICCOlllplish lhis wilh sevenl equations; MathCAD would lrf to
f1o<n t : Slrnu-.... -
10 modoC an lnlealon
use1 1
- - -- - - - ----- -----
k. : J.; U
... [.UtJ..
o:
'""' luradolll.
[1.1.t)&
A : (,UtJK , ,
... tAJ,t) ..
11; : ....
., LUtl" u
.,
~M Ir~~ lftlllr: A.
tAJ,tJ" (k.-1)
Eod MW WCI 11 dqf!vd"'
o{ iJw pl.W01U llCCW.
S"-JVl11111li(/as1)-ux.
Sllow ali wc1M1 as colWMS l(
- U (u N>U IHl-J.
""""
--
11
----
~]
Fr-r-;::i
Gf9
1 1 ."Q
[. .t 1
a; . n
.1
11 '
QI)
b.31
r-~
H.m
-u l~::i
<rl>
,.
......,
(lo)
...._
1.1
J.I
'" 6.:1'11 ' ,,l!lt " " ' l.'17
, 11
a .a 17.4
17.
11. "' 11.m a11.1 n.m r
11.19
H.,, H.'11 H. t
IO_ -
P'"""'
1 1
::1
' .. aa
1tJO I
~
--r
:y
B=
!3
.J
EL~
e-;--~-~
c._; 1-CI
1:ji)
E!-:9
1
~!.:,
~-:i
-1
''
1
.-
'
1: 0;5
j: 04
W( (i, j) :1 j
Ml1..:XIJ.-Clln1
.,
1
1
.. '
I lJ
~ ~
1 1 .. 1
'
.. U\ . ll\
....[''"\,.... . l1E\
1 l 1 l
1 '
1 '
~ ~ ~ 00
1
!=~
1'
C:~
d~
'
_.(1111)
'
33
....oo.
'"'"
Xl : rlcoe (0,l
--
.; ."
~;
. ' "
r. ~:.:~~./j.~~Y,,.il;>.'1!(..l'~. 1.f;f ' ::, ..(" ' 1 1, ' 1 .1,.. , .t 1:1h.;. , ~., 1f1
-~ r~. '.:.' . :: -;:_:. ::~.-. : .".:-~~.f; -~--. ~~::~~ ~<_~.:i :. :~. ~~-;-~~:,.;-: ..~.::. ,:'.-':'~ ..:':.:}'~; ~ . -~_.. ~ ~ :::
: \: ,,
146
.i
.....
s==:~
<.'!"orll
~11 :!!
'' [ mm~
: L-~
o, : o. 11
'igure 12 shows lhe polar cquation rrom Figwc 6 compuled two
rays: usinR subscriplS lnd u.1ing vtclOr opcrntions. The socood
iclhod is much !nsler in MalhCAD.
UIU...._.lpta
, ,. -r,1
: t "
. ,. ,-r.1 slr 1
1
u.ctor ..t.t.tl . . . . .
:. ! ..
1
" :.
. . .
"
C~U
: Cr me<tH
opttalOn
.'!'.[~-
:li 3
:i4ii :~
.-11
il[ 'i:ii -3
'![--. .... !3
. ....
:
11 : ti
Operators
5:1r~
1 : (r bU))
_,.eon.
~11
il
[:..,
f'rlntlnt
Jnttnll
I[~~
11r-1!~
11
11
1~..:- - ~
. ,
....
:~ .,
:~!4!1
_jll
'~j:
tjlji;@JtM14!A<,;ii';JktM"
'":t:1.1141iiNiW
" 1 #'1 t '
- - -----~Wi+i''.::
.
1
r uperaturs
'
l Y
:sr
. .- -- - -
c :s
...ruc
prodw
rmna
"" (:s)
a(i
[Utj 1
[.Ut)-
"'
..
(lUt)I
rr
OPERATOR
1xy
:s [UtJ r
ei-produc1
ti
Uz
ni
Uz
Prod<Jc:llMlrwigo
J.~x)dl
zU(z)
negral
d
-1(1)
z?t
Mllivt
z+y
Addilol1
Pnni~
~.(lhcWIVI o1
maro J)
_..,
F9dOrill
..,
clJ
1-J
z-r
..,
~~
l-
Mw(11)
1 .,
ny
[UtJ"
Suaiol_ ........
\a
Squ.. ...
AbecUt..U., ~.nonti
a/r
lMioll
UUPk.t1i1c.~--~..... ~
~.............
i~
i :s
1
E-~
L :a
L~-~
a>r
Gloll~.....
r---~
a<r
l.oulhan
a [Utll r
&.tvadi:>n
l : .. Z9
' : l . . &I
, ,. '+;]
L:llll
lt
'
o. S.1911 -ll
L ,.-Q.m
L: ,
L:.
(l
:o~
... ,'
l
u
'
l1I
'
ta
t.U5' 11
1JL...llU , .........u
1
L ...
a [Ut)( r
~-:
..,
a [ut. r
Rllllionll ~
1,y..z
a,1:
Rqe
r-~
LI
lk-- : !
dl!
. ,;J
~
.
... .......... ~. . . . . ___..,......
..........
a u..:.o
.:
*2'
"<$1
a"''""
~-~
...!!:2
n.
lc!J-..
-....-.-,.,..-----
a [UtJI r
l .. y
Noglliaft
uy
1
~-~
1
~wilhlir1tbrMli
~riu..11
;u a: . xe _, . ""'" m
.... ..
'
....
;;~~
:~,~
11
..i~-;~I~ .~
'
1111\.lmf\Q
: J
:u
...... u ...
1t
Sl. IU
!
o(aJ 1 111
-~
~:J! 3
~JI .
(liN:9 . . . . . . . . . . . . . - t
..,....... ,..u .. l - .. )
complell.
cumple:
: -
i t~~~
!'I
"
. ~~ .~
,.
g(z)
dz
:3
lri;;-....--::3
IC.J:I
:11!.:...- ::8
' - 111
H9-==3
~[!~
d
f(z)
~--1!1
~1i
IE~-'3
o(a> 11
- 1121. a
-... ., ..
.- ....
..
o(ll :oJ.l
Aut-1 ,...,b
..
t :
u-3
u~~!~
Jll
llf'.Afl- :-ctt
ud!1::x
ll~~!:-.:11
il l
Opa"'"
tOL l.Ml
lnte!lralii
'4
Wfi1l
rntWhtl
a : I
1:. .
...
1
- 4 . . . - l
tOL:.~
..
-~
tOL : . l
..
- 4.
Flgut'l t :
7).
----- _._._
-- ---
'j~~Yt1~77--r-j, _ rx::;.
. . ":'':"'"~~~.
"'"'-1~'.;::T'.~. . .: .'iJ~~~EI~;s~:zc~=;:~~-~:;l~I~~(:'T:.~":.~ ,-~ ~.
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-Cb~~-""'~12
1
.
Jt ......, .. Lita
'"'
..
lCq>I
_(
111. Llli
f.. ""L~
'',. a
1
~-- :i.
d:.
-:-6
""L~
Agin 1: Eft-
E=~
1
E- -:i
1
.. ""Lf-ua
r:a
~-.:a
"'-
J
I
t:- ~
1
E=:e
[::!-:
""'
l1nCI' W
llC llC IOl.DOIQ'
,
_ ,_,..,
.. - u ...,.., ,,....,
;;J
E:~~
:;;;a
C'~
;;::,
.::l.
- , J;;J
'" -
r . :'.. l
..
INuvaJ lnto
std>/n1trvals and IMll SUCC<U/w/y
doubl<s 1/u ~r o/poln1s, 11 can r<turn lnco""'
- r sfor pulodlc/11J1ctlo~ wll a period of Jrt' times
.., r
n''""'IJ.
~'l
Op.awn
..
.....
lhe cunor on lhc placchoidcr for lhc intcgrnnd, lypc' aga in. Fi U
In lho inlGgnrwl. tho limiu. ami llWJ inur alin var iahlc lt w <'Ad1
--
.. .
.. (
......
............u.
(. ("
f""Of'O'"tl-..1 ..
111
&h. 1 : ~.- -
-- :. 1: 1: '"' .. ICtr ; . -
'
tr L1S
,ct.I' :. - l
- - Llll
~1.m
ll(l) : J oa.(l)
f(U ; l tMU
""M
SU
NOl lf IJIUJ:IAJI
llllU 1 .,CU
1
f(a) : -
Ittll(O)~..
.CU 4t l . tUt
~:------------------------
lll!I...........................................
..........
l l.I
...............
~i
~-~:-~::.~~::~~~.,~rr~:.~~)~~;r~~~~~~rrr~~::~,.~J::~~r~~:~'~;~?~':"'.:1:~:~~:1:::.:t~:.:1
Chapur 12
1 .. .
: ~11~-~~
'"j"'1 :a
f~ ....11.
e:
! ill!.l- :=
~:::1
r~-~-
:!11
Built-in Functions
-::ii
-=ii
l!
P,
:~~~
iJ.!~
, ,
......
'~1i~
~ .:i.-:a
StalhUcal runctlou
Builtin functionl for statlstla lnd cor.!lationJ
llii T- :8
lnltrpolalkm ructlOftl
Uneat 01111 cublc s.Jlno ln~t>Olatlon l'uncllutu
,~ .... -
11
T1i
il
,J!I~
,J!.
11'
~
... ~i
Tlr
.:.:J
l ~-:-- ll
'1~!4a
t~d~
i_I
ltandoal nambcn
Condllkmals
Using tho /ffunction In cmditional cqtations
Bmel l'anctlt1111
Usina MathCAD'a Beacl functionl
i,~',..
- f ----rr::
~~~~~~~~~~~~~~~~~~~~c_l_"'~'"~IJ
t ufbulltoln funttlons
'
Hyperbolic functlons
OQi
''""
H)1)0bOiC .....
OOlll(J)
~CIJliO..
lonli(il
Hypoibolic lanQlnl.
Mih(1)
'WHh)'l*IMiic1tiine
acco/l(r)
il lill
allrlll(rl
;r; and
liWiM" h)l*bol!C ~
a variable namo
ftlMIM rqircsenu a vwiablc namc Iba! ia lhc AIDO a
fllenamc or ia moci.M.cd wilb a filcolmo
up(r)
lr(r)
Nmurll iogortlvn.
a- 10 iogalihrri:
lcQlzl
~I
runctlons
:onometric functiOlll
.IO(s)
a.-1k.nconJg(I.1rN1.
J1ij
z)
SiO:
(1)
CalilL
y~
:11
T~
Y1r
lr(n,a)
l(r)
r<rl
jlo(&,yl
"--
~--lni!WilllQllt.
lrg(I)
fiNpw1ol L
lmlginary l*I ol L
AIQ<m1Rolz:lhevWlol8whon1io~..
... . . . _ , , . . . . . . . .
~ :s
Fourler transform
'pe ld+jl
--~ :::9u--"-'_~~~w_~_u_rn_~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-
E" - =9
=s
~-~
1
~-:~
1
~-:e
~-1
:a
~-:s
E:=! :8
d:a
1
~-=-
1
~: -:8
.1
g;- :a
READ(tuonamol
WRITE(fllonamo}
REAOPRN(lllentmo)
WRlEPRN(ftlonomol
M.uil lo ...
111()
r~.,
cll~v)
Interpolation unctions
lolf1(v)
ordcr.
ni.rp(v1,vy,J)
C.plinl(v1,vyt
laplfno(Vl,vy)
Cotlicionll.ol
p1pUne(vx,vy)
Wllp(vl,vx,vy,xt
~JI. .. .
. ..
~3
11',...,ltboewNl-11anda.
-m
:< . 1.'.
C..:
,.,,. rq>ruct1ts
Vector functlons
For more infonnation on lhesc Cunctions. scc Chapitt 1O,
"'VCCIOn and Malriccs."
u"
veelot v.
lenglll(vl
tunbot al ......
las~v)
mu(v)
min(Y)
llldn()
v.
S..00...d d4M>loon o4 d.a Ylot v.
'ffllY)
[~.. ,..; .': , ,,,~ .:~.:::~;}f ~:: :: (;":; :~ ~r '~: :'t:t~ ;L~:~:::;::'?i.~.;,f;.::;y;;~:,:Krt:t!~:~:Y:v~~
m
Ch.tptcr 13
Matrix functlons
lf: ~
~- !3
rowl(M)
llopl(YJ,Y'f)
coto(M)
;.,c09~n.ry)
ldenUly(n)
~M)
-rix.
l(n1,n2,n3)
riz
trl\1)
t1tlr lndicn.
cnorm(1)
hlot(lnllrYtla, dlll)
othorwiMO.
tugmon~Ml,M2)
'""""al,.......
Compleltly anlisymmtlric
3. "' n2.
a1d n3 musl be intogers betwwft Oand 2 (or
botftI ORIGIN and OR/GW.2.1 ORIGIN" O).
AtsulisOW"'Ytwoartlhe....._ 1 lorevon
pemnAaliont, 1 lor odd penn'*'-.
Now matrix madi by putting Al I 1111 1.12 lide by
lide. Al 1a1d 1.12 must haw...,. IU!lber of,,,,...
Vu ot ""'where l>f i1 O.
Flnd(v111,var2_.)
Mnorijv111,vor2~~
fl
gtlfT\'lt,
Y9dl: ti ll*t l f l nMJre 11..n u1.y#11Mlt. lA
~=-3
l!:- -~ol
1 e,~
E"_..
.1
~-~
11
~,::
:~
~~1:
. ,.;-.;/i,~'t:
..... ir.'
'''~" "'"'ff,f~;~r~--i:.w "'.r." '. , :r' '-""""''~, , .-.,,,, ...,. '' :,, ...
,
,..-::1> ~r11.r .s"~::: ~, "C;1.-:."1r 1 ..~"1)...l~('~l!. ;.:...$1.:;F'-;(' Jo ..'~}i!\ .,{? 1 -- ~ ...f.~.. 1~
1 .. .. ; ' .;.:
!~=-
151
Miscellaneous
Statlslicnl funcliuns
ftoor()
col~)
md{)
ll(corid.ii.rl) - - ---1.ffc:Md.o,OiliWll011.Formor11ll0illion.
-
dll!>C
4>(1)
undl(x1 ,12)
Populatlon statlstlcs
: (1/IC)l:
nr()
Retums thc V1lrilnoe O( thc clemcnts o( v, ICCordlng to thi.
onnula:
nr()
l[l! ~
11
formula:
t.;
-11.
..
-D()
.~
~_JI
I la
1!_u.a li
,..,
mean{Y)
Rctums die mean c:l the ele.menes of v, ICCOnting IO thiJ
l~~
Lcl!.li
!ii
u~:.l! ~
Buil1-in Functiona
~~3
1 tcal Hd 9 or .. 11gtm.tlt.Wciot' 1
morw lhln OOI orgurnrl.
-.
~- -- 3
cor~YJ,Y'f)
.,_
r;I=:;
t .;-.1:.
: (1/IC)-l:[ - -n()] 1
ltdt{)
Rtturm the IUln<lord devlatlon (suore motor thG vwtanco
ol thc clcrneni. ol ,..
tdol()
4ar(I
- - --,
Oupl 13
trlbullon unctlona
lawupc(n.J)
llctW111 a ICllar. lhc y-inccn:cpt of lhc lcasc-squarea
iqreuioo line
lho dlll.I poinLJ in vz and vy.
roe
J~.Jii)-u:p(t2 /2)
:sl
dt
lo;.
J-.Cn>
....,, H . Zf
.U-(1) 33.U,
Mri1I IM"'
a:m
P : conh,1)
r l. Wl1'1
: IOf'9(.1>
l.UDU'1
.
1
i>rTtlation runctioa.a
!MI
-~-
'
...u.ta)
111 ; . . . . . . . 1
llllwMI : 11
s,u;_: u Jtlt.. t -
--*
w.... .t.
u ....tw
" . . ...
Linear interpolation
Linear imapolaon is a melhod far using a set of dal.I poincs Jo
csmalC valucs. MalhCAD's Unurp fwlction pafomu linear
f l 1~14~
t
..
iruapolaon.
liDtcrp(n,YJ,s)
Uses che dala veccon vz and vy Jo compute a linearly
iruapolated y valuc corrcspooding Jo che lhud argument L
Tiie argumcnu v.r and vy must be vcccon of che same
- lwglh. 1lle vecior vz must conl&in real value.s in u::mdin
:a
k
'"
'
Flgln z: A tolalogrwn
.."'
..ta
r
..t~
11
11
1111!1
.............
onkt.
Lincat inlCt'pOlation corrcsponds JO clruwing strnighl linc.s
bclwccn che data poinl!. To find che interpola~ valuc r.an .r. MalhCAD find.s thc two p~J inu ir alls hc..&wttJ1 and
rClums che corre>-ponding y valuc on Jl1c strn1gh1 hnc
bclwocn Jlic cwo poinu. Far x valucs bcforc U\O firsl poinl in
vr, MalhCAD CJ.trapOlaleS lile suaight linc bclween llie llll
cwo poinlJ in v.r. Far .r valuc.'l hcyoo<l lhe lasl poin1 in vx,
MalhCAD c>Un1iol.o1eS lhe suuighl lii>e be1wocn ~>e WI
two poincs in vz.
=..L=1
-e
~--c.
~-:;a
-::::J
:a
,..,..t .......
~toeT
1-;;..
e ;
~Mlw.._~
r :. ~1.e.u.._...1., ..w
=ii]i3
......
J , .....
11 :. ti
llAIUC: 1 MlllOQM
:a llM<r.D
ZZ.t:l'
.. .tMU.l 11.'32
--<MW :H.m
l
~::
Mta
1
-. : 1 ....
1
:e
1
:~
Histoi:ram funcllon
rr(Yl,YJ)
lleturns a sca1ar. lile anc1aoo a>cCicieru (Peanon '1 r) ol
Et~
e111
rr=s
Etr~
. z:1.1m
-1....- dt
--- ---------
Nr(&)
vzandvy.
L::1
r,-=a
--1-0
~0
.)
...C.J .,,
.u..1.i zauu
:~>
sawstbrreal.
f()
r .-c:ru
1
ll'1111i. rua111111111- _ , . . ,
illural:
Et~
1 ......
: J~;/4&)-u:p(t2 )
r~
E!
dt
s mUll be ical.
u:!(")
C!
llopc{Vl,YJ)
161
~~Wtt~"f';
~Jlllfl'\'
~:."'> ... .. . ;L
ii+
~,.
.'.';'.: /
l. L~L~'l;J:::.;t-:]
;:~:fl
ChlpCer 13
..
j
1
: .
t1l.l
..
Assumc that you want ID fil a spline cune to dara points whose
it lnd y-coordinatcs are storcd in the vccron vz and vy. In this
cumple, usumc !he linear end condition: thc spline Cllt\'e
should approach a stJaight Une at thc cndpoints,
.. :. ,...l)
1
fl
r,4 11 ..... 1,
t..r-,olat.4
""
Ll[z;;]
;~=
:5-iD
11.-..,,c .....,.,4.u . . .
... ,. '
..
... 1
-1
....
1
.,
.......,c"....... t.I>
tn.,< .........a.m
1.m
,......,.,...__.
r- "",,
-t.r
....
1
.i~~!i
-ll(l
&
I!~-~
Note lhat thc vs array nced to be computcd only once. cvcn Cor
mulriplc intcrpolations. Tis is thc cfficicnt way to solve thc
problcm, sincc thc spline calculationl that lcad ID vs an>
llmO<OnsUming,
:i~S.
1O;--ia
. ~D, .
l~"'-=i.
. 'l IJl
.11r
~,
_,
-:.:11
:L~:a
l Jlli,~
-',
11ii~
16
Buillin Function1
cspllnt(n:,vy)
Retum 1 vector of ICCO!ld-dcrivadvc coefnclenll n. (Thclo
coc!Tlclents are CU5tomarlly med In thc /11Urp flJnctlon,
desaibcd bclow .) The .-gumcnll vz and ~ must be 11:81
vcctors o thc samc lcngth. Thc valucs In v.r must be In
asccnding orda'. These thrcc funcrions ~ dilfcmit
cnd conditions for thc spline ano lhrough N+I polnts:
I~ J . - . ~:111
l.l[z;;] IJ!:)l:a
............
.,,,_e.ne
r cfficicncy,
r 'fl YI
:. t . s
.. ,.............
.. :niiftU
1
..
11
lnwpolaUon
1 :o ....
11-..............
3: Eumploe ol -
~:ri~
1. 31:1
tt111etl,
U<W
19 ~
L I - INIDfWl!IOll
1 ,
lnterp('11,n:.YJ'.K)
This funcdon uso. thc data VClC1lln v.r and V'J lnll tho
aocond-dcrivative vcct vi to rctum thc lnterpolazcd 1
valuc corrcsponding to tho lut .rumcntz.,,, should be a
vector or cocfficicnts computcd carllcr by using lspUM,
pspllu, ar cspllu on thc WlCto!I v.r lnd vy.
Cublc spline interpolation oorresponds to drawlng a <rnoodl
curve ~tw=I thc givcn data points. Thc section orare o
thc curve be~ cach pair o points corrcsponds to a
dilfcrcnt cubic cquation. 1bc cubicares 1re computed 111
that. at cach data point, thc slopc oC lhc cubicare on one
sidc matchcs thc slopc or tho cubican: on thc othcr. The 111
vccror catrics thc lnformatlon that dctmnincs thc euct
shapc o( thc spline curvo.
art""'
IDllClft.t DWDrOUll<ll
1 1
.. : 1
... .............,
:
........ u
.. ..
1
1
1
..
1 lLl
1
._ ......... ..
,_.,,
.. .
.,,
[ ...-1,.Sl
-1.ra
t-..,c ......... .,
l'lgln e: 1mt<po1o1ng -
:.!
1 : -
...... ,..,..,.
u.....,...i..
94,~el
al
-t.~
-tt.>tl
o1 pa....
To flnd thc lntcrpolatcd valuo Cor 111 .r, MllhCAD rinda tho
l 1'.\i~.~l~v.t:~~;'\ [/;~,
'.;t~/~J?~J;:[i'1.~d;~~~~!f1~1~~1&fh(U~t~l1~~;.~4~i~~~~t~fl~t~t
,,~.~.,,,".'~,,:.
' - ~';J',1 j, '00'~,~~. :;
.r,fl.~~ti:.t:~. . . :t;(Jl, 1J
'.,.~~'1i
!tV.~""'
.Ji
ifl ait-'1
. ..
~~~~~~~~~~~~~~~~~~~~Oiop<:::::!'.:~13
st Fourfor transfurms
ICAD conl&ina rour f..aicw to pcrform Casi Foutlcr
.tonN (FFT1): fClf real data.J!t and ha lnvcno llfl, and Cor
>!u dala, cf!t and iu ID- llf!t. 'I"- Cuoeliou MI
~ lhc71WIY to llld lllllll'll veaon.
yorMlfl. Dl/f~al .,,,,_ -
di/!lf'flll COllllCAlloAt
>11ecnslA IM 11UdolfJ4' of IM FOllriu lrOAJ/orM 4lld
Df
r. on real data
ICAD coolalns IWO f1lllClom - Jft aDd l/ft- Cor Wt
icr 1nlllfonna oa tal cllll:
)
(1/.,/;)
1' 91.-eap
(2&1. (j/D)ok)
r;;
1 .....
cl:a
c!":!l
1
~i:
l
llfl(ITl(v))-v.
"=!!
[:;L.~
~~
;-:;.[
~[-3
1' "i,U>(-2Jli(j/D)k)
165
Builtin Punotion1
fs
r-rr~
cm""
r:t
_r
(1/{;)
.-
llft(>)
41
--.:__e-
cl'.3.:a
~-
d~
L~~
cffi()
ldfl(v)
"~"::: : :
,..,
:.t 1
h ttUd
1 I tMlt_.
J " . .
...
, :. arncet
'
f"N(U .. .1
..
->
I
-4
... -..,
., ..... '"""'..
: lwth)
\ ;.
11
, . '-""' ..,.1. Nt
1 11
11.-1
1r-.-1- _,
~,:~
..
--... .~
. . ..
,,...,.
-)
...--1n
MalhCAO
r(v)
(1/o)' ~
iclft(cffl(v))v.
f('t)
~ r('t)-.z>(2Jti(V/D)-1)
'
r..
~66
. .. .
.-~ ~ ~ . ~~ ~~~. :~r:.t<;~-t:.; 1/1'..~f;f~i ;:r ~. ::\~;.;~.~~ :~J.i~ ~1;::.,, /~-: ;.~ ;;~ ~~.:;-~':. ~]}~':,.~:.~~ l'_i'-~ :~ . 1:~
H-1\ M
01
'b
1.,. ....
Ch~ ~... 13
l'~:o!i li!l!.8.!!11
eroo u.c 1/fl and fft in place oCJ!I and l/fl, MalhCAD relllml
ru1"tn thal fl131Ch BrlCCWCll 's formulas.
t : 1 .. m
I
t"(t , ,
r,
l..
:I!-- - ~
......
... ,,t,, .. ..
'l't. ":'t .. ,. t.
t1
t.
"
1 >
,ot,
mm
11
J!un1
l~- :8.
.
11['
lf :' !- ;:9
MathCAD promptS you for a St:Cd valuc. Pre.u [..J] to acccpt tho
cu=nt St:Cd. Then put !he cursor in thc equation with thc rnd
function and press [r9). Since the randomlzer ~ bcen resel,
MathCAD generates !he samc randorn num ben it generares
whcn you nntsW1 MalhCAD.
, - --o:;.,
; - : "
"
~.
,,
\ll "::8
u-
Jl
until(lbq>r1,&xpr2)
Hcte E:rprl 11 die teSt expn:ssion: MllhCAD halts any lteratloo
In the equation when it bccOmes negativc. Expr2 iJ the value
n>lumcd Cor C*:h lteration until Expr 1 caoes it to hall tho
hcratlon.
d!
J __._
(~_..-
:=j_
1
1__,.
lt:~,- ~:%1
"""""'"""'""''*........
U~'"'..
**:: a
..
. ..'.. . . .
, ; ~' ( , .: .:,.;.\ (, J~
Jlll
-;:
1 IL---:!J.
qucstion.
:!-'::11
.Ir! . .
' fEW
(.J)
~-~
:Ir"~
~, ; ' .
)19 ..,/ '" : l.
1 1
1
[uol randaal.H 10
: ~:~
lllif9(ll
1 ....(U
~ - ~
:-:
lfyo ,...,,.to cltLck o IUI CO.rt I~ times wttli IM rarulnm numbers, KSt rltL randomlze '"""""to nnr 1/w
raruJnmJur ~twttn colcidalions.
.~J .~
~1::9
~~~
''" .; . , , .... , :. ,
RIUldomnumbers-
6 ;
Built in functiona
.:-~
~P
;t.-V/;; , .
:~
,' ,
, ,.
o ,
- - - .......
......,
Condilionals
llonlo-'11--" u.&wr rl a.
_ 1 1. . . .
........
. ~ . ---. j
,.,_-_, '"-. I-. , -.
,. 111
1 ,. 1 ...
;.pm
.... :&a
= ..
..t,....u.a..._,
.....
.., :
_ . 11.u
11"'9 I : UM>g
hii
'
''"'"""'
--lcll ......
...... ..,...
11-e2
l lAl"I-
11>12.
eC>-2
1142
l:i.2
l lAJ.t.J)
tlS.OZ
el lAJ.t.ll 2
""""'*
1
ftd I
.........
;!han.
< 2
2
el (Ut.)f 2
krbolrd.)
,...., ..., . .. 1
n:lS2J
...
,<a1 ,. mna1
>1.na1.11
.u..-...
t<:B
...
>- l.,
"'111> .u..vt
...lhan.
il-.Z
M:B
...
Yt as Collows:
llolhCAD
lg(r)
JO (&)
J;r)
Jl(&)
Ji<>
J()
.rn (l , &)
.r.. ,,,,.,
e.;:::
YO(&)
i1(l
'i,r
YA(l , &)
Y~x)
YG(C,><)
.-:::
Yl (x)
..
!~i~
1 s
1r; -;..
:1
e;-,.
,e_
Solving Equaticn."
:C
:~j~
:~~
~-;..
!3
;!_~
1 3
IC._m
l'C" , _
~,..-3
ll
(E:... ~
r1
IE(-=3
tf 1j
!JE:..,.11
_ -.3
II
~--~~ .
d~
,. .......
Jl. ~.:11
..-:..-,,
.
...
In your documcnr.t.
This chaptcr irlCludes lhc following 9Cetions:
Tbe root rundloa
"-"
U,11Jt< ..AIJ ''"'VHlltJ
Tho
IUOI
approxJ1n0tio"'
,nu:cunw
.. _,_,..
; ~.......to'~""'valau.11,,,,,,,,,,
,.. '"'""''..,,.,,.
MJ11
~-..
"'fl~d
1At f'Oa1
~ ... .,__,..,_,.,,,~......._,,'"
M,,,, _ _oq.)FM
Whcn ,,,., 11~~Y lho """' lunctJon, lho WJrWb ar11wncn1 mua
llw vaJuo u 11111.in valuo or
'cllC&I" iA f&ndina dio ealulioQ.
>o dclincd. M.ilhCAD wica
~,3
_J...
LI l::J
VU
=1~
a I Ll,-t, , ., LI
~~
.....~.
valua
-M
:::;; ll
lt
-.
C'OOt(xprionJ-xprwaaion2,variable)
Por cumple, IO del' 111UMW 11 !he 10Jutioa ID lho
eql&llion ; - lllia eqllioA;
=-1:a
r1
lto
c!3
~!:a
Ma1hCAU t:anrnJt lhul mot, h ma1h lhn rool mw.:1ion wilh 1ho
aro< nol contrKlna. TI1i.t cm# can bo cewed by 1ny of lhc
lollowinK:
"
ll'C '"'
'
To find lhc causo ol lhc error, p/Qt tite uprtsrton. Thi.t will hclp
dclaminc if lhcrc are any poinis whcre lhc c.prcssion crosSCI
t.ho l.Cru axI arn.1. i JO, appmiimatcly whcrc they Alll. 1( you use
an inial gUClls valuc closc: IO whcrc lhc 01;prcssioo crosseo lhc
zcro u.i1, lhe root funclion i.t more likcly IO converge quickly.
t~ can
;;;~
J.
~.,
fbca you 111e die lllOl lw>aion_ bep lhele ua~ in mind:
:'
[! [
MttM.u.
Solvln1 Equationo
~
<:::
;/!:a
"'"
a<~vI
P. '.
1 1
. ,{(~.1 n.... -r l ~~ ~- L~
.
.
44.l-~,,.J;llf7'n"'"'
.
....
lhcm.
:t(b.
l~
.. PO .O
~~~~~~~~~~~~~~~~~~...""~""'."""'."_.~
= ..~~~"'!'~~:;~~~~~~~!~~~~~~1.~IJ'IJ.
L .?. . "
. it T
'
l7J
i.-..
'' ..
"
Tho fuu . . . . _ .... U ....... fu. .... """"'" ... 0
...
_ ""'-..- .... -............
lllal cpreu,oo.
~ :~
, .. ,
"'"l,u/,.Jtlia,,1.,..,wo/tlvf"tdtfl11<dvarlabltTOl.
J bl 1
E:~
'
; z :
Al
'
--- --- - -
.:. T r
14
'?'"~C'.'."'.';'.'T' ~'.\':'.:?1;~:.
~-.
; ' ''. .
~2~
s;-=:-.:3
llJICTIOll toa -
rt.d :
ltOOI
l''h.d . . ...
U.h ....u-:
ntot[: -. J
...........
n.~~U.
: 1
lttoltht,....
:. '["'-J . . . ,,....
u.,.... r.. ~ta u.,....
........... .
.._..,
,.,1.
"
" .
and incc.111alitics.
h'iiil
;;;::s
~~- ~
.._1 "~
t:='
C:---
.._ .
r:.... -~
r__. !3
11
C' --
~---"" ~~
, .)
Solvin1 Equationa
IOl.Ul ILOCI"""'""
......... u .'"'t
<X'
-------------.
g!--:B
J!'.::s
id!~
l~--~
~'
el (AltJ- 2
> 2
GtMtor !han.
l..-2
t1cl2
1 < 2
l.fttlllan.
tl2:e2
l (lltj) 2
1Sl2
t..
-- (UtJC e2
down
ti
Figure 3: A -
lt1""1ortQUllto.{'101)1lt ttn
"'**".
hold
l.U t 1Uy
aM-lho9byollhotqrol
hlw)!-1)
np~~ttpreailoo
.....,,.. .--u:
t . '1JlllimJ
:3
,;d!:!
"""'"'""
ti t2
ol lho M)boanf 1
. . . 11
.J!~
CaNlninl
" i ....
- =- ~
I t
____so.i.eqlrMSlonOOOllrW..
(MhCAO b... to lnd t oollon
lhil n>tOMlon lt ltftl.)
"'*
11.ll~
ll.S1"'519SZl
;(E:._ . .!!t
JI
-----------
11
C.-. Mll
e .
m !
.:;-_.... _ ~
JE
---~
.'.f 1 v-~-:~~;l~rt-st5:f:~:r:r::J.~~2:
- --
Constralnts
The body ora "'lve block holda co1Urral1111. Unliko ordillll'}'
MalhCAD cqualion.t, constrain11 hold exprcuions on both sidca.
Constrainl! come in two forrns: equalit.y constrainu and
lnequality constraints. Equality constraints look like lhis:
expr..ssionl express1on2
(To lypc thc constraint~uals slgn , prea [Alt)a). Whcn a
constralnt like this appean In a solve block, MathCAD aucmpu
ro find values of thc variables that makc thc IWO sidcs equal to
each othcr.
lll((juality constralnts att1 similar, except that they hne >, <, ~
or S in place of thc . As wilh equality constraints, MalhCAD
trie& ro find values of lhc variablel lhat make thc incqualitics
hold true.
1
" .... ,. .... ,.. ............. ,.. . -.:.. . . ~-= ~-, =-::.~::.~= ~==. :-:..:.~~:;-::.
Olap< 14
........
.'
:. l
,. 1
. .. a..a.
. . . u-
....
,
...... .
_....
' .. ..
_..olN
11
] "
;.
eqllation lik.e:
tunct ion(parametr~)
'
,'""'"'
'"""'"MalltCNJ
"'' '"''"'"""
~ wjiJt auc-allc '""""""
' - """'""' cal0Jatlo11 lltOdl t>qo,.
1 \Uee't.~
ilid(vari&bi}
cfuie a variable willl it- ead lhc aalvc block wilh 111
ualioo liko:
vari&bl : rilld(vari&bl)
"""'" l . '1.:1JW1'71
~~r3
dvarl
J ..
_l~
~;
l..:.:
1
' ............... 1
11
irn :iJjj
iiiMC
iiM"~'
,,~- -;,
.~<l"tf
1...,...1 11,
- -'
' )1
11
LUt
a..--- . .. .
.,........
.....
. . . ,......
u
[']
lfMl :. n 9IM.1>
names.
. . . . ttt
poi &.U
l 1
g-
011
u-
I 1
. . . . .
rt..C I)
, Clrel
... u ..
l 111...11:il
.. ['"'!
l
- -
~,.
Ul#h4\U4AiZAO 0244ZMQUJ
,... , ......... .
~ 1
WV:4\f};.:eJl, ./,P::~'1tll'
~-
..
..'' .'
,::~:a
-:J
rind(varJ, vr2, )
! l
1 :al
! FI nd(var1,varZ,nr3, )
l=-u
rz
!.2' .3
l .=e:;,.;-
..1-
ti ohol-' 11
4var:J
i.
.;=; _
rl .. h'& -tl
~. !
1 ,
IOOI
--
_(:a
ca-
' '.,
.. .
t-~
!2.::.r !!I
' ,. a
.......... _........
,
.................
.
t: ~r~
177
Solvinc Equ.1tion1
~ -~
--
n .... _. .. , ,...1.._._..,
4:-
: rind(variabl)
......... , ..........
1
a..... ......................,_,
1.iH
9s
de
Figure 7;
""'""'
) 1
11
a.. u..t ~ ..
1
......... I
1-...11t,
--"'""-
..a.u ..:
. . . . . . .. . 1
...............
L_
~--
..
: :.::; ,, .. ; - . . .,: .
ChlJ>kr 1
Othrr topics
The rtst of this chapl.Ct contains tho rollowing !IXtions
dc.'ICribing VftOUUS A.<IJCCU O !Oolving with !IOlve blocu:
documcnts.
l )'Oll want mon: ckuikd inormation on MWICAD'a numcrical
rncthodJ or solving. i.:c Appcndix E, "Numcrical Methods.
HowSCJlvebloc.ks'lreatequotlonr: . ,. ; ; - ,.
MathCAD trcats eqlllltions in sol ve blocks diffcrcntly rrom
cquations in otlitt paru of lhc documcnt, as describcd below:
,~
l -~
I' .
~~
~-=
:s
JI!
~-JllK--~
IEl:3
,.
~i-~
~:-11
~~~
matricu.
--
,.-.J~
.J.ls
11:; . . . .
~ !~ .~
~:!! i
id!.
:
ri
JI
~1~-~~
- .
. . ..
..
----
--
l'
Solvins Equationa
~=~
~--~
Outcomes or solvlng
Thc 901_. SIOpl undct r:wo coodit.lons: 11 lt flnds a 10lution, or i
ten
symbol.
Por 111 inequallty constnint, die error Is Olf lncquallty 11
true, and the difTcrcncc betwcai the
and tho right
c.prn..lon lf it is ratsc.
1cn
,., thc """ V<ct11r. 'lbo emir vectoc la not accMSiblc to tho uOCt,
111 it 11 .,, l1111t111111111t o MathCA0'1 lnlt\mal aolvln1
hM'\thoch:.
"'""....e"",."''"'
1n1
1r11
"..
1~_ ~ ~.
'l. ..
1i
! .. .
...
~rr
""""'
'' ' """"'lal
wu...,,,
ClllJ411. Muicntu
pru,111 a.o
olJSl)/14J, ""lflruurt
l/w .,,..,.., O I COIUtraJ111t. lf)'f)I'
- Minen t" ,,,,,.., l>Jock, ''"' '"'4id al""Yt
adtJJ11o11a1 <lwdt ow U..
oftlw '""'"
"'"'"'hl~u
~o/
/11e/~
Tho
lltia llleti()Q dtacriboa ....)'l lo deal "'lh lito
ou1comea o/ lito ""'-
di/(~
. ' . . ..
.
"' '
'
<.
'" . .. ,.
e,.,.,_'
IOl141io11tn111it~11.0d
)IOMc~~llilal l"<~/or
lllllltiaa.
Pi11re 111o..i IOl>oo bloct 111ai 1iaa ttacJied 1Ucccssru1
............. '::.,.
...]
. .,
lj
1..
.'
"'
'
. ....~ -'twirt u
.._
.....
1
' . l
rp, ,
.. ' ,
ff7'Hffl~
"'"""d
. .,.,,
1
' ' f,,.Y:?t
' , '),"t.
'< \ " ' '
J.' :: su!:" ioo<
t1 'cr:hl
tft
rtt
pouJh~
"\' d \ 4+.
__
u 1
-,_
..-ii,
.j!J
- -~
-
1
..- :il
-
r-71-:3
~-a
i'G::;; ::O
'""
A .IP
<. .
..
......... ,
.... .! ......
IO a dili-...1.Wlloll.
~,
F-.:3
ol........_
-u-.
- 11
......... ,
(....,, ...
a.da
oo1.u.,
u--.
, .............. )
. .. u-
r-ll.tU
Maihcw can l'Cllan only ono IOIULiai for a salve block. Thcto
....,.
.._
. ...........,
\e
rl . . IUhr-4. - ' U -.
... "''
.....
MotlrCAIJ
''1"'11/o,,z t sol.., b/od:z, Ut ApPelfdb; E,
"N"""rlcalZO/ivz
AletJtods.'
~l
c.-.. ,.... 1.
.:.1
1
- ........
..~_..-
.....
.. ,..
1
l
1 : l
... "''
::ac~z; '~'l
tvI Lt14
') 1
Ctlrt.,... .... 1
...<--""
. ..
, .... rr....&
ID I
noC -
oolulion
1bc solver n:achcs lhc lirni1 ol its aa:W11Cy. That is, tho
roundolT error in futthcr compulations would m&U il
unlikcly aJw 1bc li0lu1io<i coukl be mudcl 11ny more accllfllle.
lbis olen happeru iC you >et TOl ID a valuc bclow 10ll
E :
. .. u.
I -1. Ut
The solver recunu lhc error mcssagc dld DOI nod IOlu lloa w>da
any of tbc Collowin conditions:
..... ..., .,
..
f']
tp..1 ,. rh'-
~"''a
.tu
t _,
,. 1
c..- ..1. . . . . . .
~ .............
1
1
... "
l:A~ ........
.-
n..w.,,..
"l
Q ... ,
LllU
"),,;. ,
,,.; ;
.t.cu
ti ..
~blo
1 '
~'>'
11-
. '
may be mulliplc
1o a set otcqllltions. To fllld a
dUTercn1 10lulion, Ir)' dilTCt1:n1 Rllling vllucs ar m1er an
addiliona1 incqua1ry COnsaai111 lltal lhc
solu!Jon <he& nat
atfy. Fiillrc 9 lho.., how cli.ffetcnt "'-tin l'aluca can Yicld 1
IOIWla dUTC1a11&omlhconciaFiillte8. FiiUrc 10 sho.., how
IOIUtiaa.
IOadd an
1o f0tre
1o lind 1 diffeanr
,... , . . _ . , _ ti ........... .
\'
"~"'""'" .,.., :".! ' '' . : ~ 1 '-"' '. ':'. .r' +''~ ,,1 ",< ~ . .
to p/0111w
CW\fu I '11'1Sllotc. piottbt1 t'4ll /JrO""k
l"'Plilcal ut1Jv flo w/vr, l/w
'Wi/I
11./p
1/w
-labie1.
..
_.. . . . . . . . ,
..&p.lI
Whcn lhc solver docs noc rcach a solutioo, F/Afi i1 marl:cd wilh
lhc mcssagc dld aoe reacb solulioa. ERR is se1 e<Jual IO lhc
magnitude of lhe error vcclDr corrcsponding ID whcre !he sol=
SIOpped; sincc the consu.ints are llOI sati.sficd, ERR may be
relal.ively largc.
a soluuon.
EGMZ= ?4)Cf+IP .
J.
'
- ~
-~-
- -~-- --,
Ch"j)ttt 14
"
:. ti
"-
zcro.
........- ..
(!o_, ... ]
.;,
Solvin& E.qU1tiono
~~
E:>- ~
1
1
~=~
:-3
-
E-! 3
EL!
fi:.;.-
11 l>Ol """"9rglng.
thnn constraints, you see thc cnor lllC3Sage loo ftw COO!ltralota
(Figure 13).
~. :~
~-~
:. flllifflt)
.....,,....,,.,....... -
t~)'.:'.~'\: ?"-,.!~
,. ta
!
:a 1
_ . ...,
... ...-
="
1 :-a
a.1 .. ha ................:
Cl.-
I:
..........
1 :a"
:
.-...... u.......u-: a ..
],.T.....
......... !.
... 11 . . . . . . 1
lt 2
[:] :. n-'
,.,... rw ._ ..., .... _.,,,
-
li-r--I
..121
la
ti:- - ~
~~
11
~-:'.!!
1
ll
IE-- -:3
~--3
d~
JI,
~ .....?_JI
,
'lftJ
rw; 1N
rs;ro 1a;a1p;w..111
. . , _ ....., .. wlU. . . -
low--.
ID F1nd.
- -----.,.----- -..,
~---~~-------- -~---
--~
a........
!::?!
slna= lhesul\'erelTl~lhely
liJ xclion providca llinu oa uain M.a&bCAD'1 IOlvc blockl.
te tt.,
"'"
define a uso lwiction lo 1a1111 ol FINI, cnd a IOlvo block
h 111 ccuation lik.e lllil:
rltt , ..._
u.h -
''-"
u.
t I . -I
1 I Ll t
11~
r.1.ru.1.u l.llli
i""""'"
mcFui
The rcsult is lhe value (or vector ol valucs) lhal IOlves tbo
conani111111Jin tlle valuea ivea ll faari.
urc ll &bowa an eiauple ol dcfuW1 1111U IWIClioa in &ami
'INL
.. -
e;. ,
ol Flnd
............ . .. ,.,a-w.--.--.....:
"-
c~r~
t:- ~
cl:a
[:j~
E:!i
~~
~
-1
e .:a
l"
f, -u ... ;:;
1
.~
!.:~~
1.11
a.r
~.r..c:c.e,u 1.
ii....I
ce-.. _ ...
l--f,
f,
111.l
Sulvb11 &uauona
!-
--1.11..
t::.1-~
........., ....,....,, ~-
.._
v....
tunc(tvul : r.lnd(varJ,n.-Z, . )
hil dcftnilioo:
61'~
r..t..r.oet .1.11 :.
t I
.. Q
.:11
..
1
~,......,_
- '1
a..--t.
wrl U
...
hU-
ret. ~
,.,.. ., ,
1.11
'-'- :
--
' - _ . . . ( - 6 1 -.....)1
' 1 u.
M"
f le . - I
1 : . ''
_._."' . - - .1
rr
- - tr ...,,_.,,
"""
a.a I
r : .ai
1. , _ . ~
rr
" , 1
"'''*[''',]
r.. ~
- - . ti
1-
..,.. .
I-
.........
u-
......_l
-- ~
tm
mr
- ca u
llOtMIJ... l fl..M1..-J
.11:z1
..... J . . "111. ll
. ill
F\gur91e : A-ol~llotw
$97,2111.33.
With a (cw limpio changa, lhe wnc documcnt can be wed IO
IOlve Cor the inlerCll ni.e. Suppose now lhal the amount ol lhe
lean is known IO ~ $120,000. Whal intcrCSI f1llC would yicld 1
peymcn& ol $1000 pa mooth7 Figwc 18 shows Ulc an.swct.
To U$C lhe samo IOlvo block ro tolve Cor a diffcrenl Vlriablc, you
llCICd chango only the variables mentioncd u argumentJ IDFINL
EJ :iJ
~~
~&
]
.__.
r.
----------
- - ~ .
- .....
. .
..
11
1 11
_,.......
, .......... "te
c..u.wi:
11--
,..
,.,..., 1. .:
....
..... _.!
... :.u..
i . .. ...
,.t ,.
u.
ca...
...--['-']
1<10""""'
"""'"-'
:.n..m
r::t...1.. .,.,,., -
change is ncccssuy.
11.
.11
~::...i-- 3
!fu-~
'-l -
new
~=~
Data Files
=--
E- ~
~3
E.---~
lf"=-- -!t
J!::i:
E_-!)
r
.
11
.1
oe
L:-:8
oe riJe.c:ccss tun:tions
~.~
r:
!::
lllCIA/'/'ENDl'RN
~-:!I
1-"
[:.! -:!)
funct.lons
1 j!t
1
~-.jj
t.f!~
E--
'
~
'~
" 'jl
..~
'~.~~~;.'~~::;i''_;;,,~
.\~\~1~
~~-".'>!r~: :'i;1~!~
..4::~''"hl1
.-'".l~. ~.
li.lf.' "~ .~ .l>;:.i.:;;.;r. ' '
ii!:.l!l.y;, ''"'
"
~....
.:;:~~\'!<!'U~. .
.;.,.,;
. - ~~,~,
. "'n~""'1!'ilW<
~liiii~&Elllilillli~~~~tl{~~~~~~~~~~=\:~(~. .. J~~rJ~~~.~j:,l'., ~ ~~ ~;?'.?S5(';3;:'!'~i''.J'.Y:::: 1 ;;v;~rD;;?T''f l'." ~:'} :T;) ;7~~,.., J:I ;>.
~
FUe-accew runctions
e:~
E~ ~
,._.,..
-..
f!Uil(IU.V...)
WiTE(fUMr)
111lIT&(fJltvrl : expr
APPENO(IUtvar)
u- ceo- .s
: txpr.
liUDPRN(fll.-;ar)
WlllTEPRN(ftlovar)
o').
D.ITUU(ttlvar) t
lPPENlPRN(fllevar)
-..trl.w xpr
200, SO
U?SJIDaU((Jlvar)
"*'a.ad
1a41trJ eJtpr
r:~
9~
c-s
1
E.1!1
E= il
d~
1
~-
E::-1a
IE--:8
~~
1~~
rornw
an error.
The WRJ fE(/llellOT), Al'PEND(/l/ellOT).
Each ncw equalion rcopcns thc data file. Wben you rcad
data, far examplc, each ncw equation awu rcadin al lhc
bcgiMin ol lhc file.
E=~
El:a
--
I'
1'>0
Ouptul'
111i' W"CIM1t1 cli~ u.'l:W-., hcl'k ton~'" Ht:AO, WHfrlt. ami A.PPF.ND
lO 1r1I lU11J w111c tlntA iu unshttt.:ll1101I Jiles. An u11st11tt.:tu1cd dala
file is a file lha1 con!Jlins numben, bu1 llOI nocwarily in row1
arnlf11l11m111 .
F,
Fgurn 1 shows IWO way1 10 UJC RE.Af) IO rcnd dala rom a nlc.
.. :. 111*111
1 I 1 .
.,u.
........ -
.&.t.
u.-
,'
: l
1
~..,.,.,....,
. ........... ta ......
mmttt. IRI' ft1e.
..,.,.(,> m..m
eo.,.u nattett r.
...,...1....tat '-La..
'
eU.-(1)
M..lln
' "'
1lof'il'h,,> 1 :l.m
lt..-c.tlh .. ) 11'.3"
"""'
Thc first READ equation defines N u lhe fint valuc in !he dala
file Sf7.EFILE.DAT. Thc occond RF.AfJ cqu.ation fill! lhc array y
,.jJh lhe first 100 valucs in !he data file EXPERMNT.DAT.
Whcn MathCAD rcads d2la wilh lhe REAIJ runction:
F.nch ncw e<untion mox:ra lhc lile and .i.1n reitdinR fmm
Oic bcginning.
.-
ne
DOTA lal
~1-~
,~
,f.
~"3
E -:3
t:::~
~ -~
~~!~
E-~3
=I~
...
~:.:-._ ~
ne -
r111
Jllltlhl.tlte) : fl
' :....... 1
1 : l.'llt 111. ,.,..,
1
nct~:
.~.:e
~~
:.
~!-B -
E~-
d.
.A ~
t:;":--. i:::!
1ll
11
Data Fil,.
varlnhln 1.
Llke lhc READ funclion, lhe WRITE uncdon ltlOllClll Jhc file
and
at lhe bcginning ror each ncw equation. lf you wanl IO
wrhc 1lntn to a file nttn ICVCral dlrrcrenl cquatlon1, - tho
A/'rt'.ND uncllon ln!tead o Lhc WRITE unctlon 111 lho ..:ond
and snhsoquenl oquallons.
tart.,
. .~
t\jfi?IJdfibi.
-ir wa .. tn
to
Dota m1
?.
J 1'
....
,_. " ' - , , . ,. ... n1.
l llMCl->
'I _....,
w ,.
lltM(lll
.-.
........,. __
...........................,.
J
tttt..0 : - -
.......... ....-lt . . . . . _
lo,; tala fll
_ ,...
Ch..- u
...............,
.2S
l.!lt
.n
1.11
.r
1. 111
.!H 1'. 33
.11 IZ. 11
l.I
LU
L46 U.'3
:1:1. K
~
~R
Zl. 5
LY U.T.I
.... ~
.sz u.a
"
... :H...
...
Ln
L1'
tl.'3
K.K
U.D
u.a
'"
u. ..
... M
.......
...
...
.....,
.... ..
.... ...
1. n
l.U
5.46
l.
ILU
f . IZ
r.u
U.
ILO
~ ~f!
o... ru..
e ~
J '!3
-i 18
,.-~
..
191
To rcad from a lile olhcr than thc onc lhat maiches thc
argument or READl'RN, use the ruename command. Scc
the dcscrip1ion in the first scction in Ibis clusprer.
~.,=-
~!i
-u.
-.--~
~:; iil
F~m
~:- l
~~!~
~d!-j
~ !! :8
;!!=J! it
Lil~
.. n 111C "-""- wa
r. . . .
: llADI~
.T1
.H
. ff
:J. IZ
r."
1.11
l.M
ll.:J:J
U .UI
l.U
l.t5
'
J,U
4.4
" '3
1. a
a:i.
D .S
"" H .et U .
t't.t.l
....
... ....
1.Tf
l.14
..
J.12
l . 7'
,_
UI
1.n
l .'3
.....
J . ll
1 .111
U .XI
ol. 13.82
1 ..
14 ..
U.41
.e.
....'"
S.Y
13.K
l.fl
1.~u
1.11' 1. m
1. !l51 1. a 1
1. m
-e.
..:si'
t .1'3
z.m z.m
1
1
:e 1
1
Agt.n 7 : Wriling doll 10 a A"ucand dola IN
>
I I.
C\ICNll. . &""'91&.rrt
1
1
<l)
<I>
. ..
1.sn. t.'511
'l '""
l . .n
, TU4 Lt\..U
'511
1 . MJ'I
L9\.ll
l.,.,, . 1n r. tl'
t.,
Q)
. .ti
l+-~i1
. . . .. .
.., l
RIPllaf-.l
_....._..........
...
.. ...
- . ..
...
1 :
J ,. 1 '
E~~
- - - ----- ----- -- -- - ----'.'~~----~~~~~ .,.~ - ~ 1 ... :~.';?'..:Lc-;2:::L:i::;:J:"J.~.: ::~'. ::: ~.' .f. -
C"1CAD
~...
1'. '3
"".
11.5
U .T.I
ff. '3
...
Agt.n a: Tht -
fc.
do 11e"""'
AQ<119 1
.l~a~
1 ,,
mszawao . a
ca u ;ca :a a .. :
e a cp&X\Mft
~~~~~~~~~~~~~~~~~~~~~
"il
~-
'
:;-::
.___.__
...
--
.........
194
.....
..
~;.
Choptetl5
l :. "
.a~l]
t
~
111111t ta ..
u.r--co- ttt
ttl:rfttrlp) : ..,....<....-et<x,1J,ll
l :a 1 ,, I
t.J ,. lh[J ~1
... ,.1
......
,..
-um
J :
1 '
l.. --
.. . .
l.'181
1.1~
1.11' l.'JOl
l.l'U l . llSl Lm 1.7'3
l . :XH 3.0H :a. .. 1.351
l . .,, <.m
1.m
'-'"'
1.1~
1.1U
~t.~l
l. .,,
-1.m
-2.911
_._
,,.
~tltM:I
..
--
flo<_. ~-A docunWnl lhlC .,... . a dlll !le wilh 10 _...,.. oolumno
ond, _ ..
p1.- o1 ro-m
-~
11~...w -~
-111
1~ =!!
1 ~,.
',
.:!3
IJ iij
11 .
.i
~,..
! ~-~
- 11 .
I~~
1
P1tCDUUlfM : 11
llU'WtC---'' !.
ui 3
l!~]i~
!!i
' 1
11~~~~
~a-~
~~~
'.li-~
1-1!
11!
,.. ..t. te u-
~;~r;:
~ ~! ~
~J.
1 !'- M
_J
'~.:::::ii
t ~~~
l .
+*
ww,s&
Advanta:es
or READPRN
use
Advanta:es
llj)llW.:111
.... t'e
Aat.
ti!
me-.> :.
J
nta - - t..... ta I ....111...,1..., ,.,,..,
or WRITEPRN
Mf]
llllft!l!lil
~
....,.ht.1.
.u\ .._ ..
columns.
: SM<J .. ' . . . .,
............. t
<;\ '= -- -
o.>
(O
(/)
(1)
-...
u..
e>
e
.;::::
-co.
1
.!
6! .
:::!
t"'
.;:
...
!I
:s:
"'
....
""
"
..
..- .;..;.. _
....
-'~
)(
11
.____::::.__,
.."'
..,.
In
11
..;
"'
"'
1 .,.,
"'
.!
'
,.,,. ,.,,...
: ..
..
.!
fil
2
fil
1!I
.
.!
..
s""
- ---
..
i
1
:""
fiTE~
ri 11 --
.:J 11TT-a 1
1
.... """".. """".. ""..
i
"""" ,.,. ,.,. "'"' f
.h
- llT
;
.."' .... .......:.11 i'
l -i ::*
'
:)
1 !
~1
gJI
i. jj
J~! 1
-!1
j~ -l
j:1
;i~ 1~
ls"' J
i-
~ 11 ~:
. 1ii~.!
)(
X
11
:a:.:. .
l~~-:;i
!-
Plots
ll. :..- 3
t::
1.1 !=!
1 1-
:":J
I! ,
11
i1e;- !9
1 1~_] ~
.I~
.- lll
!~
ili ~
11
-a
:1~~! ~
ll~]! .~
: ~!~
1 ~ 11 .!!!
.~ ~!r1 ;;-
~.l:.. .~
,. J!~
l_I
l ~'-:il
- n
Whattoplot
- - -- .
- -
...
~~~~~~~~~~~~~~~~Oupur~16 ~~ ~~~'..____~--~~~~~~~~~~~~~==
Whattuplot : " .-:.
describe
to
on tho plol uca,
E: -s howfollowing
Uu IN
UyfN INOJTOW UyS 10 movcfrom
rrJllni: a plot
auioscaling
and how to ch.ante Ule plot
[T&.bJ
..1
~1_.ru
:o
'
1 1 "
, ,...+;] , -[,;]
"
E- ~~
E~
1n1:1'119m11CYploC
Tbc olhcr rour plac:dlolden bold die uil Umiis. To act u.il
limiu. ai&a' nwnben ar acalat oxnaiooa Car lbele
placeholdtn. lC yoa kavo 101110W.1imill blank,
MathCAO wW ICalc 1ll09e lillliu ll()!!!Nically.
1 aa with an cquatioa, MaihCAD will not procca a plot unli1
~ prcss
}11
"
;1 !
pul
spccificatioos.
Plotting a runctioo
E_ 3
E
><
what
works,
... IV
sccti005
e~
E--~!J
Thc
La
1
Define 1 Cunctionft)
PIOIJTI) on thc
X-&.\S.
c:!J
E!1iJ
~.Ja
1
~:li
1
E!.~
: -11,..,. t . . 11
1
na> :.
:E:2J
-u
g!:a
li
11
d~
~
~-r
!
_ _:__________________._,__40_1.Z_l~U"ta_....,J~-- ...._________..._--------------------~~~-
----.-
~ '~:-:-. . ,.
.:
,,,,,
" ''''" .. ,, .
.. ", :.
..\
\.
202
Chopter 16
Figure S shows how ID plot two vecton against each othcr. Use
this techniquc wh!ll thc IWO vecun ha'-c alleady bccn
romputed at thc point whtte you want to malte thc plot. Both
veciors should be the samc lcnglh and in thc plet, both must use
the same rangc variable as a subscripL
NT!lll: M ICTOll
1 '" 1 ,.,.
1
11<--
l : . . JI
! ..a
l\Dlt DC A ICTOI
~~o
-o.
$.
""
O).
t r .....
1
1
~[QJ
11 ~=
-l
' -El
.: 1
!e~! jj
I~~
:;!Ji
11
l~"'l-3
,.
:~!.~a
,-
1 ,. 1-rL1
l! ~--a
.=.s
E_:.-- .8
Agurt 5: Plo111n91WO-.
' : 1 "
, -r.1
rl
t : Zl -
~[t- :11
I~
~: ~-
R ! ZI
[)a&'lt4!1l!
- - Oll 1-IS
l\Dltl!C -
' : 1 ...
: ..... .. . -J
i' ~- ~
~D
.
'
~11
I!; "" ~
-=~I !t
IH
r[..l! i!J
...[.. ]
!t . lt
.l
Plo11
r ti-~
To plOI valucs and lhcn U9C them In lacer calculations, you mtlll
ston: lhe valucs in a vector. lnsttad o( plottlng a Cunction, as in
Figun: 3, calculate a vcctor of valucs and plot thc vector. Thal
use !hose samc vecta valucs in Olhcc calculations Curther down
In thc docwncnL
:~~
t .. LI. -t..S
J '
'
~-
-4
"1
.1P...a
~'
11 ~1fi~
------------------------------,
- --- - - - ----.........-.-- - - - - -- -
~-----_ _!
""""
Nn-----JI 1 ..
IUll1"' -
t t -11.-t.t "
11
l ..... .
'
, .. ,tJ
.B
I a
-ii
.... .
llllUt"""'
a aoatinc rcecraico
"""""'
Axls11mllsand out05Cllling
:rJ:
~ca
" . "'
.& I
...['a]
:.--
'
.. J:
1
1
~-
.&Mal 1
-"'>.u.
11hl(1). , . . ,
'
$_,%,4ffAiiLpC;&.11..40?PJlfk
.~41,~ P.,....f.!.
\*-ff'rfrfkt':'!5!t't''.~ e#~4.
.
t. ,,
, " -~ . . ... . .
.CA&Alu:n.,,,._..,.:P.W,;t Sl:t~~
Asu UmilJ need nOI be aimplo numben. You can cnter any
1 1
;. t
limiL
n.or
OUIOllOll.D
~:~
fr
..
~~
cle
'
111
Fr:i~
ot
Ploll
:r
~
- rorma1 me plOl
,1,1
rv-e: Ploot _ , _ . _
AJJ w 1raus
plot U!ar1 IM a.W llmlu. For 14':4
a.W. ali uprtuUN""" ltVu IMt IUS
co1"p<Jliblt .Wu.
"
'
'
nu
J J J
"'4
-r
~~I
el[JJ
..B .....
-ii
..... ,t .
"
.,......
.,... l.& I
-ii
-J
11
~f
il.1 J~
1 ..... . -
'
- - . , ......
16
. ,
~-T
--------- ---
~ .
: '
~'.:;):
. . . ,
'. : ,
. )' :
-~
-- - --
- ----~ --
~~: '';~---~.~;~~
. \ :. . .
...
. .(
<.;'.'.}/.'~!~>;:::~
'""'"16
206
,i, ,i,..r:1~\.,
... ... .
Whcn you crcaie a pklt. you can change lhc sir.e, show grid
lilld, !CI lognrithmic Jealing, or ch111ge the plot symbol by
formattittK !he plot. Figure 11 shows a plot who~ sir.e, axis
scaling, and grid lincs have bcc2l changed from thc dcault
Ollnat.
PLOlllJ:
J h 1 .. Sl
, ,. ol+;]
! . 111
1 1 I l . K
: 11
..+;J .tl
.J ,,
f1I)
lllCTOll
-,..;]
- ::_ -14l-l:t41111dmmll
Plau
E-. ~
E- s
, :!)
i:-
~!3
Jocoa.y,1
....,..
1l1w1 pairo i1' numl><cn: Ont lh<I y ul1 p<iCllkallon, then tllll
0
~:
""'JMIPOI)
...Jd-y,1
- 11 -
'
l'loC..,...,..
Yriij ;; '
horllorUI .....
'
I'*" ..
lm! bor. H
1u
'"''
........
po1cydo.
(flln 11 "-- a ple! wlh twa oydoo, ,...
IMoiontparcyda"" ... _lcll aalL)
P\:lilll1.f'llMblfClot....W..,....18hlijtt,li
iyp... ..
U'IO.Pilftlcomododwth1111Qi'ir.-
-h
ll-y,1
--
(.-.rld ioglttlwnlcaly);
loglrillvnkalr tpaood ~
lL
tpaood-
E!~
-1 .
lu.
~-----3
1
[!i:. ~
bdlmlcalo
~-3
~-!
3
-1
~- 3
r~
, .,..1
.1
-n, fornuu thn 11&01. flllh 1bn 11)f'(;lfkaOon amt J111"1H (. I),
_..,
Omoano 1 . _ IXil (1h......,
~-- ~
tyml>ol
:-
~~
tff :,:_
? ,: '.~.' ' !.. t,:~;~'i; \~; ri (' ".: ~~ .'/~:' "1\~( ;~'.!lfiV~r::;r~"~.::ig:~/~~~i~~):t'. ~~r4t;?J;tV ~~~~ f
;-= -3
1'
1 r1
I' 111 - .
a. ..... ,,
una
'
''',
1
1.1
-e
. .,. ,..
!11
~icadons.
l
1
One you have crcucd & llCW Job&I plol Comul. you can:
Creaie ncw plots wilh llutl formal.
1:
:S
Plou
'l<J)
.
'
.
in your conligWlllJOn file
1 1
-c:a-...
JI
r-- "";
-~
.
-OI
"I_111-,s
-Q -[ffi".. -m :=j
.......
~~Z:f;".:Ji !.'!" ,;:f~;;; :. ':/ ;.,.;;;;;;, ';' ,~)~)L,; :; .?:..: '. ''' '~: ,;( {
. . , . . ,......-----...i.........----- k.
,
:9i:!I
'~~~
~'-Q
~1~
[
t:S
!I
:s:s
iE ! l!I
,.
1;;~
l.~:s
~[~ :3
-~~l!.~
1
' e:;:
::;i
~:!!
:1.-J! ~
_;;_
11 : :;:-
.;.
;,.;: .. -..
<: ...
._~... . .
; .
: '-:.. ;
'
~'
Q)
(1)
-c.
eca
et
(..)
ca
.e
"
".,
...
...,.
...
...&
..
"'
J.
......
,..----,
)(
...
N
..
...... 1 51S
x .
...
.....
..o
.....
N
...........
...
lC
""
"
)(
"
)(
"'
lC
ri"
)(
CD
......
X
11
1
ki.:J!!
E: ~
[ :;_J -~
,,.
'!
MathCAD Examples
[~ ! =3
c!j!
1
E:-!]
1
E-~
";,
~:;
..
.- j
: J
Fluid l\ow
An cumple llla! uses !he Moody mcthod io oompute thc
requircd diamerer for a pipo
Automobile brakln1
Analysis of automobile bnlking by eumining mery ova
time
E'l!!
~~
~~
ET!~
1
1
E~ ii
..
I[~!! ii
~J!.a
;I
'
inierals
Home mortae
E.xaminatioo ol paymcnts in a home mort.agie
Bode plol
Bode plot o/ a u-ansfcr unctioo o.-er several orden ol
maniwde; shows bow IO =ai.e and use d&U in a lo plot
f'
Polyaomial curve-nttin
Usin mauix IOChniques and multiple rcn:uioo IO f a
quadnu.ic cwve IO data
~li
_JI
l~rL1
__________________.~,:~z.-.i;;:~z~xw~;~u~ua:
. aaezM;::~ze~L~-..._----------------------~~~~~~~
'-' .
~. ~J ., . ;.
Chlplet 17
FluldOuw
.,,
OCl99tl
trae
~tela
lL
99()
tt
ain. I 10. MO
t lT
!Jal , . 2Jl
(u. lb tor
lbf tor toree}
tt
,
1n
~-3
lb 1 UI
in r IJ
- J2.114 -
lbt - lb 9
,., ,. -
lbt
In
'
. .1
Q , . 175 -
oa
aln
Dp
l.J pd
t.
t 100
, . 12.4 _;_
. .x1-~n drop
tt
pipo
l"""
lb
_. 6-'8 l ty ot wter
tt
4
o. 0001' rt
t 1.12 10
...
'
...
_, tt
!3
uh'ttti+'
H .
pipo~
tl,,..tlC VlecxMllty
..1
~T..-~
r :! 3
.c.. .
a+
Mit ?1btL
f .
t ,t
'i#
M1thCAD Eumpt..
Jllo'll 190h
CJh
~-= :B
rtuld "9chanJ.ca,J
O.fine untu1
~:":"--
ot
4 ....
tt
.:
~-3
'ft)h n:a.pl
S:-=J =~
1 ....; .\,,....
""
1 -
H . 0'1 -
.,.C'9Y loee
J
Q
L
I - - - -
lH.,.
t'
'
tt
_.
L
t'
, '
..
U
l.Of.110
....,._.
d"-"91onl... rloit
L-V
_,
t -
41-wl.onl... fioW'
4.&tJlO
,.~ter
rl rt . .u ..
t l ... ,. (f')
'"'
1 1 . JU 10
.. Q
:L-. 3
.1
'. ~>- ~
:d!:;J
:;d! -~
: ~ l! 3
:g.! ~: J!~
JJ .
~--:::~
- m
D S.U'11A
D 1 - -
Jt.
l.x:ind MtlUt
r.
.,,. .11
.... , fr.
r loq ( -2 ~t'
+ -
'
1 1.JH lO
Q
Di--
D J ... l ln
T T a
01 ..
r loq [- + -2.si
l ~t'
u.a
, ('f.'
R 1 rlnd(RI
'
a 1.n1.10
l Q
Dr-t'T I
o.
J.t1t Ut
1.11'
Chaxer 17
~
E=r!!f
tomubile br.iking
217
MalhCAD Eumpl
.-
i - ,;,
E;:::!!
AIL\USII OI Mn'Qlll;ILI
la1IDQ
M I UOO l.b
ltw 1 U ln
. . I 10 ln
~ 1 100 lbf
I . 1
1
1
o
...u t1-
~=-:rOIU
Jdod llorallon compulH
h onorgy walu1 lrom ltle
wlous value. (Type Et0+1) 10
1E.1.)
~----------
J+l
1 1
r.ctlu ot d l ..c.
bnlllnq foro
lntu-v.l 1
o.
~~ niodt
Ja;-.,
u ...
O,I j i
ou l
c:om.aione
1L
9ec
aa .Ol a
joule IQf
u..'!!..
...
J.J
-=
....~
lT
br l&OOMO
in J . M m
f t U IJo
!l: gtort
J
J
MG
joule
te-JQf
lOOO wt.t
J
J.ltt t.ta MO lb
e~
.-, l ue\. I
g::. q~
plaM.
Start. wlth
oc-plH'
tunul Ion to
cs
r()
O\oo
. . ter hed
~ ( t)
~ ra
pi! t.h
in
.,.
the 1
t
t&rt
n o n u ..
~th
l nt~ rl
ot t UVr
~
1
doal..DM.nt
U\'t CJWM!Ul
C.;.
TUle ot _,,:1-1
'ltl h
~. l.g
!g
:~lSJ..
Plot .,...rqy of
.. a
tw'ICt.lOft ot
CAi' motl~
9eQ,
tr1utlon oo.tUollMlt
1n .p.
E~
rad.lu ot -m..1
, ,. o . u
CDlip.U _..JW
.... ot otir
009(tl .. 1 . lA{t )
-o
da
I 3 't'
Uw
r-.....
r<<tll [~(ti]
S(t)
"".
1. an1
c1t
ro.
E.iJ
......
...
10
~t.b
E:T8
g;:.s.
~i!-
~+
Al\?
~H
64#P
~A
. 14$
1 Q 41 M
!$)$
-j
1 4
--
. \~~~
~....._
,: :i
..
:"'"
.....:- !: .:
11
l[.::r.-~
Chapr 17
IS
::.;..
JIJIU
_, l 1
~_pri~
I 120000
Oovn~
':lf!i
IE:!!S
I 20'!00
lut
l .. t yr
lS
flUl!lb9r ot pen)
(t..arw ot lCM.n)
'
11- 10 -
.,..,...,t ...
month)y
p9pllnt 1
table
ot
,,....,..,..~
...
Loen_~ l ~
' , . 1 .. -
. ,...,.. .........
(1 11
c::::.. .. ..:::::a
tel"a ot 10&n.
l . _r~
---- -t----------
~+!j
pay..,t. - 107. 61
lilc)lw OOllp.l.te.
IE::.. ;-~~
(lm..1'99t. nt)
yr
o.puto""'
~lance
A.bo
por-nt.
1nt
11:!1
a toan_a.owtt
t t>.l.no.
,_,
1
rr=B
,_,
(1 + 1, - p11)'9m!t
t balance
_Jl
1.~- 1r!f
tr a U.,
219
r;-. l!:~
cu.cutATICICS
or
~-~
"
MadtCAD Eumples
..en
1pll~
'
int
'
~
~
.!f
~ ~
~
~
'4-----1~-
lnpv1 tablt.
'""""
,.,
U.UJtC'I AT DIO
t-lanoe
,.,
9:JUl'n
,.,
equlty
lwrDa't PJ.ID
.......,
PRDIC'IML n.ID
,.,
111111
.--:=--
-~
~t.10!'19
ian-rr
rint. fMr
). - 1 lyr
A.11 p11,,_,U t
L:-UHS.H
k
Principal only1
-4---t---
-~~t><J
o.puto
pk. 1011 . 12
tnterMt onlr1
L
k
,., ,.
.... 1
int._. Hll . S4
L ,.,..... 1uue.u
'
: ., -L lntl uua.u
Outpv1 tibies.
1~31
!E:!) ~
eplut
_t
m-~
.,.. ........
111l ~t ..... 1r... U.. dyna11io r.pon.e ot ood-onMr
Yt-, .nit pree.,,t l~ in t.1\9 Cor. ot lkxl plot. The
reaulU ca.-on.tnt hC* to ~ tJ"'9 U.place cto..in a.nd
--.1-109 .... 109-loqi plot.9 1" MathO.D.
. ,. -
(i
e~ ,
v, and
~lnq
w 1 lO hen1
--- -- ---1 -- - - -- -
111
, .... w "
,. '
o n
:....,..t
~~.::.":"!.:: :t!~.:.~~~7~r=~
IOC' plotUnq an l 9nd 100 nd/MO.
,. 1
- ,. 100
"" .....
ln~l
.......... .
bKU
1
~l
a lt
JE.:! j j
i~! ii
!lt: ~ :iJ
'le:
1 e!""
ill
ji
'[~:::~
Jll .!i
ll~-,ii
dotWtlono
NO
:1
11~:8
r
1 -
1 :~
ill
ti.rta. -
""9110
ilE-_[! ~
l li)l!
~~
11e-w -~
' oc:
,J\~ltt',~E;. ,
/' .
, ..
. .
, ,.!,
31
ml! :!I
Oa111lor luntUOlt -
I[
1
~
221
MalhCAO E.umpiol
Plot. ot
or<Mr rt-
'
....................................
-- -
l'["i ' JI
10
'
__
l berta
......,
,._ r-- -
~
---
10 . hertl
__, _ _ SernlllJll
"r--i--
plo~
aubdlv1=2,9~
['["i , Jl
...
lO . Mrt.
, ,. '['["i 'll
10 . hert.
..., -1.-' JI
... r
1J ""91
-r
1J "'91
(k>Qs.1,2,
...
'
+s
. .
:'. .
,,
..
Chopttt 17
Pulynumlalcune-fillinit >. -
. -'
,,..
s--= =
~- ~
~.:! "9
L 3
~-~-
~!.!!:- ,~1~;~~"9.=!r!~'"1~
variable).
cr..u
. ,.
~:!)
, . Rl.A.DF'lat(ct.tal)
- 1...,...,.,
'
- 100
t UADPlal{dataJ)
:I!--
..,.n(x)
4t5
. . r(x) 1 . 1u.10
ar(y) 2.241 10
~(X}
st:.diw(y)
l~l
linMr
211.Hl
~
flt1
alopi(x,y)
ltne.ar(x}
ComputA
AHJS).
---+---
181
....
...
"81
1 . 114. lO
:111
l\~'T-
Jl1
ll~"-
ad~
:1t~
(1''1')
OW"NI
lf*SI> t b b
O::iltp.IU
, . si
U.15'
~ !)
Jll
l\~.1!-.~
<2>
'
+ b
2
erroT"I
- t[(f - -(Jl 2)
IBI
Q
t - - 2
...
..an ..,uar..t
8ft
1--~
t[(f llnMt(X)) 2]
[,..,.1.4)
rttt.S
'
<1>
\~~
:;:!)
:
b 1 int.el'Olllpt(X,y)
x + b
I
L
l.4H 10
b 1 (l' XJ
_.ill
oorr(:r,y) o.157
'
2. 125 lO
10
X trix
t 1
'
. . .n(y)
-1
1, 0
11
:~ 3
110
[.']
ere.te
]!_~ --~
. .,
ca
<nph tM -
.. l.2otl0
1 10
) ,.
, ;I
1000
'[3
1 10
'"
ll ;
'
1000
:: ;;
r. ~~a11-~~~~~ t~1::1
r
; '.,
~~~
;-. __
.....
Reference
0-.17
, ; .,. .
..
~i:i
~:=!
:.'
E:~
~-=~3
!fi:111 ::8
!EJ:!
IFll
help
1F?. I
11':11
11'1 I
lf51
IH1I
cnpu
(f'IJ
sol l t
switch
calculate
IFOI
~:-!!
~
~. 11-Q
[F9J
lrt01
cut
ruto
lo~d
c.wo
umus
IClrlllf'/J '
ICtrlllF91
lCtrl 11 rt01
un~olll
lnsertllne
deletcll ne
9~
[n ::
!CtrlHl
1Ctrl JO
IClrl ID
ICtrl IF
lCtrllL
1Ctrl JH
!Clrl 10
!Ctrl IP
!CtrlJQ
!CtrllR
!Ctrl IS
!Ctrl JI
!CtrlJU
!CtrlJj
!Ctrl Jl(
!Al tlD
CAi tJD
~-. !;
IAltJE
[fll tlF
~ ~
llll t!G
alpha (a)
heta (p)
delta m
cpsilon (()
phi (-)
GA1111A cr>
IAILIH
PHI
[flltll
[flltlL
CAi tlH
CAi ti O
!Al tJP
lnfinlt~
Cl
laMbda OJ
eta en
01'\EGA Clll
pi C1l
ahort
hackuard Mdc (textl
. . . 1. ~ 1 .
1: "
d.111:1n dh l'lnu
fur.,rd "'kla (loxl>
ski p 11110
~ '"
'
, '
:tf;, ::.~ .
justif~ ("IM!d~o"l
r.;'. '.:
rrlnt <''<l111l"I
~kl p pora~raph
quit
f-:.
redispla~
,,,
ski p senlcnce
creatc lext b4nd
draw hoxes
ski p word
el Mark
>-
f
'.'
.. :t:i: U~i~:~
[Al t!A
'
!Al t]Q
CAi t!B
CAltlS
CAi t!T
!Al tJU
!Al tJM
'
theta l0l
rho (p)
si9Ma ,
tau (T)
~-
;1_
'
llU (1)
OMega Cwl
E.T .: j
J.a
J
~
~ ;L
"
-J~
wzx.m4ti&M&A&M~w!P"l"~\J.i!l';\f'l:r.;
2:
+ V
;" ...-:".)',;.
t:'.~~,--
\~-~
TI :c-
\ c; --1-
e_ _.-~
MathCAD Reference
!~.-~
'
I~
ll
1-:3
1~t13
1~- -s
_JI
\~- =~
11
l~>-:3
I~
1
11 :3
T-
~I!
. 11 :!!1
\~- -:;
Optr11ton
Complete llst o( opmuon and how llJ type lhem, ordtted b
pm:cdcnce
Bulttln t1111ctloel
Bwlt-ln functlont, 11.suid alphabctlcally and by typc
1cl!~
Pnden-s nrlabkt
\.
11 :!)
r
\~~ _
1d! . ~
1rd!::;
ll
Command-llnt op~
Slmh options ID OJC when swting MathCAD
1
_J
A",..,., A
~10), IO 11CC lDCllUI ol comrnaoda. and lhcn select comlllalldl from lhc mcn~
command~).
Preu flic), lhcn eaia- tbo MIDO ol lho
eoounw (or lho f1111 fow lcuerJ; tnougb IO di!Cerentiaic lhc comllland name from Olhcr
Preu lho lppropriaie W1ctioo or coo1ro1 key. (Only sorne ol lhc canmands are vailablc on function or conrro1 keys.)
hia IOCtQi cnnw.. lill o1 c:oounanda orpniud by W1ctioo and an
lu1 o1 commAnlh.
al~
~ :3
-- ~
ar:~
;::,:,}'.":'
r;r:~7:~:.~:.r:2h:::~~~~~
.
:;,~:.......
/,~' :~i.: , ,..w61i~W.~~~~~~
.\:) :;
Ma&.hCAU 1<.ara1..._.
Syalem romm""
----
[rl OJ 1 D
lOI a W
(Ctcl)ll
(et el JO
rl O)
(FlOJ a P
l!.!_OJ 1
~C
11'10)
k;:=.!i
1
~e_
!;:! 3~t~
ExOClll OOSCOO!mand.
Show available memory.
Redraw saMO.
X'9draw ______ - - - - - PrinlCtJtT
nld()(lJl11tOI.
p
Hl<>tpr l nter n
oonflqTe fJ l enlfNI
ea.cut f l l nm
._
~IVV CUff9fllCunfigu111hOrt.
EMCUe cnmmandlile.
l o ad ( 11 e n m
HVe { j Jen me
epe-nd fl l n mtt
Vr t 1Jenm
tilname
01 ::~
v
Compute cummaand.1
JJ'I
~-
l.
r.:. '..:il
~r.:i.
~
(rl OJ F 1
(Fl OI FA
lOI r r
(rl OJ
(n
OJ F
r ell
{FlO)
.!i
c.~h.
--~""'ry
ShowHop.
Ouil Ma1hCAO.
l'l~romman.U
(r5J
(rfJ
~1.3
-- l~_
r!..
11
hlp
quJ.t
daa cotM1 nd
tr~OJ_ C ~
Proatu tnduk:o~lewU~~-----------
oelo u l ate
prou
aut.omaUo
l!.!EI C V
ri oJ e A
tr lOJ . c .,
-'"'i.
~J e R
randoN.ls
1r101 e o
d.J.. .n.1on
Lri o e r----o~ tl O! e lt
(rlO J
~ation
d
(on/off)
e a
;;
IOO, dimen
_ wo
_n.vn--"--- - - - - - - Vl..lang
'000.
o;..i,i. ot ,....,.,, equai~
0.--11ct OI ~su ol IMlril.
--~-------
~ I lt
(Ctrl}[l'f}
[F10J
e
t< X
JrlO J ll 11
[FlO J lt 1
~J
oopr
out
pute
Hparate
J.n 1 t Une
Copy roqion.
li a
nplao
text cut
Ropiaceindicaledl.xlwthnowlaxl.
- -
...
- --
,.
.~-.........
r.. .
!..' . ...
.
1
......-
~,,>
2JO
AppendixA
"'r~1~0-:1~c----:-1"-oo-!PX--------,,.~--m-.,-:-ked-:-:-l-,rt-0<-par1-,-,of:-1q-u"""a1ioo,--.- - - - - - - - - -
Jr!OJ IX
[rlOJ I 11
O.tolom.rkoolortorpn~olequnlioo.
l.l\out
input
Pas111oxl0<patlolequatioonviouslyoopitdorCIA.
Tutcommanch
(ct.dJX
(ct.rlJT
(ctrl)ll
(ctrlJr
[ct..rlJll
[r10 T w
width chu
trio 'f:_ll _____-rk
[r10J T B
hxtb&nd
[rlOJ_T_ C _ _ _ cntr
[rl Ol_!_ B _____ b.<Jltwa_rd
I!~! r
torward
[r101 T .J
juoUty
Sj<citywidlhlorlortregloo;rowr!lfl,
Stlb<lg11nlig_oreudofm11hdl1rt.
SW11ulband.
Ceole<IIMlollort.
lnl"'!"_ol lort mohon oommands as bac:kward.
lnl"!j>!~IOOlioooommN'dsaslo..;.;rw'"-MJ=--------AOW.'P tort and rNlign ro91onn11h lort bMds.
!MI
[ct.1Rl'71
frI
[rtoJ
[r!OI
[rto
[rt Oj
{rtOJ
wa
opllt
SptilsaHiinto"'<>willdows.
unrlit
Un;ir.ih1_
1_-"'-"- , - - . . , . . . . , - - - - - - - - - - - - - - -
wJ
~.!
WL
[~a
S"'chC11!10!10ottwWidOW.
owlt.ch
~'l..!~n<U
11 nu
..
S~Fl to.."'J'---,.~_,_(,_~---'"'1!_'"'~-~-J'-':"J!
_-_,..;;_-.J:.,.-~,-- - - - - - - - - -
br-~09u
~
-<i!:" ...,,
~!._t_?l __ _,_______~~~~k
SM1t99onsoll~'7-'br"':::aks=.- - - - - - - - - - - - - -
to11on'.'!.'!Q~~~:..- - - - - - - - - - - - - - -
plotto,_t
- - - - - - - - " ' ! t VA r VA l llft
(ct.d!L
[ct.rll
(Ct.rl ,.
::J
, !.
--------'~1~-:1___
kip~Jn
akipnten09
k lrr- .-urh
~-!.!!!!.~!.1 -~Jfdin_!!d_.._ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __
~ ~~
. ..
MaihCAD Refen:MO
23
1r101
'~=n 9
!~-:.~
ro ""*"1
Ene MAornllir: aoloAlllon modo; pt"'"5 lnd cabMle odl oquaiiori u
ol
;;;;
1r101
~ ol tho rMDagl
;cWfd
'JT=!l
..
. ~~
. . . .. n-----; . . .,.-r.1 :: \~ rL'.i.~ ' :- ; .:~ .1'. ~'1~ y; ..r~':~ j~{'~f!t f."''~.\,;,\~~! s1. ,, "J :.
if ~
[FlO) T 1
(ctzl)a
lno.
ot\M
thil axnm11-.o
your:an!)pl(ctrlJll,[ctrlJL. (ctrlJI, or [ctrl)ll wlh ht anorin
lllll, ond MllhCAO wi1
tho cu-sor backwwd by ooo ""'1l, h, ltnlonco
or pangr!lflh. T)llt [ctrlJJ' lo ,....,. m"""1g lo<wwtt.
'""'
broakp1g11
tr101
w1
oaleulall
[no)
ee
--
Shift oqul1ion lnd plci reolont so thty do rd """ r:>eQO txx.r.dno. Abo
I~ !!:3
........
ji'iOj
-:~: !.3
....,
1no1
re
no
ae
ccpy
[r101 & a
(1'2)
tul
[no &
[rll
deioiOint
(FlO( ID
fctrllJFlOJ
dlmen11Cln1
[no
!I
1~~ :. ~
Otbu commaads
fC..rlllf
f--, ,;;;i
Ja-rrilon rommuds
[ct.rlfl1'71
Jct.rlJlrJI
[ct.rlJ[rJ
LTf3
1
~-r r
rr::l
11
!J
1~3
11r!!l--~
I~
,.JI
;:.
~~
!~-[ 3
IJ'I
' ....
ainllgurotlon.--1
~ <Ultnl oonftipwtron n -
<>PY ifO;k>n--:1hO llQion '*1 be pMled "'" wilh (rf 1Olllio areoiin kom 1hecloanwc.
6'iluh.Wllnnorori1blrihlnfl4-.dolotoo,.,.liloi*
lntlnd_ ....... bolmrl14J"'W11.
Chang~-sr.o...lheamnrdimo<lsiort""""""'"'
-goh;edl,,_n!proot(.JJ.
ilOo oommand
[rlO(
1_g:i.=3
equ1don
[no1
&
l .J
i;;: 1...::1!!
tlec\ltl liNtn
[FlOJ a &
ExoaJlo 1 oomrnand 111. By dotllJl, loot.l lor 1ioo Wllh !he ex!ention
wcc.
ll
..
o
u
ll
.. .!t
ll
S..!t
ll
ll
!!.
i
1
Jt
..
:!
Jii
<>-
.Q.
Ji l
ll
.s~
f 11.
!!.!!.
ii i
ff
11
ii
zl
..!t
.. !L
.
ol
;~
.9
.,'
.s
fi ~
1f~ j
al
of
.sJ
c;f
ll
il
a.11
......
.. ..
~s
..
""
.. ;s
~
S.!t S.!t s_
!!.
.2
ol
t)
.91
J~ &J
l11
g~
li
.s
11
1 JI
1J
.....
_ .. _..;
...a)
!l.
-~
o .. o ..
;,!t S..!t
,:.;
...
;:_ :_ ,...
~
.- . :'
,..-~
;I
;~
.."'
.,_
.;
-:
.-
-. ..f
. -~~
.!:~
::;-:
-~_:e
JI-
.z-i
ti
i.a
-,JI if_ 1
.. Jl
..
;11 &
"'
z 1
llJ
11 ti Ji
fii i
J.w .nz
Ja
Jf
1
11
J1
H ...
-~
of
of
;,!t
SJ
il
lz-s f
IJ fl
ll
! t
f-1 j ~j
fJ
ll
.. .. .... .. o.. o
.. o.. ao.. ao.. .... o.:
; ;,!t ;,
S..!t
o
!!.
.!" ~ d
jsj
!l~ l
.so ..
..1
11 J lf i i'J 1
Ji
.s1 " la_.
1
lfis J
i
J
~!
i1t
JJ l
f1t
. 1 Ji;
ol
1
e:
'"&
~,.
s ~1
1
! i 1 lai
tlf z ! I zj!,.~
.ii
t ;
l!!J
=~1
i!!
... .!"
- !~I
~ l
Jiij l.sz 11f?,,'
: R
- --]
~!
J.H
j!it
1-ai 1 lf
Ja
jJ1 u
I'.!~
.Jf
lz:i ~.!l..
.. Ji 11:1
li!1 ir
t
.
UI
lji
1
'f' f . l ~t Jli .
!li l 1t1 J~~h !.I
..
o
....
o
&
1
l
;; ' '.'
.
..
14
Appnf A
(FlO( r ll
.... 11.,.....
1r101 r
(rCJ
-chtxl
(rtoJ a r
(ctrl)[F5J
~"' 1h0 documtnl "1d resot. lnstMd Ol rlbldiQ lht cooAQi111on ill,.,...
lho buil-ln l)'!ltm tt.llUb.
Mleetprlnt
(FlOJ 8 8
stlOd prinllf typt. lf nis ,... spdiod, pr.w.il scrofling fisl ol piintn.
Mpartt9
1rio1 a
.......
Sot val.JI of syStom YWbfe. Wo<f<I onfy for system vlNlllos: TO(
PRNPRECISION. PRNXJI. wmrn Oll/Gtl.
tl<JpUne
(ctrl]L
$q,toooxtlinlinttxt.
tl<lppar...,pll
(ctrllP
~f<.ip iO 00'1poragraphIn1111.
eklpMn-
(ctrll
1ldpword
(ctrlJW
opMI
1r10) 11
(r11
1r10 J
1re1
1111bend
(rlOJ T ll
Jctr1JT
C..11eitiil*idiiiliiollilii anor.
frldili dl.n
u~::r-1~
2L :
MOlhCAD Rclemic:e
JriOfifi
(ctrl)[r7]
llntpli1cteen;dltCMcrdOciimto1lnbOiiom,-.aow~'M!WT~
[E~~
11 =3
g:_l_
ll
([ -=3
' 11
[~~
m~-~
JI
[[-l ~
ewllch
umpilt
li_
,
,_
...
~l"::
!!:3
11
lf:.li ~
1(
{f::- 3
11 .
l~-.3
l~~~ :!J
11 3
lf. ,_
lf; !! . ~
~J! -~
lt--:!!~
l!I
Key reference
Control keya
Spedal keys
(ctrll!Br-ll:J
Abollcunwtlac:tOI\.
(Ctrl~
(aaoJ
COimntby .......
(Ctrl]a
(CtrlJ(.JJ
[rlOJ
juad!y ("ru!Ql1
(CtrlJO
pc1n1r01A1"A1
(ctrllP
(Ctrl]Q
(Alt(lill
Ci111em1ut..
(et.rl)ll
~.
{r1J
Functlon keyft
lrH
lio1p
(r21
COPJ
....
jn
out
(r41
(1'5)
lood
(rJ
{r71
opllt
(rl]
nrltcll
lrtl
colculltt
1r101
Commondmon..
pHll
(ctrlll1'21
lncopJ
lnout
)Ctrl l(r)
- f'41HI
JCtrlJlF5J
tllfth
(ctrlllrJ
'"llilcl
(Ctrlllr7l
un1p11i
(ctr1!1rI
(etr1Jlrt
1..... nune
(ctrll(r101
iCt.r111r1
(ctr1J(rll
(Ctrl)ll
C..lloltdtwd.
(et.rlJT
(Cl:rlJD
{ctrl]r
(Ctrl]L
Cotnmnlm...._
dtlollllnt
vncn 11
...
;;;;
(ctr1J
lidp-(11<4>10nut_,,,.fllH1)
1ctrirr
(Ctrl!V
(<hwbax......-.d~)
ictrlJW
tid~(t~IOnmwonllnltdj
(CtrllX
1
AppondiA A
11r keyt
1 l+-1 l...1
.......,.
11 'fal>J
~60Wiilailii~TIRI
iW- (ra.bJ.J
.. _ _ bodl_wud.
(P90.J
...
MMllilililUI 1~1.i:i~
(:_.-----.....-~lo nal ICkllndtf 111> llcp.
11uoo 1o ~,arr.r. rogicn u111..ay
~-lol""""'Ngin
-lo-~
i-1
[Zadj
Saollll~ol~;-cUliiiioini
'"IJIM.
El_i ~
E 3
.1
~ji
..
lcili1ollldili~--IOlii
lllQiaa.
.. _IUll.OW~.
.. ~ CI pal: ..... cuubolowhgion.-
....
_.J
t;
MalhCAD Re!_,.,.
1n lhese romu:
o.xpntion .-.uJt
Calculalion equatioo.
a.rJ.n&bl : axplon
Defmition. Typc colon ( :) IO llCC
ftr.tabl :
,ji
E::il
E2! il
1
~-il
tJ~
~ expreion
e.1<preion S e.1<preion
axprion
Conalltint in IOlvc block. (Presa (Ut) IO [.Ut}) IO ICC ~ l'reu [Alt)( IO - ..)
e eiprelon
Plot.
JI
;-: .. .
A variable namc: L
A subsaipied variable: .r or .r;,r Use lclt lncket ( [) to
indcaic subscript.
A supcrscriptcd variable: x<i>. To typc a supencripl, n.ss
[J.lt)A,
axprlon
~~!~
,d!~
exprlon .. exprion
axpr ion > exprion
axprelon < e.xpreion
....
ran~
!~ = - ~
.\,
G1T9D
t ...,,,, :..
cter.tn&bl axp~..lon
Global d.cfmition. Prcss tilde ( ) IO 5CC .
ftri&bl
. > "
ran~
l~f.:11
~.';J.:
;: ;r''-"'
;:~-.' z;:;~:!
::r~~:.;.~ii~rf:/;%(.~t-:-;'.~{~;i~~p; .i$.1i'.iJ!t!1~
" ,... ......:,"
.,., ~:,,.. ~.~ ..,.::SL..J! .o!!.t 1?,...~j;;J,t~?:-"~ , .. ,. ~~f.111,~~..m;.K
~ ~
..
~!~
.....
"" '".. poge.
U...doWn ''4 OiPe91.
W-loend .. __.,....
f::i ~
~-il
.....-cbiil s Wllll!Wnt.
(P90p)
L~
, l'l'CA
A fonction namc.:jfx.yJ
rr~
. .,
7 :-: '('
: ,
_ \
''-
" 1.
-~--
- -
~: .'
2:)8
AppendixA
Operaturs. : ..
: <; o:
:' ..,.,.
: '~-!!
12. "Opcn111n.
.ti
t"' .,
TOSEETltll
lll'lllt!S
Of'ERATOR
TOSEETlllS
Tll'ETHIS
Ol'ERATOR
(ll
au(a)
Pnnti-
ti
1$&
..
"
r'
rl
&[1
.. (lltl 1
~(lflaUnnoll!lllrtxJ)
[lltJ-
_,
FoclOOal
...
lT
(lltll
Complo corjuolll
'
TIWllpOOI
ar
...
Nogllllon
Il
[lltJt
.;,
111
lnYw (y. 1)
\a
,.
aJr
..,
""1
lxJ
Sunolwctar...,.1
8q<in locC
. pradud
n.
f.~)dx
..,
0.lvllllwl
Mdltlon
S<Wadlon
!ctrll(.JI
..,
..,
l,J..I
tf
....,
-.,
..,
lni1gtal
a+y
1-f
... ,
ldf (&)
l!ri !1
.:>y
0.MIO!lhn
a<r
IMathon
(lltJI
!lltll
(lltlt
,. (AJ.ti-
a,r:
r
r
r
MalhCAD Rferen<:<i
:1
lb~
.I
e:._. -3
"""''
~- .
:!11 !)
1E-=- 3J
11
!l
1
,~. :3
~
.,_...
y
l.
Complft..p.tolOn
..... ..,
-
l'lleQ
~I
~ ..L.~
ftiWiiie-
Vedar oxnuliiil
Militlt"!)llOllon
---
trlgorlomtW1o
V~i~-oriillcidlllwilllalllMiM
v..w.i. .....
lin(r)
OOO(ZI
lln(zl
*'(zJ
tngle(x,y)
;;;,.. lrigonomeii!ii
llWl(r)
kOO(lJ
HyperboUo
lim(z)
oooh(z)
llnh(zJ
;;;,., hyperbolo
alinh(r)
acosli(Z)
ri(l)
e>q>(r)
log(z)
kl(zJ
LaNi
YU(1)
J:i(J
Y1()
J1(1)
Yn(n.1)
io(n.1J
l\O(r)
lm(z)
ll'g(Z)
C;111
AMI ex"'"'""'
..
' ~fi ~
E~
--
Functlons by type
Uuilt-in func!ions
'
f'.:'JY~r~.;~~~~~r~:>~;rii;:i:;~~rsr~i?J~Z:!ztt:'.:tr:.~1~~!ttr11:r:~;ff411.~:x:
'E.LI
- .!
-~)
d1
lSJ
11&
UJ
.:~~L=3
;
A-
('mllnlc1llred)
File_.
(1INOl\nd)
UiiMi lnltrpolUon
~blO 1ptlill
'""'"'FOUiftiliiftllOiiil
-AEAD(-J
WRITE(llltnlme)
AP!'ENO(.....,,.I
--AtAOPRll(filtnlrMI
WRITEPRN(lilt<wM)
Al'l'ENOl'RN(llltnome}
lnle<p(w,vy.x)
oaph(n.vy)~Vl.Vyj -
. llM
dllv)
YlciOr ______w;ih(v)
Mllril
P11>i0e<n,vy)
hooJ>(C ....'r'(.}
llllM
lcnM
ltotM
11xtv)
mn(v)
~MI
lr(MJ
o:ib(M)
idOitlyln)
-.igrntnl (M t .M2)
Ncl lqUalto
IC";I:::.
PopuililoiiltllliiliC.-mMi(Y)--
1t<W.1Vl
LlillS ttgretllon
olope{n.vyl
~(n.v
erl{)
cnonn(I)
Rtlllllonal lqUllls
~f ~
I!-- 3
:1
Rq9
1
c.-~
1
g::. ~
_J
~_.
=51
. 1
8(11.12)
""1Vl.V"f)
Tiiin..tlOn
Soimg
-
'-1xf
i(nl,n2.n3)
.,.M
eil(J
-(llpf,vw)
~(lrurvaio,dlllj
41<1)
t111i1;11.x2)
rrd(I
mod(rl.12)
~Cllrd.11 .12)
f
..r
PI
1
-;:r
;r
::
,:.
~
Ii
gl:!~ f 1"" i f-
r
~
!
~
. i5
Si
L --~ .'_ ....'. /:_r:'.,~ ~:.~..-.>~ .~- '. '. :::. ~: . ~ .::~z.~
6(11,...,
...
Resul Is O
n lhesamo, 1 Hlhe lh'"
lr11Jmnts on """' penn!Aalion ol (O 1 2). ond
1 Wlho llvff llVJmlfllS . . IJl odd ponn!Aalion al
(O 1 2). (To typu, pms (llt]lt.)
V.n.btt 1\M nW
llal.14159 ...
111)
ta2.71821-
CI()
ur117
f(nl,112,113)
w..,., ,,..,
" 0.01
''
auaxs.o
"'"'P.
llRllCOLllIDTB a 1
PRlll>RZCIIIC* a 4
writino lifM
'"""""
[::'~3
E::r~
L-::s
~
:!
E.=r~
--Jl~
1C.....:.
l,J
.~; !3
,c~!3
:=11:
1~Jl~
l !!;3
=[[~
l!:.:.--11~
:~
:~.u!J
11
[llt)ll
'l
[lltJll
(llt)O
[lltiD
'
(lltJll
"
"o
Spet:iol charocters
[lltiS
[llt)O
(llt)ll
4>
(llt)r
(llt)I
[A.lt!L
'
(bact.quolJ
(prJmel
(llt)Q
(llt]P.
(llt]r
[llt)O
Jl
[llt)lf
..
31~1~
fmoQNry
Haudocimaj
1570
dlil
100o
-2.541
li
1M
11
2..2111
1
3SX'lf
.1000q
-..
Oati
l9Cll
(lltl
..
ct.v" ,.
.:<----"----"=---"'-=-"'-:"'= -- __..~
App<sv.liA A
:omm1111dllt1~ opllon'I
1 lllft MalhCAO wldi aimmand-llno opllona, 11 lho
amp1. cypc:
DOS
NCAI> opcl.on
....,,.
........
:l:n~
Error Messages
:E:~
~~AT&T'-lai>(640bY400~-
..
~,\'l;l,lil;;-Ailicira;-
__
......,_
~iiiiiiO:l.i~'Oi;Q~
l~~u
~-
u.o-~~-.ory.
l[!\3
1E _ll3
I~:~
1
Efiii
~11'!1
I~
_,_
11
11 :i
lb~
UM~ooiar 111(roqurEGAiMlll2561Q.
Cri
e-.. 11 ~
Aaod~~
,..,
------ ----.-.-----
1 e::
- - - ----
C" . 11:::_-,
/e_ .. ~
1 ;.
!1a
ll
r
-11'r-r'
: .
~-1
1 1!
;.]!
,ji
UI or CrTO<' mtUl..
Crwu1lctc
uwa1iocL1
OM'HJln9
App<ndixB
"'""itc
1cn
maaix.
caaaot talle supttSO'lpt
You uscd a ""1>111Cripl on 90lllcthln1Olhcr!han1 rnattk
dtliDltloa si.et nttflow
y ou ~ 100 _ , ncsllld in:tlon dcflnitlonl.
IC::::-1
L-F~
E-:a~
:L !!!
dom1ln error
You cvalUllCd a runcdon 11 an lllcpl aritanent V1l11e. For
cumplo. you 9Ce lhis mor ir )'Oll uy IO oomputc YO(./).
E:r~
vector.
equatlon loo larse
liat) : .
Is lllepl.
. .
24
Error Mcssagcs
dupllrole
You lriod lo define the same variable twlce In thc samc
dcnnilion. You sce thls error if you crcate a vector oo tho
len sidc ola dcf111lllon and usc the S&nlll name twlce In that
L ~-r~
E~
L:l 3
[_:1!3
,;a
:i.;
i;:-7 . ,
I~
l~.r~
I~>~
1d~
I!::~
You abo sce thls error message ir yoo awe 111 lnvalld list
In anothtt conleltl, for examplo, In lhc lisa el y-axis
expressions for a plOI.
me error
lll<aI f1c1or
You cn1cmd an lllepl cxpmulon for the placeholdtt 11 the
cnd of 1 calculalion equation. The placeholdcr 11 the end oC
calculation cqualion requiles real, non-zerv, ltalar vahJC:S.
llhsI ORIGIM
You dcfincd 011.IGTN wldi a non-lnlCRCS' valuc ora valuc of
1111gnhudc grelltt !hin 16000. Thls error miwb lile first uoe
of a sub9crlpt &her die lllcpl dcf111idon of ORIGIN.
ID<plranp
You dcl1ncd 1 ~-U.ble wlth a rane MMhCAD co111d
not lnteq>rCt. Whcn you define rngc, )'JU ml15t wc onc ol
lho ollowing forms:
llnr : n.1 , .Dl
(f111* ltnr:nl;n2)
exnssion.
lacompalll>le nlll
1
,
Appcridi.< B
.,
wltlen11lna1e dlme..io.
aulnc optraDd
da 11411 ol bouada
lbia mcsup maib a lllbel:ripl or 111penaip1 lbat rcen IO
a non-cillClll amy valuo. You - lhia meuap: il you uso
a subtcripc or tupa11Cript lea lhaa O(ar lea 111111 ORIGJN,
il ORIGIN.,(J), ar if you 1111 a lllbzipt ar supcncript 10
rcct to 111 amy ...i. bcyoad dlcleO doflDCd carlia' ia lbo
lk>cumcnl.
c1u toolarse
You llicd to
a lllbecript ar IUpCllCrip& 1111& uceodl
MalhCAD' limil ol 800>.
'*
lcrrvpltd
You inwrupted MalhCAD by prcuin (Ctrl)A or
(CtdJ(8reak) wblo 11 wu calculalln1. To nocalcuJatc tbc
lll<td cqualioa, pul lbo CUllOr ia lho oquation IDd prGll
{r9J.
opcrand.
mluln1 operator
Ali operator is miuin Croen an cqllllioo or exprcssion.
ami be 3-vector
You UHd a croa produa oa exprcssions lhat arc not
lhrco-element VCICIDIS. Tbo croa produc& 'WOl'b only Oll
lbne1emenl VCCUQ.
autbearna:r
You pcrfonnod u operatioa lhat rcquirel 111 amy 001
acals. Por cumple, you - Ibis CITOI' il you define a
IUpCQCripled variable u a IC&lm'. Since a aupcncriptcd
nriabl rcpracnu a column o( a malrix, you m111t define il
""-
be dlmtuloaleu
1too1oa1
y ou Clll 11111
iD lf'G
ID teplnlll
! [::!ii
! ::n-~
1
1 ~t1~
/E-r.r::!i
1~,i
''~]-!)
11~:!1
![~ill j i
_.lfl
llE~
:il
1 -~11 :1
' ~
ltP.3
:1! ~!:1
l~~:ll
1
l ~-=
11
EnorMenaco
mllll be lolter
You uscd a oon-inie11ct exprc:uioa wherc .. iniecr il
rcquircd, Cor cumple, u an arwncnt to lhc idellliry
zcro.
must be posltlve
This error mcssage mark:s a plot iD whicb the limiU or
valucs Cor a logarithmic axis are zcro ar ncalivc.
MalhCAD can plOl only positivc valucs oo 1 loarillunic
lliJ.
mual be rane
You usod 10111othing 01hcr than a rango nrioblo in a place
thal rc(uircs a rangc variable, Cor cxample, u lho lndex Cor
a swnmation. Thc index or a 1wnmation appears below lhG
summatioo symbol. Thc lndex mwt be a variable lhal is
dcfincd earUcr u a ranc variable.
muat be real
You uscd an irnaginary or complex-valucd c:xpression
whcre MathCAD rcquircs a rcal-valutd uprcssioo. For
cumple, MalhCAD riquircs rcal-valucd subscrixs and
rcal-valued awnenll Cor somc buillin functiona, lncludin
JO, mod, and ~.
mllll be scalar
You used a vector ar mauix upression whcre a IClbr il
rcquircd, far cumple. u die umenl to tbc idelllity
Cunctioo.
ml&St be square
This mor marb a non-square mauix ia an operatioo lhat
rcquircJ a sqwire mauix, sucb u delaminanls, invcnc, ar
raisin coa powu.
1111 be vector
Thil error nwb a malrix or icalar in an opcntion th.11
riquiru a vector. Cor example. wilh lhc :t opcnw<.
Chai>tu
Solvill1 Equalicns.
llO
malchln GivtD
This error mark:s a Find or Mwrr Cunctioo wilh no
malChing Givu1. Each solve block lhal cnds with Find or
Mwrr must bcgin with a rcgioo coruaining only the name
Giwn.
--scalar nluc
You uscd a vccta or ranga! ex~ssioo wherc a 9C.\lar il
rcquircd. For cumple. you sec this message iC i il a range
variahlc and you tJ)' tu entct an e'-lu.alio n likc a
.f
.;> .'.1
1- .
~~:~r:...
~.
....,_.
' 1
441.MIQP.f .
~;44
~u:a@
1 . You
&<Otanamc
1 r
u:.:m
.
- .
a=;::
-... - - -~
- -
- ~
- - - , . . . . , - r-
e-- - -
2.SO
AppcndiB
d1nlncanct loet
sl1nlncan ndut'1'd
".
nplulty
You evalualed a function or pcrformcd an operation atan
illcgal valuc. For eumple, you scc lhis error if you divide
by z.cro or if yoa try ro invcn a singulu (de1Cm1in1111 O)
maaix.
clcment
lbck ovtrllow
You cvalualed ., capnssion lhat OV'Crf1ows MalhCAD't
imcma1 suick. Simplify !he cxprcasion or divide it into two
subexpressions.
loo'"" ar111mtnls
...,--- ----..
e: l.
~ :.:l
.;: : ,
::::':!
~ ~
s
~-!!'I ~
~ - :
:::::J
C;
i~8!'.'': :::;\;:
t!rror Mesu1es
~I
J
~r~
anmalchtd partalbesls
Y ou cnleted or calculated 111 equatlon that con tal ns a left
psrcnthcsis wilhout lhe nwchlng rlght parenthcsis. Edil tho
equation by rcmoving thc lcll parcnthcsis or adding a
maiching right parenthcsls.
~- : ~
~3
c:...13
e:: ,.
1
~~
., 3
~~ :.
g:.3
~!-~
E: :! 3
g .J'.3
_]
lf-.1 -3
~~t~
1
---=-=o--- -----
,......
r-------..Mffill~
! .. ~.
~ ~:
. m';':~r'0~;
~;~
:.~;;~
;zj~':;~
:,4r
,., <t~
-------:---------~""'-~1.11
..J
.,--.,::"I
,
-rrlr~
-:r
Startup Options
'-~
E! ~
!:13
EJ!i
[;:.Lft
c!:!I
Ei.il
1
E>:il
d:il
cr
E .:JI
!;!:JI'
!;:!:JI
1 $
114
r,
Pi
IOlit7.4''.
":t:at:t:i-1;~tff4f$AP lh'fr*M..
....
1.
: . ,,. .. ..-:..
,,.,
:., ~;
i.
254
Contentsofyour.MathCADdiskeUes- .
System Disk
ll:MJ.EXE
ll:MJ.llCI'
IC/TMllCf
Auxiliary Disk
IUOll(.llll
ll<SMCO
COSllCO
UllCUllOIOICO
IMlll
~tolo
lar MllhCAD.
tJJen11H1).
RE.IDE.TXT
AppendiC
ll:Ml.IV
~'~
modo
IL=
r'-
~..
e ~
t.~~
~-! ~
1
LS
~-3
_I
L= 3
E ..
13
1
L3
1
[;-:1 3
E;- -3
~!~
El3
1~
b-!~
d~
;1
.;.\':!~' >' n'"\~ tt,f'"'-'l"'~h~ .:{t ~-.r;1 ':~ ,........ >".-.:":: ;).:~ :.\'b.'~~+r~
Startup()ptlont
cllsplaymodc:
_.,,...
.....
;e
eo1or1Qnpti1ca~pllr.Thla
M
l
ICAD /s
'
modo- ,
fH
lhla """"
~ tn!'IOJ'f. l )<lll at10Jrlll lo on &4K EOA. rou ,.;a noc bo lbla to - ""
..,_ on grophL Ol1 a MK EOA wth a oolor
1CAD /C /M
MM"
clll!lll)', -
.tM
itC
rr. or v:.,
~ d Cok>-~ Adlil. T1 la
/t
/A
AppcndlxC
1111
lWI:
1"" 11 codo lor ona OI dio 64 colon lhll 2.56K EOA can
oaenL /r spocillOl dit loreround Clllnt; /a 'l)OCifla lhe
'"""'li
ICl'elll.
Lpuunilwkw,
~--
11
.~~~~~~~~~~
Mllad
....
NO.-
Expanded memory
/ru
tao
,_11-
5!1
li:'.:-: 3
_J.1/3
l!_
1-
Uyou c1on1 want IO UIO ali availablc Cllpendcd mcmory, use lho
/L switch. Typc:
MCAD
/Lnnnn
.f '
~ "':t
l.
!...~.~
lacnaino die codo for die cdor )'Oll deeiie, UIO lhI Chlrt:
3Z
.J
l...r~u;
15~
l!:u.:il
l!:.Jbt
'
Swrup OplioN
~~
J!:1
l~
wik:h,
MCAD /RJ:J.lename
MalhCAD UIWUCS. tuo ... ICnllon o( .MCC if you don't spocy
one. (Don' t use a spaco betwecn ta and lhe narno of lho
command lile.)
To llMt Ma1hCAD without loading any command file, ly>C:
/a.
!~:1
~!.:1
tr:
-]
LJ:I
I+
wid1 lho , .
llCAD
' chantt tlirt'CntiNI cvcy 1i11lf' you ui;.e M"1hC AD. Acld
JATll C1\~
(ll yoo aln>ady have. PATII command in yoor Alfl'OllXOC.BAT,
jull .. kt 1 MCAD to 11 .. ""' 111
- 11
1.n.:i
"' ...u.
:, '" ''
lf you ha-e 1 hanl disk, yoo can use lhc PA m conunand IO avoid
UMUO\AUtl
)'Ollf j>Alh .)
Wlicn yoo lypo lhll, DOS scan:/lol ltl :'>1111," fuwls MCAD.HXH In
lhc MCAD dircciory, and Nn1 iL
Whcn you uso lhis c:omnwld. Mal.hCAD looks fa< lhc Help file.
lllc priAla-<lri- file. llld fonl files in lhe C.'JllN <lir=ory.
--......-.,._.._
:~ ' .. ~ . .. :. ~: ~:~~.;: ~\:~~r.
\ ..
; '} ;:
. 251
::<:.:{:.~_:..c/'.~c~~.:,~
:.,:::;::;,~
AppcndiAC
L;3
Es
1
E :!
Printer Drivers
~!~
..
e ~
ET!3
E3
E'! 3
L l!!!
1
E-, -~
;;i3
~
E~
l
l
g=uJ!
E: -!!!
~f
Plolltr drfnn
How plouer drlven di!Tcr frorn printcr drivers
Addlns a prlnter driver
1
Appcndix O
dtllcriptionl whcn you Wllll IO read, auu, or modify a
ien
'
jl'31
-in-
lf..... !I
Componentsofprfnterdrlvers.
11;~1 - ~
,m
11~ ~ ~ ,-l
.......
11. '" ,,
"......... ..,.,,.., .
nra :!I
irlLil
Prldl ..
f1.
444p p ;: ,t ;.Ali.ASJ
,.u....
~1,tt
"""'
'
m.l\nl,IC.
clw
etrtng.11rlngl,
r.,.,
,,.,1lla wt,.t
\UTO'Q.)"a
.._,. \lm
11~ :il
F1g1n
),
lfl'
_._,.. _
. ..
1: Pmlof- llle
Thc prin1ct-<lrivcr file is an ASCU Ole like any othcr 1ex1 lile.
You can rcad and edil il widl 1 ICXI editof.
ll
-~;;;,; ,he
\nnn . wha m nnn i111h i111al numl)("t ftw d..r. ASCII Cotlc
(oc lhe chwllCIU. For uwnple, \027 relfe>all.s l!SCAJ'H
nhoaJ.,, . . . .
"ll"r'-ltZTb.9t1l'-'l'f'o"""'
ll\1
convcn1iona:
o..adrll
Riiilf....-.wtio1tronb.nlndoamain<Ulm
_,...,,
""'1g2, ....
Cb,...hr Ntrht ll 6 Y
'6 UJ \lJ \1
11~ ~ :11
Qtt}.P /~f'
9NUW,U'tZ4'.
''"''l1Nl'f'\l1'W\lft
ll~lll~,.,.
'
lll1
. . . . ,. \lll'I
u~ff:i1
~:a
'""'~
~rrlll~
lL~l.:il
CU.r.clH' "9lrl 11 a l Y
11 Lfri :11
J!
ll .. 111 :JI
I{
261
Prinier Oriven
JII
[[p..=-
11
'
dcsaiptiono bclow.
U a strin is llOI appropriatc for 1 particular prinl.et, use lhc
null string (\O) iJl iLS place.
llic n:a1 ol lhs aoc1ion ducribcl CJICh linc in lhc printcr driver.
Decription: n. ~tr1ng
. ;
._:i
.~.. , .~
_ - '"
___
~- _
--
__.._.-
~ ~ _
.1. i ..
262
Appendi O
Forcumplc:
l>eoriptlon: 1. I Orapb1o trintr#
Llne 3: Resct
ao
ool
For cxamplc:
baat: \27&
tltt configurotiofilt.
Thls llnc describes the slzc ar text clwacten on the prinltt .,d
tells how to print charactcn in thc IBM extended charactcr ICL
MAthCAD u~ thls dc8criptlon when lt aligns M>xt and graphlca
on your prin~r.
The formal Cor a prinltt descriptlon Is as followi:
Llne 2: lnitialiution
This line cootain.s die codcs scnt IO lnltiallze lhe prinicr.
Inlt: 1ttr1ng
Forcumple:
Inlt: \24\0277\27r\27R\27o
effocts.
rlan~me
Forcumple:
(1).
l!::f ~ .
~ ~
E . J.~
ll9aat: ,,trinq
it..;.,.
:r:
EL~
1.
L~-!.3
r,-
E-;;i
~~
L:':J
.:11.::1
~
1
Thi.t line determines lhe fonnat for lellding do! graphics to the
printcr. To tell a graphic:s printcr to prin1 dot graphics. thc
computer muu 1end an C1C:ape code spocifying thc number or
bytes of graphics to follow, followcd by the graphics in binary.
This line in lhe printcr dcscriplion lells MalhCAD what type of
escape code seu up the prinitt ror graphics.
Page: CC z 10 \12 \O
m i.t the number of printable llnes o( tcxt per pege.
MathCAD uses this numbcr IO determine when it has
L Vl
"'""' "'""'
1 !..!)
Set tht Systtm Dld/or o /lst of/0111 ji/u. T1tt /olll jlk3
/IJ:t MDnX/l.MCP, rtprtSt11ll1110/0111 m """
high ond n doti wiM.
1.
i;;-f.!_
~~-p:...:,::sit:L{.:_; .. L}:1..2}!~J.tE:n:?r./trf~tfitt~~:t~::!1rrr:n:
Prlnter Drhen
Cor lWO ASCII bytes whosc value spocifoes thc num b<r
ofbyw of graphics. MalhCAD sends this informatioo
low bylCftrst.
~i.'r
------------------Appw.d-bO
t r JmZ 11lho'*"'POCO<loClfuoJ1roplik1. (lf llluo la
DO code Clf uoJ 1'9P/Ucs, 11101 Dull (\0) for llll lllin1.)
is. w11
odicalUtl Ohy,.
1lis """"'"'' INliuas lltol lllt /Jyll l.s ac/llaJ/y pan o/1/N
ropllk1 tllld - pon o/ rJw uoJ froplc1 llTllf. TIW Is
pproprial1,/1N ,_,,,.,/OT IM OWala llkrolta 92
"""'
1t 7:
Graphla lonnat
IO lho prinlct.
raphlc1 fonna11pC1CillGI lho orioawloa 1114 m.Nna ol lho
o1
llllll 111., piluar.
''
arphlc
o.e..
"' Clf
.u
am.
m
rn.
rllown.
tdn<J otrJ1192
Ohr
t,.Anvl illho...-cxxlelar""'"'""""'~J.
U c.\ar la&, lhcn 1trln1I op<ionaUy includca \o u
pl.lceholder COf ono ASCII byio whOIO valuo apcclllc
lho numbc:r ol wli11 to moll'O ~ward.
U citar 11 D, lhcn ltrl111/ optlonally includca \d u a
placehold far a decimal nwnbcr indicaiin lho
lllllllbc:t uaill IO downward.
t: r fog2 I lhe c:a:apo c:odc fCJt ...,.., llpWard, nrcrnlcd
. limilarly IO Slrilltl depcadin Oll whethcr citar la A ar D.
f[
,
1~
1
/ 1 ;J
11::J
,J!~
1[1!-~
, Vert1oal -t1oa1
l'orGUmplo:
J[;r!j
llunJly u lhown,
1(
1L :(
:::: ~
rcitar
:L:~
![. !. ~
Prinoar Drl-
Por cumplo:
rd11t11\9 pattmt t9t9
a t r Jng 11 ma<lc up oC any combiruition o !he CoUowin
1fr
l ii - ~
I~
111:
~are
'.:Ji-i
'Jr
""'
l!_t~
-rl _
i~I
ZOil 41.
~T
J.4
L GS.40,41 A!U 4 _:
+:u
:.
.. 111
.....q
ac
ut
HH
i .,
lM
Appmdla D
~lotterdrlvel'9
..
1
~~- f ~
E 3
~J3
pcrlod.
Llne 2: lnillalizatlon
Thl1 Unc b thc samc u thc lnltlaUudon for a prlntcr driver.
Llne 3: Reset
Thla Une Is tilo samc u thc 1'C8Cl for a prlntcr driver.
Porcxamplc:
~::: r~
~ !3
~ !3
[.
1
~
:;:: : 1ii!i
=-1~
~-'~
~
1__1ii!
,3
plotttr typc.
'~
i:.':
-1
Ciii
1-
,':
Driven
161
Load MCAD.MCP into a plaln ASCII texl editor, like the ffiM
~rsonal Editor.
~r~
PrirHttr
e[~
Thc divider Une for a ploucr drivcr contalns 111 astcr!sk lnstcad
'.
,.
cAlsling file.
Re.uve MCAD.MCl'.
Appendi.o
i6I
... z:J.-
~. ~
~
tflW%1jri;1'~4ill4i~~
. i ,7J,\.:W.ci
~Jil
~+
. ,. :
. ) 1 '
Numerical Methods
E '3
[_ .1.3
1
E=f!I
E_:r 3
E-~
E! -3
laucrall
::111
L..[.!11
t"'""
Deriva ti ves
How MaihCAD IXJ<llpulCS nwncrical derivative1
E -: !I
d~
Solvt blocu
Using !he Levenbttg-MNquanll algorilhm to JK>lve
simultanclOUS cquatiolu and incqualilie&
~6.
Matrix opratlollS
Mclhod.s used for maui lnvcnioo and dclcrmirunts
r::.A
~-r,:I
d~
#Q
zw
~-
~
l
e a
~.
r~
e .. a a
SI.
"
.:
--- ------------ -
' ~ ..
----
-------
.. ..
p1
. .... ,
1 computer.
.....
"4 =~
Appcndix B
~rical
J?I;-
E:~
E::! 3
c:-!3
1
E ~ ~
E::- - ~
f:I
;,
e:=1
;3
Li :3
( :i.
(; ~~-::i
E!:3
E:-- .:i.
I_
I ; - :l_
::!:i
271
Numerical MelhOO.
Zeroru10 factorora nurnerato.For eficiency reasons, MathCAD always assumes lha! ror 111y
expression .r:
Ox O
and
'" .
Integra Is
3. lf the twO most reocn1 utimattt pass lite iest In siep 2. "'lllm
tstimalt0 as the valuc of lite integnl. lf not. increase n by 1,
compute 1 ncw eslimatt,, wilh SimP300 0s rule by dividlng thc
subintcnals in half, and go bact lO step 2.
~is 1 limil on the number of calculations lhat MalhCAD
1
,~Jil
,-
A..,,....iu B
rivalin'!I
""""4uo : .r
'.uli"'4k1 : i + /t
J. lncrc.ue by ooo. Thcn compu1e lho 11ral/>1 Uno C<>MC<:lln
lho poima (ml""'k8 2,JC.uli"'4k,.~) llld (utima1e0 1,
Jf.utimale0 1)). Se1 X,. ID lho point whcro lhia 11raih1 lino crouea
lhoJICl'Ouia.
.-r
4. lt ml1n111-.JkTOL, ro&um
'"- - ua.i.u..111u<rwllol1
E 11
1
E=il
:JI
llD).
~-.-:- 1! a
wia,h .fiO..
::"' ~
inechod.
lllC die
~!il
~~!.
1
1:=11
.!Ja
r - .
!~-::!-.
11
"11
l
1
t=t
[J! :11
TI
......
1.
L-r
-r 1
~...
.~ 1
1 --.~
.r -
i.'. ..,
~ :_'(,i ., ; ;<
. ",; .
;;! ; - ~ . J.,
..<~\f. ;~ ~
l 7J
N"'1l0rica1Molhodo
Sulve blucks
'
J s-C(x)
'"r
Termlnatlon crltcrla
"
.,
-r.01-12
licio 0 U a VOC U>t O wci~hl facUn CompulCJ frum IJIO 0<.-m1 o/
lhe columns or lhe Jacobian maui1. In 1hcsc ca.ses. J i.s compuled
IO satisfy lhis minimiution aileri4 u -...di u solving lhc
Newton cqualioo wilh lhc Jacobian.
11\Al
furthcr.
t
j:
,1
\.
~i
?:
t ~:- ;~::~ ::.-:;::'.}>'.::?:::::> : ;:; :;:fi:,~:!: . <--: :~:, ... : :.z~~. ::~. :~ ~;.:~:.;::? ~ ~>. J e:: ' !~
_ ,,
t'
.-
274
Appendi.< 1!
Motrbc operalluns
MLU
This Is called tho W tcomposltlon of lhe matrlx.
Thc LU docornpositlon maltea tho 10lutlon of a system or
equation.s Mx y lnto a mauer oC simple substituons wilh lho
demcnts or l, U, and 1
LU dccomposion.
e:-.. r~
c:!l
f.Jl~:~-:;
lndex
~ ~~ \"~
~f;t
ti3
i:t.:,i.;J::
;~l t~~
~~M/J;
E-3
=--,3
\i~
,~: ;
'tJ' j'
~t ,
~;nr
~:3
~ -- 3
1.::;.:
Li3
d3
r
1
!:1~
~1
,E13
-
,;
,-;-!
~r
~~~J.\
~,,;
l?;- L;r ,.
~~
~. f.:" : '.
~;j-J'.'C '
' \ ,(; ' -~
+ V
~:11
,...
!~:al
lnde-... ir<:
Jl=!i
11
.'
; i
bocUIMll
- ~ lor bnol bdslllh 78
UMd lor ~ ..... il ta regiorw 78
c:M:Ullion modo
S.. auamatic mode. IMnJll modo
becbolvi>g
Soooolwtxdo
colculalion
caictJlllor
WTlyi
120
MWQIMllWID_...,.134
calcWling wlh 123. 140
J![
1
c.r..
_,,...
1
;
-La
M>tai>llor.tlomonll123
-120
ao.ocr1* 145
.;a
;-
anowkayo48
:_.,.... :ill
~11
w..l.jl
' 1111
1
l!!!ll!,.1!!111
---vo __ __
1"'->NBlW__,,..,,....,.~~)~~'tp
'&%1!!
'. '!... ;
...
ASCllCXld
In lxl OQiono 78
AT&TllJOOM<iot24"1,255
11-oiQn 1@1
loaoaloplol23,2DO
, '"
ord" -
g8
Sootoxtbnll
bw chart 2IJ7
bote ol dilptayod "'"'1bn
......
S..radbc
CGA2S$
bue....am
in118
bmolltng-110
~UarhCAOulf
~111240
........ &r.111
.i.. .. ".\
lnl1ll 61
BACKWARO--.ld (ClrlJl f1
ougrntl lund1011129
lO Ulld ID wrlo -lllll 'llftablM ID 194
ll!n~
,\llP,OfU:Zl$A
. _.
~-"' """' 36
1~
1
.........,,,
'
larpillll;m.205
~oolor2!58
1 C.::::
.l
s.. ......
aiml
e
c.ic F9 mHSaQ'I 100
CAl.C kay JF9J 95, 100
CALCU .A TE oommond JFVI too
CllbUltng 17, 116
bdquoleU,
, - i ID 1JPO prime 10f
-=::.:
e.JI...
i;:;.
1
:-
., -~:.,-~::-:'~\-.~:=r.7/P,!~:ri/~:~~~~~l,:;;~..~~hft>-t.'
UllhCA0'1runoricalmedlodl270
r1
"~ -.-:t.~
woiumal!Ool
1 ~ T .m
'1
( ,.
,f
! _.... --
1 ~ . .
~!
,;. ;J.
""
..-l- -1
-1
.:
'
AtNy1
- ,. 1
rrr :JI
1 ~.:a
11
- 11
1 '- u;; 1 -a
-!mi
c:hatldlf ...,;.
In riilw drMr 2!l2
dlantd0'1I
ctEAR c:oovnand 57
dootng doc:umonll S7
rolon (.)u dolnlllon 1yrrtiol 17, ll2
Cclor.<ilaphicl ~ 255
oolon
s..-.
oo1um.. lundion m
Clll1lbMg ~ IMo 51
'
lnde
;
commond !les 85
cllai>ing87 ;
nmingll>tt14''l57
canmond ioo ~ 244
oommand mooos 25, 229
oommlltlds
hl ol 231
by l\n:tion My 2S
1""'1111169
canple11unbon 112
con;ioa11112
do1""1inilg onglt 112
disJlayal 110
lt.ndi>ns lo< 158
lmaginary r i symbol 110
In tofv blocb 179
maniludo al 112
OJ*llOIS ll1d Mdbns lor 112
INding 1nd wriling in data fles 105
,..., ond lmlQ!rllry pif11112
loltrwu lo sl'OW
110
compu1r. muh 17
c:ondlion
lot Whrldlon 168
llalng h<lfion on 1117
c:ondllon.'111168
10ciw"IOdim....1on-111
OO<llg filo
.,,_iall
by"""" 25
bo1h"'""
""1ouso 25
locieatdoc1Jmen157
lo <x>mbino ,... 58
lo e>A ll1d pes! eqnoslont 43
lo aA.., PMl ld 68
o.e ni pasl
lo prin1 73
lo ........ calaAlllon modo 119
loNJ*lt111QklM5J
10 MI mal!Jill /'!)
lo MI Mlp mltgin In 1111 r9giona 83
loopllaidtr'9pliltc:rM159
lo nrilcll windows 59
UMfF10llo--25
inlonnallon in 86
rolooded
dNr COIMlond li1
ft
llVlnQ 11
oonl<urino MllhCAO
dldx
s.. dtrfvMJ-191
dll1
-1odowhen1oo179, 182
oonlourinogrln153
oonlnll Myl 235
cq>ytng . . . . 50
aipyil\91at 68
lot r09i<>nt 50
lorlH168
ClJT oommand (P.lJ21, 50
aA1ng lord 68
"'"111"'""
"""""
... a
OOPY commnl (F2] 50
~-e
-- ,.,-
,;
=[
-,
-i:
-,~
- t
iil13
. !3
-'3
=---~
. . .l
1o1,...... 11
oonlJ'llt 112
oonstnh
S..numblf1
s.."" p!9definod nNblft
sulfonlof 243
oons1rainls
componon11 al....,, vedar tor
<bnmy contlllinll 183
ln-blocb175
al 111oni In 179
,,,..,. be scolot 175
pos1i>lo lorm1far175
'9--:ii
fot Hp!Mlionl 43
llndJno1191111der151
11Vtnc811
lo lormll , . , - . 110
lo"-laid-ht52
lo nlrn~ MllhCAO w "'DOS B2
lo ..., 11ld ... ..... 61
lo mooilot available "*''Y &4
lornnveanot 49
1o ,,.,.,. n 1, 01
1o P'W dorunonb
uk:Wlbn 100
lo 111um lo lomlli: modo 100 .
--..
...._
OO<l~ion
"''"
UtlngeJlcop-1112
lo - and
l"JIOM 50
lo HICIA c:onwMnd liln 85
lo'""""' ..
~=E
. I~
~3
-~J~
- _
--' "1
- l
d!.
~
~ci
279
lnde
SHprodslon
dofau lteoam 57
doft11ir19 lundlons 94
dolhling variabltl 92
dtllnl lon synbll (: ) 92
dtllnllonl 92
lot Vlliablos 17
global 97
locollo oolveblocll 171
dtftnlllonl al v.wilt D8
ol l\Jnctlonl 94
o1unh 114
llfl!JI Vrwbrbltl 138
ttvlfll va11ob111 11 onct 133
dtgr-
"'""lplt
Otlolo key
lnlt111M
,..,,.,1c:a1 m-b1V2
lolt"'"'" for
"'"""le 'l'J)loUn-150
E
.. bel al M1nl loglrllwnl 108
odtng~ 31
~ ~m3',3S,38
""'
...
dtlllirlg por1
'
equalion JI
llepo ln 33
A......,OW.254
SyS11n Dllk254
lllplly ldlpln
U9ing MalhCAO wth 255
chld
elodricltl
..........
-tndNrir 123
ln prlnldrlvel2S1
ellplll 1Je
tnlbllng colcuilllon
documM ""' 58
documM
c1Mm91i1
comtilnlng 58
""'*"
MllJlf. 2S5
dtftntlon ol 15
E"'*1ood
prlnllng 72
dlln<lr1ca>lorl on ~
00Sccmllllnd82
DOS ccmmondt
-WCOl!lllllnllllllancel3
rotumlnQ 1o l.WllCAO
83
~ p!Oducl 128
clMte lnCegllll 153
~i...,n
lo cnol lnl reglan 11. 112
dolvlfl
'I
-
-- -~
-~
-..
-~-
__
...;
.~
__:.. ............
.....
:
...: :
..
-.,....
'.
'I
-,
~:: -:<=:,' TC;Ji:rm1n~~~, ~r:: -y ''s~ .:t~:\}!/c:Fi:i,:3~:~.:~:!rr:i.i ~;::y :':,''>:f i"f:'.;;~;!~r~\T:g:1;:,~1 :f(;f:~
lndex
in
lorodon 140
"
, wiflcd ~ 14&
hllliiQ 167
ona- 10
-ran<140
wlh....Sw..,. 142
wlh-"'Yllilllloal43
J
.JJ l\roion 169
J1 lundlon 169
.kl lundlon 169
s..
~.Wiaotcft~momart
rr.y,
~lon85,2S&
LU~274
lo"""'"""'"'
L
.... \lndlon 129
mmonu25
rnnial
howlOUM3
mdlll ealaJlollon modt 99 .
llart\ng r.blhCAO In 100, 258
MANUAL cxxnmand 99
MARGIN cxxnmand 75
m1111nt 75
MARK cxxnmand PlfJX es
mari<Jng IHI lo be ooplod 01 doloced es
MerM>w p<OOlllll 144
hlooglh
ttllki188
~melhod
-118
S..L~tMlhod
....
-oapr-
~lonoll
doslgn prildplaa 14
11an1--~b8
1n111111no on han! clsl< 9
hlollNl1n12
llartinQ9
MllhCAOltw
hl el2
cn\ng 121
dellnln< 123
doftnlng by lormtM 141
dellnln< wlh rwo
vsWiltt 141
cloloclng""" ... coMnna 121
deeonnlnanl 128
l\rolont lor 129
ldnty mllrlx lllldlon 129
ranoe
~128
....,ern
utingtwo~124
wl*11oute~ 145
poAllnlJln 00Spllll2!57
MCAD.EXE 1119, 254
MCAIHt.P~
MCAO.MCC 11, 8S
-.
d~
I ~ ~
~by'7
,ti
;;
~[ \! 3
IC:-
l: !:~f
f. ~t~'
MllhCAD
magnlludt
el axnpln runborl 112
:1 '
:~:
11
l~,I~
~
IC:.:;
JI
IE:-11;
!I
~ij ;J
~- Ji
~;i,
~-LA
~ t;J
~
~ !i
~~~
l
~~
11 .
21!:l
IMlplt docunen1bluldlb#214
lftlllWllY
t.>Mded memory 85
monilorlng IYailablt .......,,., 114
19q1Jrod IO R111MalhCAO9
IJ>Kilying tllpllldtd mtmOIJ ...... 1111.p 2se
MEMORY ClOIMland 114
MEMORY llltMIQI
on
llnt 114
....... ,,.ut
l\bmtool2S
~lint 18
mlnlundioll 129
Mint1Tlundlon
11trdoholveblodt174
cMOOIMt ol 180
YlllJtS ltllmtd by 174
MINPACK - - 273
mlulng optrlnd {tmll) 103
mod hlndlon 159
modo
n.t modo, ~ modl, UDmlllc
modt,
modt
lllCl10191c.lwllllons218
MOVE cxxnrnand 49
mo.tng "Qlont so,62
mo.1ng1n1sa
m<Mnt tht anor
"-ro lar 49
tnl"1pitloott
llndlng wlh ICMl*lcb 180
tnl"1plt tl.llH!ltllore 149
s..
m.....,
dilg34
vlrilblt
... b!dlon_
- _109
_ , .,.,tcola
-
123
apornla
dtflnllon ol 32
~~38
normel-128
cpttalort
not OOft'
lt!Vlno '""""
dt'1'/all'ltt
ISO
lnltgnlll 152, 153
llld lundlon t73
tclveblodtl 179, 182
noltllon
blnrt 32
dellnlion ol 32
cltllng 38. 39
uotd In lllllMl 14
nolft
s..""' llgbll 82
runborl 109
axnpln 100, 112
....... ~100
dllplaytd. Z9fO 110
tdillng34
toq)OntltW nallllon klr IOll, 110
~100
bmlftlngCllaled . . . . 110
lmtdtclmal 100
llW'f32
~ olcllcWlb!w 911
ordt< el c:abMllorl el ~ 911
ordt< of...,.,..,,,
llgorthm .. f7
, cbuMra 91
"""lote
octal 109
llldbt fer tliplly 110
1Ufftxb243
a.Ap1Allilltl l38
blnltg11111271
.. 11111rlx ltwnon ... dllermlrwtt 274
1ar llld lundion m
blol\'tblocbV3
p
peoo bol.ndlllte 75
ptqtbrtob 75
han! 78
'"'""""O,..
ll0ft 78
Peoo~
lnptW ..-~
pogt ltnQlh
toniiQ 19
PN:iaoorn ClllMland 75
~by'7'