TAILIEUCHUNG - Ebook Mathematica (2/E)1: Part 2

Part 2 book “Mathematica” has contents: Rational and algebraic functions, the art of simplification, differential calculus, integral calculus, multivariate calculus, maximum and minimum values, multiple integrals, ordinary differential equations, matrix operations, linear systems of equations, and other contents. | CHAPT E R 7 Algebra and Trigonometry Polynomials Because they are so prevalent in algebra, Mathematica offers commands that are devoted exclusively to polynomials. PolynomialQ[expression, variable] yields True if expression is a polynomial in variable, and False otherwise. Variables[polynomial] gives a list of all independent variables in polynomial. Coefficient[polynomial, form] gives the coefficient of form in polynomial. Coefficient[polynomial, form, n] gives the coefficient of form to the nth power in polynomial. CoefficientList[polynomial, variable] gives a list of the coefficients of powers of variable in polynomial, starting with the 0th power. EXAMPLE 1 PolynomialQ[x2 + 3 x + 2, x] True PolynomialQ[x2 + 3 x + 2/x, x] False PolynomialQ[x2 + 3 x + 2/y, x] ← 2/y is treated as a constant with respect to x. True PolynomialQ[x2 + 3 x + 2/y, y] False EXAMPLE 2 poly1 =(x + 1)10; poly2 = x3 – 5 x2 y + 3 x y2 – 7 y3; Variables[poly2] {x, y} Coefficient[poly1, x, 5] 252 Coefficient[poly2, x] 3 y2 Coefficient[poly2, y, 2] 3x Coefficient[poly2, x y2] 3 CoefficientList[poly1, x] {1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1} 186 CHAPTER 7 Algebra and Trigonometry 187 CoefficientList[poly2, x] {–7 y3, 3 y2, –5 y, 1} CoefficientList[poly2, y] {x3, –5 x2, 3 x, –7} Often it is convenient to write the solution of a polynomial equation as a logical expression. For example, if x2 – 4 = 0, then x = –2 or x = 2. Roots of polynomial equations can be expressed in this form using two specialized commands, Roots and NRoots. The solutions are given in disjunctive form separated by the symbol

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.