Professional Documents
Culture Documents
Full download Fundamental Chemistry with MATLAB 1st Edition Daniele Mazza file pdf all chapter on 2024
Full download Fundamental Chemistry with MATLAB 1st Edition Daniele Mazza file pdf all chapter on 2024
https://ebookmass.com/product/modern-information-optics-with-
matlab-yaping-zhang/
https://ebookmass.com/product/dynamic-system-modelling-and-
analysis-with-matlab-and-python-1st-edition-jongrae-kim/
https://ebookmass.com/product/dynamics-of-structures-with-matlab-
applications-ashok-k-jain/
https://ebookmass.com/product/fundamental-things-1st-edition-
louis-derosset/
Inverse Synthetic Aperture Radar Imaging With MATLAB
Algorithms 2nd Edition Caner Ozdemir
https://ebookmass.com/product/inverse-synthetic-aperture-radar-
imaging-with-matlab-algorithms-2nd-edition-caner-ozdemir/
https://ebookmass.com/product/optimizations-and-programming-
linear-non-linear-dynamic-stochastic-and-applications-with-
matlab-abdelkhalak-el-hami/
https://ebookmass.com/product/disturbance-observer-for-advanced-
motion-control-with-matlab-simulink-akira-shimada/
https://ebookmass.com/product/fundamental-immunology-seventh-
edition/
https://ebookmass.com/product/applied-numerical-methods-with-
matlab-for-engineers-and-scientists-5th-edition-steven-c-chapra/
Fundamental Chemistry
With Matlab
This page intentionally left blank
Fundamental Chemistry
With Matlab
Daniele Mazza
Former Faculty, Politecnico di Torino, Turin, Italy
e-mail: mazzad50@gmail.com
Enrico Canuto
Former Faculty, Politecnico di Torino, Turin, Italy
e-mails: enrico.canuto@formerfaculty.polito.it;
canuto.enrico@gmail.com
Elsevier
Radarweg 29, PO Box 211, 1000 AE Amsterdam, Netherlands
The Boulevard, Langford Lane, Kidlington, Oxford OX5 1GB, United Kingdom
50 Hampshire Street, 5th Floor, Cambridge, MA 02139, United States
Copyright © 2022 Elsevier Inc. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or any information storage and retrieval system, without permission
in writing from the publisher. Details on how to seek permission, further information about the Publisher’s
permissions policies and our arrangements with organizations such as the Copyright Clearance Center and the
Copyright Licensing Agency, can be found at our website: www.elsevier.com/permissions.
This book and the individual contributions contained in it are protected under copyright by the Publisher (other than
as may be noted herein).
Notices
Knowledge and best practice in this field are constantly changing. As new research and experience broaden our
understanding, changes in research methods, professional practices, or medical treatment may become necessary.
Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using any
information, methods, compounds, or experiments described herein. In using such information or methods they
should be mindful of their own safety and the safety of others, including parties for whom they have a professional
responsibility.
To the fullest extent of the law, neither the Publisher nor the authors, contributors, or editors, assume any liability
for any injury and/or damage to persons or property as a matter of products liability, negligence or otherwise, or
from any use or operation of any methods, products, instructions, or ideas contained in the material herein.
ISBN: 978-0-323-91341-6
To our families
This page intentionally left blank
Contents
Introduction.......................................................................................................................................... xv
vii
viii Contents
7.4 Titration of a weak biprotic acid with a strong base ............................................ 161
7.4.1 Description and graphical results ................................................................ 161
7.4.2 Matlab script ................................................................................................ 161
7.5 Triprotic acid and sodium salt: H3PO4 1 Na3PO4 ................................................ 163
7.5.1 Description and results................................................................................. 163
7.5.2 Matlab script ................................................................................................ 164
7.6 Titration of a triprotic acid with addition of NaOH.............................................. 164
7.6.1 Description and graphical results ................................................................ 164
7.6.2 Matlab script ................................................................................................ 165
7.7 Carbonatic acidbase equilibria involving the precipitation of
CaCO3 and Mg(OH)2 ............................................................................................. 166
7.7.1 Description and numerical results ............................................................... 166
7.7.2 Matlab script ................................................................................................ 166
7.8 Pure water electric conductivity at different temperatures ................................... 169
7.8.1 Description and graphical results ................................................................ 169
7.8.2 Matlab script ................................................................................................ 170
7.9 pH and water ionic product from 0 C to 80 C ..................................................... 172
Reference ................................................................................................................ 172
CHAPTER 10 Prevalence diagrams for common elements aided by Matlab ....... 229
10.1 Introduction and scope ........................................................................................... 229
10.2 The electrode potential E0 and the galvanic cell................................................... 230
10.3 Energy analysis of a galvanic cell ......................................................................... 231
10.3.1 Introduction ................................................................................................ 231
10.3.2 Example 1 .................................................................................................. 234
10.4 The Nernst equation ............................................................................................... 234
10.4.1 Introduction ................................................................................................ 234
10.4.2 Example 2 .................................................................................................. 235
10.4.3 Example 3 .................................................................................................. 235
10.5 The electron activity .............................................................................................. 236
10.6 The prevalence (or Pourbaix) diagrams................................................................. 236
10.6.1 Introduction ................................................................................................ 236
10.6.2 Two alternative algorithms for building prevalence/stability
diagrams ..................................................................................................... 239
10.7 The first algorithm ................................................................................................. 239
10.8 The second algorithm............................................................................................. 240
10.8.1 The main script .......................................................................................... 240
10.8.2 The functions.............................................................................................. 245
10.9 The fundamental prevalence diagram: water ........................................................ 248
10.9.1 Description ................................................................................................. 248
10.9.2 Graphical and numerical results ................................................................ 250
Contents xiii
xv
xvi Introduction
some detail. The web version of the book will show the default colors which distinguish three kinds
of sentences and variables in the script:
1. Black is reserved to statements to be executed.
2. Green is reserved to comments which are introduced by the % character.
3. Bold green is reserved to comments introduced by the %% characters. They split the script into
sections which can run separately or step by step. Such comments have been exploited to split
the script into sections with different functionalities, for instance, initialization, user data
statements, data collection from external excel sheets, main computation, result printout, and
2D and 3D graphical plots.
Fairly all of the scripts designed to produce the book’s graphical plots are reported in the book
itself. The complete library of scripts (main scripts and functions) of extension , .m . , excel files
of extension , .xlsx . and Simulink block diagrams (models) of extension , .slx . can be found
in the companion website of the book [2]. Care has been taken to ensure the script execution with-
out warnings and errors, at least as they are reported in the book and on the companion website [2].
Of course, any bug can be reported to the authors via their e-mail addresses.
Simulink models of extension , .slx . could not be included in the book (see Appendix D,
Chapter 14), but the image of several block diagrams has been added to Chapters 3 and 4.
Matlab scripts and Simulink models have been developed with an academic license of Matlab/
Simulink. No Matlab toolbox has been employed.
Prevalence diagrams for some common elements aided by Matlab (Chapter 10)
Any element in aqueous solution is capable of transforming into different chemical forms, accord-
ing to pH and EH , the redox potential of the same solution. In this way, we obtain pH=EH dia-
grams, known as prevalence (or Pourbaix) diagrams (M. Pourbaix, 190498). Matlab graphical
capabilities enable an easy representation of these diagrams for some common elements, like Fe, S,
and Mn. The methods can be applied as well to other elements, by providing the pertinent electro-
chemical potentials.
Appendices
Appendix A: Introduction to linear algebra
Appendix B: Introduction to dynamic systems
Appendix C: Introduction to linear regression
Appendix D: Introduction to Matlab Simulink
Appendix E: Table of sea water coefficients
Appendix F: Introduction to the Schroedinger equation
Introduction xix