Mathcad Training Table of Contents. Introdudtion. Solve Function Mathcad Toolbars Navigating the Resource Center Working with Mathcad Regions. Express



Similar documents
4 CD Construct Special Model VI 2 nd Order Model VI 2 Note: Hands-on 1, 2 RC 1 RLC mass-spring-damper 2 2 ζ ω n (rad/sec) 2 ( ζ < 1), 1 (ζ = 1), ( ) 1

untitled

Orcad Capture 9.x

Microsoft PowerPoint - 기계공학실험1-1MATLAB_개요2D.pptx

MAX+plus II Getting Started - 무작정따라하기

OR MS와 응용-03장

Mentor_PCB설계입문

10X56_NWG_KOR.indd

CD-RW_Advanced.PDF

Microsoft PowerPoint - AC3.pptx

CONTENTS 01 Adobe Photoshop Lightroom을 소개합니다 촬영부터 출력까지 간편한 사진 작업 (Simplify photography from shoot to finish) Adobe Photoshop Lightroom 작업공간(Workspace)

Page 2 of 6 Here are the rules for conjugating Whether (or not) and If when using a Descriptive Verb. The only difference here from Action Verbs is wh

목차 제 1 장 inexio Touch Driver소개 소개 및 주요 기능 제품사양... 4 제 2 장 설치 및 실행 설치 시 주의사항 설치 권고 사양 프로그램 설치 하드웨

MCM, PCB (mentor) : da& librarian jakup & package jakup & layout jakup & fablink jakup & Summary 2 / 66

P/N: (Dec. 2003)

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>

2011년 10월 초판 c 2011 Sony Corporation. All rights reserved. 서면 허가 없이 전체 또는 일부를 복제하는 것을 금합니다. 기능 및 규격은 통보 없이 변경될 수 있습니다. Sony와 Sony 로고는 Sony의 상표입니다. G L

public key private key Encryption Algorithm Decryption Algorithm 1

Dialog Box 실행파일을 Web에 포함시키는 방법

The_IDA_Pro_Book

Domino Designer Portal Development tools Rational Application Developer WebSphere Portlet Factory Workplace Designer Workplace Forms Designer


PRO1_09E [읽기 전용]

Application TI-89 / Voyage TM 200 PLT application. application, application. APPLICATIONS :, N. 1. O application. 2. application : D C application,. a

강의10

untitled

<3130C0E5>

Macaron Cooker Manual 1.0.key

산선생의 집입니다. 환영해요

VOL /2 Technical SmartPlant Materials - Document Management SmartPlant Materials에서 기본적인 Document를 관리하고자 할 때 필요한 세팅, 파일 업로드 방법 그리고 Path Type인 Ph

K7VT2_QIG_v3

CAD 화면상에 동그란 원형 도형이 생성되었습니다. 화면상에 나타난 원형은 반지름 500인 도형입니다. 하지만 반지름이 500이라는 것은 작도자만 알고 있는 사실입니다. 반지름이 500이라는 것을 클라이언트와 작업자들에게 알려주기 위 해서는 반드시 치수가 필요하겠죠?

DocsPin_Korean.pages

step 1-1

Javascript.pages

LCD Display

Intra_DW_Ch4.PDF

LXR 설치 및 사용법.doc

고객상담센터 s h i n h a n i t r a d i n g s e r v i c e g u i d e b o o k 신한금융투자의 통합 트레이딩채널_신한아이 신한아이 트레이딩 서비스 가이드북 2 SHINHA

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O

Solaris Express Developer Edition

해양모델링 2장5~ :26 AM 페이지6 6 오픈소스 소프트웨어를 이용한 해양 모델링 물리적 해석 식 (2.1)의 좌변은 어떤 물질의 단위 시간당 변화율을 나타내며, 우변은 그 양을 나타낸 다. k 5 0이면 C는 처음 값 그대로 농

Chapter 4. LISTS

(JBE Vol. 21, No. 1, January 2016) (Regular Paper) 21 1, (JBE Vol. 21, No. 1, January 2016) ISSN 228

Line (A) å j a k= i k #define max(a, b) (((a) >= (b))? (a) : (b)) long MaxSubseqSum0(int A[], unsigned Left, unsigned Right) { int Center, i; long Max

fx-570EX_fx991EX

DE1-SoC Board

Microsoft Word - Automap3

2 min 응용 말하기 01 I set my alarm for It goes off. 03 It doesn t go off. 04 I sleep in. 05 I make my bed. 06 I brush my teeth. 07 I take a shower.

Remote UI Guide

,,,,,, (41) ( e f f e c t ), ( c u r r e n t ) ( p o t e n t i a l difference),, ( r e s i s t a n c e ) 2,,,,,,,, (41), (42) (42) ( 41) (Ohm s law),

프로그램을 학교 등지에서 조금이라도 배운 사람들을 위한 프로그래밍 노트 입니다. 저 역시 그 사람들 중 하나 입니다. 중고등학교 시절 학교 도서관, 새로 생긴 시립 도서관 등을 다니며 책을 보 고 정리하며 어느정도 독학으르 공부하긴 했지만, 자주 안하다 보면 금방 잊어

제목을 입력하세요.

Microsoft PowerPoint - ch03ysk2012.ppt [호환 모드]

Chapter 1

PRO1_02E [읽기 전용]

예제 1.1 ( 관계연산자 ) >> A=1:9, B=9-A A = B = >> tf = A>4 % 4 보다큰 A 의원소들을찾을경우 tf = >> tf = (A==B) % A

Microsoft PowerPoint - 7-Work and Energy.ppt

Smart Power Scope Release Informations.pages

Columns 8 through while expression {commands} 예제 1.2 (While 반복문의이용 ) >> num=0

1 Nov-03 CST MICROWAVE STUDIO Microstrip Parameter sweeping Tutorial Computer Simulation Technology


Microsoft PowerPoint - 27.pptx

디지털포렌식학회 논문양식

274 한국문화 73

ePapyrus PDF Document


Week3

FMX M JPG 15MB 320x240 30fps, 160Kbps 11MB View operation,, seek seek Random Access Average Read Sequential Read 12 FMX () 2

T100MD+

PowerPoint 프레젠테이션

제품 특징 PC에서 마우스/키보드로 사용 Motion Ring은 사용자의 동작을 인식하는 3D 공간 인식 센서 가 장착되어 있어 정해진 제스처를 사용하여 마우스나 키보드 로 사용할 수 있습니다. - 일반적인 마우스와 키보드 없이 인터넷 웹 페이지를 사용하 거나 프레젠테

Buy one get one with discount promotional strategy

목차 1. 제품 소개 특징 개요 Function table 기능 소개 Copy Compare Copy & Compare Erase

C++-¿Ïº®Çؼ³10Àå

XJ-A142_XJ-A147_XJ-A242_XJ-A247_XJ-A252_XJ-A257_XJ-M141_XJ-M146_XJ-M151_XJ-M156_XJ-M241_XJ-M246_XJ-M251_XJ-M256

Microsoft Word - USB복사기.doc

untitled

휠세미나3 ver0.4

목 차 국회 1 월 중 제 개정 법령 대통령령 7 건 ( 제정 -, 개정 7, 폐지 -) 1. 댐건설 및 주변지역지원 등에 관한 법률 시행령 일부개정 1 2. 지방공무원 수당 등에 관한 규정 일부개정 1 3. 경력단절여성등의 경제활동 촉진법 시행령 일부개정 2 4. 대

종사연구자료-이야기방 hwp

인천광역시의회 의원 상해 등 보상금 지급에 관한 조례 일부개정조례안 의안 번호 179 제안연월일 : 제 안 자 :조례정비특별위원회위원장 제안이유 공무상재해인정기준 (총무처훈령 제153호)이 공무원연금법 시행규칙 (행정자치부령 제89호)으로 흡수 전면 개

untitled

Interstage5 SOAP서비스 설정 가이드

ch3.hwp

(Exposure) Exposure (Exposure Assesment) EMF Unknown to mechanism Health Effect (Effect) Unknown to mechanism Behavior pattern (Micro- Environment) Re

<BCF6BDC D31385FB0EDBCD3B5B5B7CEC8DEB0D4C5B8BFEEB5B5C0D4B1B8BBF3BFACB1B85FB1C7BFB5C0CE2E687770>

UML

6자료집최종(6.8))

fx-82EX_fx-85EX_fx-350EX

<32B1B3BDC32E687770>

TRIBON 실무 DRAFT 편 조선전용 CAD에 대한 기초적인 사용 방법 기술 기술지원팀

01-OOPConcepts(2).PDF

제 3주 플래시 사용 방법 익히기 (1-3)

대경테크종합카탈로그

<313120C0AFC0FCC0DA5FBECBB0EDB8AEC1F2C0BB5FC0CCBFEBC7D15FB1E8C0BAC5C25FBCF6C1A42E687770>

Stage 2 First Phonics


??

USER GUIDE

Transcription:

Mathcad Training Book

Mathcad Training Table of Contents. Introdudtion. Solve Function Mathcad Toolbars Navigating the Resource Center Working with Mathcad Regions. Expressions & Variables Defining Variables Defining Functions Defining Vectors and Matrices Solving Quadratics Solving an Equation in a Single Unknown Solving a Linear System of Equations Solving a Nonlinear System of Equations Solving Each of a Family of Equations Solve Blocks with Inequality Constraints. Graph Linear Programming Creating Graphs Vectors and Matrices Array Algebra Operations on a Square Matrix Joining Matrices Defining Nested Arrays 5. UNITS Using Units Data Import & Export Handling Data Files Displaying Nested Arrays 6. Animation Vectorizing an Expression Array Size and Scope Animating a Graph Animations Component & MathML Components in Mathcad Using the Excel Component Using the SmartSketch Component Developing MathML Web Sites

Mathcad Toolbars The Main Menu math, graphics, symbolic functions. The Standard Toolbar opening and file saving spell checking Resource Center Electronic Books print and print preview built-in functions and units. QuickSheets The Formatting Toolbar View->Tool Bar->Formatting The Status Toolbar View->Status Bar status alerts, tips, keyboard shortcuts, Caps Lock, Num Lock page number. The Resource Center Navigational Controls Resource Center or other Mathcad Electronics Books Browsing. Navigating the Resource Center The Math Toolbar View->Tool Bar->Math Tool Main Menu. Calculator toolbar Graph toolbar Matrix toolbar Evaluation toolbar Calculus toolbar Boolean toolbar Programming toolbar Greek toolbar Symbolic toolbar

Navigating the Resource Center Navigating the Resource Center Resource Center home page Web Toolbar. (.).. Prints the current document..

Working with Mathcad Regions Mathcad equation, text paragraph, plot region. region math text. Text region : Text.. ["]... Mathcad Format menu. Formatting Math and Text. Edit menu Copy, Cut, Paste, Find, Replace, Check Spelling A math region x : A text region The assignment at left was created by typing x: Moving Regions region drag-select? cursor..? H cursor.? Hold. Hint: If you want to grab a group of regions, but want to deselect one of them, just [shift] [click] on individual regions or use [shift][click] to select regions one by one. Moving Regions from the Resource Center Window Deleting and Pasting Regions Aligning Regions Resource Center Electronic Book wokrsheet EDIT Copy Paste Copy : Ctrl+C, Paste : Ctrl+V EDIT Cut. Cut : Del. Format menu Align Regions paragraph. Align

Defining Variables Entering Math Type See on screen + Keystroke Button Example Keystroke Button Example + + /.5 - * ^ Building Expressions Type See on screen f(x):x+6[spacebar]*(x^[spacebar]-). The first time you pressed [Spacebar], you selected. [Spacebar].. [Spacebar]. Type See on screen x^[spacebar] +[Spacebar] /5[Enter] + [Spacebar].

Defining Variables :,,, Data... abc,, a, abc,... Type See on screen x: x : abc : : a : abc : :. Type See on screen x:; x :.. x :.. 5 fx ( ) ( x 5) [;]semicolon (.. ) [x ] x. : + 5 x x fx ( ) -5 -.5 :.. Type See on screen x:,.; x :,... Type See on screen x:,.;.8 x :,....8 data:-,-8; data :, 8.. n:,9; n :, 9.. Here the range goes down! x data n -. -8 9

Defining Functions : fx (): a x.. x a. Type f(x):x^ x : See on screen fx ( ) : x fx ( ) f ( ) x : fx () 9. 9 a :.. fa () 9 f(x) x argument. Insert menu -> Function Trig and Logs ln( 6).58 csc( 5 deg) Matrix Functions identity( ) cols( identity( 6) ) 6

Defining Vectors and Matrices vector? Type v:? [Ctrl] m Toolbar Matrix..? rows column v :.? Click on Insert or OK. 8?. Vector : subscript operatorng ( [ ) or Calculator toolbar. < > Type See on screen v[ v. v[ v. v[ range variable Type v 8 See on screen i:; i :.. v[i v i. -. Type See on screen i:;5 i :.. 5 wrong[i: wrong i : wrong wrong T ( ) Mathcad th st. Mathcad.

argumen b : 5 a : fv ( ) : v 9 b v + a v : i :.. fv i ( ) Cross product [Ctrl]8 v w Determinant M Column [Ctrl]6 M. -.i. fx ( ) : x button on the Vector and Matrix toolbar. matrix operator v fv ( ) Operation Keystroke Button Display Dot product [Shift]8 v w M : 6 5 9 8 Purpose Number of columns Number of rows Largest value in matrix Eigenvalues of a matrix Example cols( M) rows( M) max( M) 9 eigenvals( M).56.6.98

Creating and Using Graphs Graph Graph Toolbar Graph X-Y Plot Insert menu, @. [Enter]. sin( d).. 6. 6. Graphing a Function Using Range Variables d fx ( ) : x + 8 x f(x):-x^[spacebar]+8*x- Independent variable x :.. x:; f( x) 6 8 6 6 8 x Graphing Two or More Functions fx ( ) : sin( x) f(x):sin(x) gt (): t g(t):t^ x :, 9.9.. x:-,-9.9; t :,.9.. t:-,-.9;? Type @ in some blank space. f( x) gt () 5 5 x, t? In the middle placeholder on the horizontal axis, type x,t.? In the middle placeholder on the vertical axis, type f(x),g(t).? Type [Enter].

Graphing Vector Elements money_spent : ( 6 8.5 ) T i :.. money_spent i i:; money_spent[i 6 8.6..8 6. 8 Graphing a Function of Vector Elements fx ( ) : x f(x):x^ x : (..56 9.9 ) T index variable i :.. i:; 6 fx ( i ) 8.. 6.8. x i

Array Algebra Vector addition / scalar multiplication: Enter vectors: + v : w : v + 5 i 8 Results: v w 5 6 + i v + w 8 5 + i Negative: Transpose: v T ( 5 ) w 6 i 8 Complex conjugate: w 6 i 8 Dot product: v w.5 + 6i Cross product: v w 5 i 58 + 6i Magnitude: w 88.6 w w 88.5.5i Sum of components: v 6 Enter matrix: M : 5 Transpose: M T 9 6 8 5 Determinant: M 5 Powers: 8 M 6 9 5 65 6 6

Inverse:. M.8.6....8.. M M M M Solve linear system Mx v with inverse: x : M v x.8 6.8.9 M x 5 Enter array: α : v α : M α : w Results: α {,} {,} {,} α 5 α 5 α 6 + i 8

Operations on a Square Matrix Enter a square matrix with real values: M : 8 5 9 9 Maximum and Minimum Values: max( M) 9 min( M) 5 Eigenvectors: eigenvecs( M).95.88..8.85.6.56..66.56..5..98.8.569 Eigenvalues: eigenvals( M).99 8.68.6.98 Joining Matrices This QuickSheet shows how to join matrices together with the stack and augment functions Input matrices: M : 5 6 8 9 A : 9 B : 9 Use stack to place one matrix above another: stack( A, B) 9 9 Use augment to place one matrix beside another: augment( M, A) 5 6 8 9 9

Defining Nested Arrays This QuickSheet illustrates four ways to define nested arrays. Using range variables: m :.. n :.. M m, n : identity( m + ) M, ( ) M, M, Using the Matrix command under the Insert menu: u : v : ( ) V : u v V Defining element by element: B : B : identity( ) B : ( B v) V ( ) B B B ( {,} )

Vectorizing an Expression Input matrices: A : B : 6 5 8 5 6 ( A B) 8 5 8 8 A 9 9 9 A B 6 5 6 9 A B A 9 6 5 5 5 6 6 Array Size and Scope This QuickSheet illustrates how to find information about a matrix or vector. Input matrix: M : 5 6 cols( M) rows( M) Returns number of rows and columns in M min( M) max( M) 6 Returns largest and smallest values in M Input vector: v : 5 length( v) last( v) Number of elements in v Index of last element in v

Solving Quadratics polyroots Quadratic polynomial f(x) ax + bx + c coefficients : a, b, c a : v b : : ( c b a) T c : 8 r : polyroots( v) Roots r fx ( ) : a x + b x + c r r fr ( ) fr ( ) 5 f(x) and Its Real Roots r r 5 5 5 5 Solving an Equation in a Single Unknown Root function. fx ( ) : function f(x) guess value fx ( ) : x + e x x : soln : root( f( x), x)

Solution: soln. Real Solution of f(x) soln Solving a System of Linear Equations n lsolve function : w, x, y, z. w.5 w. 8. w +. x + 6.6 y. z.8 x. x. y + 6.5 z. w + 9. x +.9 y. z. + 8. y + 8.9 z... M :..5. 8...8 9.. 6.6..9 8.. 6.5. 8.9 non-singular matrix corresponding to the n equations in n unknowns:.. v :... soln : lsolve( M, v) soln.9.95.6.95 w x y z

Solving a Nonlinear System of Equations Solve Block n. guess values : n unknowns: x : Given y : z : x y x y + y 5 z + z + z e z vec : Find( x, y, z) Solve Block Given,,,, Find(x,y,,,) Solution: vec..95.68 Solving Each of a Family of Equations fx ( ) g( x, a) fx ( ) : e x gxa (, ) : a x x a x :,.99.. f( x) gx (, ) gx5 (, ) gx (, ) 5 A plot like this helps you guess the value of the (negative) root of the equation. x

root Sax (, ) : root( f( x) g( x, a), x) a a :.. Initial guess: x : ( ) x a : S a, x a Answers: a x a fx a -. -.5 ( ) gx ( a, a) -.? -5 -.? -5 Solve Blocks with Inequality Constraints Intersection of a circle and a line (unconstrained case): Guess values: x : y : Given x + y 6 Circle x + y Line One solution xval yval : Find( x, y) xval. Guess values: x : y : yval. 6 x x 6 x Unconstrained Case x, x Another solution Given x + y 6 x + y

xval yval : Find( x, y) xval.55 yval.55 These are all the solutions, as the plot indicates: x :.5,.9...5 ξ :,.99.. Now introduce an additional constraint of the form x > a, where a is constant. The shaded region below is now eliminated from consideration. a : η :,.6.. a ζ :,.6.. Constrained case (x>a) ξ ζ 6 x 6 x x, x, ξ, η Intersection of a circle and a line (constrained case): Guess values: x : y : Given x + y 6 x + y Circle Line x > a Added constraint xval yval : Find( x, y) xval.56 yval.56

Linear Programming This QuickSheet illustrates the solution of linear programming problems. Problem with Two Variables fx ( ) : x + x Objective function M : v : Constraint coefficients Constraint Set Boundary t t + t Graph of feasible region x : 6 t Initialization Given M x v Solve block x Maximize( f, x) 5 5 Solution Problem with Six Variables fx ( ) : 8 x + x + x + 6 x + x + 9 x 5 Objective function M : 5 9 5 5 8 8 56 9 9 v : 6 5 5 Constraint coefficients

x 5 : Initialization Given M x v x Solve block x Minimize( f, x).6. Solution.8

Handling Data Files Introduction Mathcad ASCII text, Excel, Lotus --, and MATLAB format. data file Mathcad worksheet Import Export. data. Writing to a Data File File Write component : to write data stored in a Mathcad variable data data file.. Insert menu Component.. dialog box File Read Write.. Write to a File.. file format (Formatted Text, Tab Delimited Text, Excel, Lotus --, etc.). path file name. 5. Click Finish. 6. data variable name placeholder tabarray is a tab delimited text file. tabarray.txt xlarray is an Excel file. xlarray.xls i :.. B < > tabarray.txt B B j :....9 j B i, j : i xlarray.xls B B Note: data component right mouse button. Reading from a Data File data file Mathcad File Read component.. Insert menu Component... dialog box File Read Write.

. Read from a File...: (tabarray.txt or xlarray.xls.) 5. Click Finish. 6. data variable name placeholder Read : tabarray.txt cols( Read) 5 a : Read, rows( Read) a. Importing from a Data File data file Link data Input Table component.. Choose Component from the Insert menu.. Choose Input Table and click Finish.. Fill in the placeholder that appears with the variable name to hold the data. For example, type Import. You'll see this: Import : Import. Click on the table, and then click on it with the right mouse button and choose Import from the pop-up menu. 5. Use the dialog to specify the file you want to import. Note: To edit the numbers in an Input Table, just click on the table. To resize the table, click on it and use the sizing handles to drag the borders. Using Functions to Read from and Write to ASCII Data Files ASCII data file, File Read, Write component. WRITEPRN ("output.prn") : B C : READPRN ("output.prn")

Using APPENDPRN APPENDPRN data file data. D : APPENDPRN ("output.prn") : D READPRN ("output.prn")..6

Animating a Graph Creating Animations Mathcad plot. Animation FRAME Animating the Graph. View menu Animate. animate.... dialog box Animate animation.. 5..avi drag.. hyperlink. Animation Setup fx ( ) FRAME : x x :,.99.. The graph is plotted below with FRAME. This will be a parabola that gets steeper as FRAME increases. FRAME is divided by to make the changes more gradual. f( x) 5.5.5 x ( ) fx ( ) : sin FRAME πx FRAME a : FRAME f( x)...6.8 ( ) fx ( ) : sin a πx x a

Using the Excel Component Component Excel "Creat empty excel worksheet" "from file" "Display as icon" Input Output : The Excel spreadsheet shown below contains annual totals of sunspots from to 995. Input Table component. Table 95 Data : 5 Data T.?.?.?.?.? Data T 5 6 8 9 5 6 6 58 9 8 year count : excel component year count: Data : ( Data Data ) Annual Sunspot Count count 5 8 85 9 95 year

Using the SmartSketch Component : Mathcad SmartSketch CAD drawing Link Mathcad Link CAD drawing drawing. ang : 5deg 9 5 excel component ang Mathcad SmartSketch LE CAD drawing. Click.

Developing MathML Web Sites Mathcad on-line file MathML. MathML WEB World Wide Web Consortium XML. MathML/HTML Browser. : Netscape. or greater, or IE 5. or greater, and the IBM techexplorer TM plugin or Active-X component. Creating a MathML Web Site Step : Creating Mathcad Files: Writing with Mathcad Steps and. Add Hyperlinks and Prepare a Table of Contents Step : Prepare a template file Step 5: Set your HTML Output Preferences View Preferences : MathML out-put PNG : is a lossless format so may result in clearer images for graphs and drawings JPEG : smaller or compatible with older browser versions. Object data : external data files (.dat) Inline data : file size online.. Note : graphs, data tables MathML HTML. object data Mathcad. Step 6: Choose File Save As