270 likes | 456 Views
Nanostructure Modeling An Introduction to Mathematica Programming. V. Yazdanpanah Tel: 575-7660, Office: Phys129 Email: yazdan@uark.edu. Nanostructure Modeling. Course Content : Questions and solutions in modeling. Introduction to Mathematica programming.
E N D
Nanostructure Modeling An Introduction to Mathematica Programming V. Yazdanpanah Tel: 575-7660, Office: Phys129 Email: yazdan@uark.edu
Nanostructure Modeling • Course Content: • Questions and solutions in modeling. • Introduction to Mathematica programming. • Different Theoretical methods for nanostructure modeling. • The Empirical Tight Binding Method (ETBM). • Quantum well (QW) superlattice structure modeling and analyzing the results. • Quantum well superlattice energy band modeling and analyzing the results. • Advanced superlattice structure modeling.
Mathematica Verses Mathlab When we compare Mathematica Version 5.0 with Matlab Version 5.0, the program in Mathematica is much faster than the similar one in Matlab. It seems the new version of Matlab is much faster than the existing version of Mathematica.
Variables and Inputs in Mathematica End of each line we need ” ; ”. Mathematica recognizes lower-case and capital letters. <<Graphics`Animation` xi=2.1; Xi=3.4; Off[General::spell1];Off[General::spell]; n=Input["Enter n The Number of GaSb Layers"] (* Uncompelled Sentences *);
Functions and Arguments in Mathematica
If[A==2,B=3,B=4]; Mathematica
Summary • Mathematica Verses Mathlab • Variables and Inputs • Functions and Arguments • Outputs • Arrays • Tables • Matrices • Graphics
Homework 1 • Write a Mathematica program asking you for “x” as an integer, “y” as integer and “z” as a real number and gives you the bellow formula for each value. • “z” can be any number however in the formula is just with a fractional part of 2 deguts.