Using MathCAD SCC Spring-08 Electronic Technology Wang Ng x-2638

Slides:



Advertisements
Similar presentations
Polynomial Inequalities in One Variable
Advertisements

Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
Solution of Equations Example Problem Desire to find the temperature (T) that corresponds to a desired pressure, P.
Excel Using Formulas and Functions Microsoft Office 2010 Fundamentals 1.
SOLVING QUADRATICS General Form: Where a, b and c are constants.
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
Matlab Matlab is a powerful mathematical tool and this tutorial is intended to be an introduction to some of the functions that you might find useful.
MATHEMATICA What it can do for you.. Overview Uses of Mathematica How the program works Language rules EXAMPLES!
Lesson 20 Creating Formulas and Charting Data
Functions and Equations of Two Variables Lesson 6.1.
Solving Systems of Linear Equations and Circles Adapted from Walch Education.
Regression in EXCEL r2 SSE b0 b1 SST.
Using Inverse Matrices Solving Systems. You can use the inverse of the coefficient matrix to find the solution. 3x + 2y = 7 4x - 5y = 11 Solve the system.
Introduction to programming in MATLAB MATLAB can be thought of as an super-powerful graphing calculator Remember the TI-83 from calculus? With many more.
Surds and Quadratics AS
CMPS1371 Introduction to Computing for Engineers NUMERICAL METHODS.
If x=3 and y=0.5 then what is the value for z when z=(2x+1)(x+3y)?
Linear Equations, Inequalities, and Absolute Value
MATLAB Tutorials Session I Introduction to MATLAB Rajeev Madazhy Dept of Mechanical Engineering LSU.
AP CALCULUS TI-89 1.
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
Ranjeet Department of Physics & Astrophysics University of Delhi Working with Origin.
Intro to Excel - Session 1.21 Tutorial 1 - Session 1.2 Using Worksheets to Make Business Decisions.
Notes Over 6.7 Finding the Number of Solutions or Zeros
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
MATLAB Basics. The following screen will appear when you start up Matlab. All of the commands that will be discussed should be typed at the >> prompt.
Chapter 2: First Steps in MuPAD MATLAB for Scientist and Engineers Using Symbolic Toolbox.
MATLAB for Engineers 4E, by Holly Moore. © 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected by Copyright.
What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation tools. Others include Maple Mathematica MathCad.
A Brief introduction to MatLAB ($50 - $99 for students)
Solving Quadratic Equations Pulling It All Together.
Vectors and Matrices In MATLAB a vector can be defined as row vector or as a column vector. A vector of length n can be visualized as matrix of size 1xn.
An Introduction to MathCAD Finding Solutions and Symbolic Maths.
Introduction to MATLAB 7 Engineering 161 Engineering Practices II Joe Mixsell Spring 2010.
Calculus 3.4 Manipulate real and complex numbers and solve equations AS
Making graphs and solving equations of circles.
Spreadsheet Data Tables Data Table 1 allows you to change one input variable’s value at a time and record the impact that the input assumption has on several.
Programming with Spread Sheets Lecture 18: Supporting Material Dr Kathryn Merrick Tuesday 19 th May, 2009.
Introduction to MATLAB 7 MATLAB Programming for Engineer Hassan Migdadi Spring 2013.
Newton’s Method, Root Finding with MATLAB and Excel
Quadratics Solving Quadratic Equations. Solving by Factorising.
Week 9 Frequency Response And Bode Plots. Frequency Response The frequency response of a circuit describes the behavior of the transfer function, G(s),
Introduction to MATLAB 7 Engineering 161 Engineering Practices II Joe Mixsell Spring 2012.
3.6 Solving Systems Using Matrices You can use a matrix to represent and solve a system of equations without writing the variables. A matrix is a rectangular.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 4 Chapter 15 General Least Squares and Non- Linear.
ME 142 Engineering Computation I Exam 3 Review Mathematica.
E-learning Some examples of new ICT tools in action - Alan Coop, July 2011.
Recap Functions with No input OR No output Determining The Number of Input and Output Arguments Local Variables Global Variables Creating ToolBox of Functions.
Differential Equations Linear Equations with Variable Coefficients.
5.2 Polynomial & Linear Factors Learning goals graph functions expressed symbolically and show key features of the graph, by hand in simple cases and using.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. A Concise Introduction to MATLAB ® William J. Palm III.
The formulae for the roots of a 3rd degree polynomial are given below
“Moh’d Sami” AshhabSummer 2008University of Jordan MATLAB By (Mohammed Sami) Ashhab University of Jordan Summer 2008.
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 13.1 Interpolation between.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
MATLAB (Matrix Algebra laboratory), distributed by The MathWorks, is a technical computing environment for high performance numeric computation and.
Precalculus Section 2.5 Approximate real roots of polynomials using graphing calculators Note: The solution to x 2 + 2x – 8 = 0 is found by (x+4)(x-2)
Section 9.4 – Solving Differential Equations Symbolically Separation of Variables.
Graphing Linear Equations
Systems of Nonlinear Equations
7.5 Zeros of Polynomial Functions
Introduction Mathcad is a product of mathSoft inc. The Mathcad can help us to calculate, graph, and communicate technical ideas. It lets us work with.
(Mohammed Sami) Ashhab
Solving Systems of non-linear Equations
Communication and Coding Theory Lab(CS491)
Discrete Least Squares Approximation
Vectors and Matrices In MATLAB a vector can be defined as row vector or as a column vector. A vector of length n can be visualized as matrix of size 1xn.
Systems of Equations Solve by Graphing.
  Warm Up:.
Presentation transcript:

Using MathCAD SCC Spring-08 Electronic Technology Wang Ng x-2638

Overview About MathCAD Using MathCAD as an interactive calculator Using MathCAD with formulas Equation solver Convenient features Advanced features Example : AC calculations Conclusion

General features MathCAD –WYSIWYG –K to 4-year College level. –Simple, easy to use. –Not intended for heavy-duty number crunching. MatLab –Programming style. –Up to M.S. level –Extensive training required. –Suitable for heavy-duty number crunching.

Calculator Mode The Calculator Tool Bar The “=“ key (It is the output command) Examples:  1+1=2 1/3=0.333  sin(1)=0.841sin(1deg)=0.017  1mi=1931m1mi=6336ft  Interactive: just edit the numbers  sin(45deg)=0.707

Complex Calculations Use i or j for the imaginary part  (5+3j)+(2-4j)=(5+3j)-(2-4j)=  (5+3j)*(2-4j)=(5+3j)/(2-4j)=  (5+3j)^2= = Polar/Rectangular conversion:  |5+3j|=  arg(5+3j)=(type deg)  2e^45j*deg= “j” can be placed in front by typing: 1j*45deg

Formulas You need to provide data: use the “:” key as the input command (it will look like :=). Then you need to enter the formula. Use the “=“ key to obtain the result. Example: Enter the followings  E:3V  R:2   I:E/R  I=

Equation solver Find(x,y,...) Solves a system of equations. Minerr(x,y,...) Approximate solution to a system of equations. root(f(x),x,a,b) Solves one equation in one unknown. lsolve(M,v) Solves a system of linear equations. polyroots(v) Solves for the roots of the polynomial whose coefficients are in v.

Example: Using the “root” command

Convenient features Use the worksheet as handouts. Specify the unit of the results. Change the input data and the results will be updated automatically. Note: Data must be placed above formulas. Many built-in functions (root, …) Comments can be entered after the “ key. You can save the worksheet. Resource center: Tutorials, quick sheets, …

Advanced features Symbolic process: The symbolic menu bar –Examples: type x^2”space”-1”space” and then select “Factor” from the symbolic menu bar. Graphs: see attached Bode Plot example. Array and range variables: Use the “;” key. See attached example. Programming: The programming menu bar has the basic programming commands. Calculus, differential equations, matrices, optimization, statistics, …

Bode Plot Example

Examples: RLC circuit impedance R1 R2 R3 C1 C2 L

Conclusion MathCAD is a versatile teaching tool: Calculation steps (formulas) Demonstrate specific effects Graphics Exam/Homework problems Partial credit Course note