11.07.2015 Views

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.1 The <strong>Maple</strong> solve Command • 51> eval(z,s2);− 7013 − 7 t − 5913 u> z := unapply(%, u, t);z := (u, t) → − 7013 − 7 t − 5913 u> y(1,1), z(1,1);86113 , −22013The assign CommandThe assign command allocates values to unknowns. For example, insteadof defining x, y, and z as functions, assign each to the expression on theright-hand side of the corresponding equation.> assign( s2 );> x, y, z;− 52713 − 7 t − 28 635 70u, + 12 t + u, −7013 13 13 13 − 7 t − 5913 uThink of the assign command as turning the “=” signs in the solutionset into “:=” signs.The assign command is convenient if you want to assign expressionsto names. While this command is useful for quickly assigning solutions,it cannot create functions.This next example incorporates solving differential equations, whichsection 3.6 Solving Differential Equations Using the dsolve Commanddiscusses in further detail. To begin, assign the solution.> s3 := dsolve( {diff(f(x),x)=6*x^2+1, f(0)=0}, {f(x)} );s3 := f(x) = 2 x 3 + x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!