50% found this document useful (2 votes)
378 views103 pages

Calculus Labs For Matlab

Uploaded by

Gareth Thomas
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
50% found this document useful (2 votes)
378 views103 pages

Calculus Labs For Matlab

Uploaded by

Gareth Thomas
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 103
CALCULUS Labs for MATLAB Kevin M. 0’Connor This one iin World Headquarters Jones and Bartiett Publishers Jones and Bartlet Publishers Jones and Bartlett Publishers 40 Tall Pine Drive Canada International Sudbury, MA 01776 2406 Nikanna Road Barb House, Barb Mews 978-443-5000 Mississauga, ON LSC 26 London W67PA [email protected] CANADA UK wivw.jbpubcom Copyright © 2005 by Jones and Bartlett Publishers, Inc. ISBN: 0-7637-3426-8 Alll rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without written permission from the copy- right owner. Production Credits Acquisitions Editor: Timothy Anderson Editorial Assistant: Lesley Chiller Production Editor: Anne Spencer Marketing Manager: Matthew Payne Manufacturing Buyer: Therese Brauer ‘Composition: NK. Graphics Text Design: Anne Spencer Cover Design: Kristin E. Ohlin Printing and Binding: Malloy, Inc. Cover Printing: Malloy, Inc. Cover Images: © Photos.com Printed in the United States of America 0908070605 10987654321 Contents Re a 1 |] Executing Simple Mathematical Expressions 1 1.2 Using Built-in Functions in MATLAB 3 13. Names for Common Constants in MATLAB 4 14 Using Variables in MATLAB 5 15. Defining Your Own Functions in MATLAB 6 1.6 Plotting Functions 10 1] Ustsin MATLAB 14 1.8 Asking MATLAB for Help 17 1.$ Conclusion 18 Introducing the “Pictures” in MATLAB . . 2] Magnifying Functions 19 2.2 Picturing Solutions To Differential Equations in MATLAB 22 2.3 Plotting Slope Fields For Differential Equations 26 24 Plotting Experimental Data 29 25 Conclusion 32 3 Approximating Derivatives and Integrals ................2005 32 4] Approximating Derivatives with the Difference Quotient 32 3.2 Approximating integrals with the Euler Method 37 43° Conclusion 42 4 Exact Derivatives And Integrals... 0.2.0. .00 000 ce eee eee 43 4] Derivatives as Limits in MATLAB 43 42 Computing Derivatives with diff 45 43° Computing Integrals with int 46 44° Solving a Set of Coupled Differential Equations 49 45 Conclusion 53 5 The Theoretical Basis ...........0seessereeeceeeeeecnces 54 §] Visualizing Sequence Convergence 54 $.2 Lower Sums and Integrals 56 5.3 Conclusion 60

You might also like