Unit 7 Symbolic Processing 中華技術學院電子系 副教授 蔡樸生 副教授 林盈灝.

Slides:



Advertisements
Similar presentations
Beginning Programming for Engineers
Advertisements

Unit 4 The Performance of Second Order System 中華技術學院電子系 副教授 蔡樸生 副教授 林盈灝.
Functions in Maple 教授:蔡桂宏 博士 學生:柯建豪 學號: 統資軟體課程講義.
Unit 5 Graphical User Interfaces 中華技術學院電子系 蔡樸生 副教授 林盈灝 副教授.
CSE 123 Symbolic Processing. Declaring Symbolic Variables and Constants To enable symbolic processing, the variables and constants involved must first.
Lecture 16 Symbolic Mathematics Symbolic mathematics: algebraezplotcalculus © 2007 Daniel Valentine. All rights reserved. Published by Elsevier.
VARIABLES AND EXPRESSIONS NUMERICAL EXPRESSION A NAME FOR A NUMBER VARIABLE OR ALGEBRAIC EXPRESSION AN EXPRESSION THAT CONTAINS AT LEAST ONE VARIABLE.
Evaluating Variable Expressions Students will be able to evaluate variable expressions.
1.1 Lesson – Evaluating Algebraic Expressions
Algebraic Expressions Objectives: 1)To evaluate algebraic expressions 2)To simplify algebraic expressions.
The Distributive Property Purpose: To use the distributive property Outcome: To simplify algebraic expressions.
Order of Operations Chapter 1 Section 2 Part 1 and Part 2.
1.2 – Evaluate and Simplify Algebraic Expressions A numerical expression consists of numbers, operations, and grouping symbols. An expression formed by.
Algebra By : Monte. Term The number or an Expression that are added in a sum.
Introduction To this point MATLAB has been used to answer questions with a numeric value ▫Variables are assigned specific values ▫Answers are numbers MATLAB.
Algebra II w/trig. Logarithmic expressions can be rewritten using the properties of logarithms. Product Property: the log of a product is the sum of the.
Unit 6 Animation Design 中華技術學院電子系 蔡樸生 副教授 林盈灝 副教授.
Class Starter pg. 5. Vocabulary Variable Algebraic expression Numerical expression.
EXPRESSIONS. Vocabulary A variable is a symbol, usually a letter, used to represent a number. –Example: 4x (x is the variable) A coefficient is the number.
1-1 Integers and Algebraic Expressions Aim: How can we write algebraic expressions and evaluate them using the order of operations? CCSS: 6.EE.2.c.
3-5 Adding and Subtracting Like Fractions. Add Like Fractions Like fractions are fractions with the same denominator. Key Concept: Adding Like Fractions.
Algebra 1c 1-1 Symbols and Expressions Terms to Know: Variable: A symbol that represents a number. Algebraic Expression: Is a collection of numbers, operators,
1.1 Variables and Expressions Definition of terms: 1 ). A variable is a letter or symbol used to represent a value that can change. 2). A constant is a.
1.1 Variables and Equations Objective: To simplify numerical expressions and evaluate algebraic expressions. Warm – up:
Chapter 11 Calculus. Symbolic Expressions Required: > Symbolic Math Toolbox > Use Symbolic Variables.
1.7 The Distributive Property. You can use the distributive property to simplify algebraic expressions We can use the distributive property to re-write.
The Distributive Property 1-5 Objective: Students will use the Distributive Property to evaluate expressions and to simplify expressions. S. Calahan 2008.
Algebra Rational Algebraic Expressions. WARMUP Simplify:
1 Beginning & Intermediate Algebra – Math 103 Math, Statistics & Physics.
1.3 Algebraic Expressions Goals: ~Evaluate algebraic expressions ~Simplify algebraic expressions.
Warm Up Simplify.  3   15  (9 + 2)  7  5
Expressions Students will be able to identify, write, and evaluate simple expressions.
EQ: How do you evaluate algebraic expressions? I Will... Evaluate algebraic expressions..
Day Problems Write an algebraic expression for each phrase.
Objective: To Write and interpret numerical expressions.
Unit 4 Review!. 1. Write the expression Sum of 9 and z.
13(4x + 5) 8(14x + 9) 12(22x – 6) 14(2x – 8) Simplify the expression using the distributive property: Evaluate when m = 4, y = 5, a = 2 and b = 7 2m +
 Students will be able to use the order of operations to evaluate expressions Focus Question How is evaluating an algebraic expression different form.
1. a) the product of 5 and a number x b) Evaluate when x = -1 2.a) 18 decreased by a number z b) Evaluate when z = a) the quotient of 16 and a number.
1.1 Variables and Equations Objective: To Simplify numerical expressions and evaluate algebraic expressions.
Notes Over 1.2.
College Algebra Chapter 4 Exponential and Logarithmic Functions
Variables and Expressions
Variables and Expressions
Variables and Expressions
8-4 Properties of Logarithms
2-4 The Distributive Property
3.1 Simplifying Algebraic Expressions
Symbolic mathematics: algebra ezplot calculus
Variables and Expressions
College Algebra Chapter 4 Exponential and Logarithmic Functions
or write out factors in expanded form.
Write out factors in expanded form.
Objectives Translate between words and algebra.
Section 1.1 “Expressions and Variables”
Variables and Expressions
Maths Unit 1 - Algebra Order of operations - BIDMAS Algebraic Notation
Algebraic Expressions
You replace it with its simplest name
The Distributive Property
Evaluating Algebraic Expressions
Properties of Logarithms
Chapter Four Vocabulary
Variables and Expressions 1-1
Objectives Translate between words and algebra.
Algebraic Expressions
ALGEBRA II HONORS/GIFTED - SECTION 8-4 (Rational Expressions)
Translate between words and algebra. Evaluate algebraic expressions.
Ch 1, L7 Part 2 Students will be able to use the Distributive Property to simplify expressions. You can use the Distributive Property and mental math to.
Evaluating an expression with two variable
Presentation transcript:

Unit 7 Symbolic Processing 中華技術學院電子系 副教授 蔡樸生 副教授 林盈灝

Algebraic and Math. Operator syms : Create Symbolic Variables syms : Create Symbolic Variables expand : expands the expression by carrying out power expand : expands the expression by carrying out power simplify : simplifies the expression E simplify : simplifies the expression E factor : factors the expression E factor : factors the expression E >> syms x y >> syms x y >> expand ((x+y)^3) >> expand ((x+y)^3) >> expand (sin(x+y)) >> expand (sin(x+y)) >> factor(x^2-1) >> factor(x^2-1)

Algebraic and Math. Operator >> E1=x^2+5; >> E1=x^2+5; >> E2=y^3-2; >> E2=y^3-2; >> S1=E1+E2 : S1=x^2+3+y^3 >> S1=E1+E2 : S1=x^2+3+y^3 >> S2=E1*E2 : S2=(x^2+5)*(y^3-2) >> S2=E1*E2 : S2=(x^2+5)*(y^3-2) >> expand(S2) >> expand(S2) >> E3=x^3+2*x^2+5*x+10 >> E3=x^3+2*x^2+5*x+10 >> S3=E3/E1 >> S3=E3/E1 >> simplify(S3) >> simplify(S3)

Evaluating Expressions subs(E,old,new): To replace old with a numeric value to new in the expression E subs(E,old,new): To replace old with a numeric value to new in the expression E ezplot(E,[xmin xmax]) ezplot(E,[xmin xmax]) poly2sym([a,b,c…….],’v’) poly2sym([a,b,c…….],’v’) >> syms x >> syms x >> E=x^2+6*x+7 >> E=x^2+6*x+7 >> G=subs(E,x,2) >> G=subs(E,x,2) >> ezplot(E,[-2 6]) >> ezplot(E,[-2 6]) >> poly2sym([2,5,-3],’x’) >> poly2sym([2,5,-3],’x’)

Test Your Understanding (I) Given the expressions: Given the expressions: Find the product E1*E2 and express it in its simplest form Find the product E1*E2 and express it in its simplest form Find the quotient E1/E2 and express it in its simplest form Find the quotient E1/E2 and express it in its simplest form Evaluate the sum E1+E2 at x=7.1 Evaluate the sum E1+E2 at x=7.1

Differentiation syms n x y syms n x y diff(f(x,y),y,n) : 對於 f(x,y) 中的 y 作偏微 n 次 diff(f(x,y),y,n) : 對於 f(x,y) 中的 y 作偏微 n 次Integration int(f(x,y),y,a,b) : 對於 f(x,y) 由 a 到 b 作定積分 int(f(x,y),y,a,b) : 對於 f(x,y) 由 a 到 b 作定積分

Test Your Understanding (II) Given that, use MATLAB to find at x=0.2. Given that, use MATLAB to find at x=0.2. Given that, use MATLAB Given that, use MATLAB to find Given that,use MATLAB to find Given that,use MATLAB to find Use MATLAB to evaluate Use MATLAB to evaluate