Lecture05 - Lecture 05 Standard Operations Engineering 101...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Engineering 101 Engineering 101 Lecture 05 Lecture 05 Standard Operations Standard Operations Prof. Michael Falk University of Michigan, College of Engineering
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Announcements Announcements Project 1 Due Wednesday at 9pm Reading: Chapter 2, Sections 5-9 I will be away next week M-Th I will be speaking at the 3rd International Conference on Multiscale Materials Modeling in Freiburg, Germany. Prof. Holloway will be presenting the lecture. GSIs will still be around to answer questions and help with Project1. I will be checking the ctools discussion board and my e-mail.
Background image of page 2
Announcements Announcements There will be questions asked during class Monday and Weds, but Prof. Holloway will not use the PRS system. Questions will be answered and collected on paper. Introducing Andrew Kunkel , your supplemental instructor.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Project 1 Project 1 Consider a quantum superlattice . These material structures are grown in the labs of Joanna Mirecki-Millunchick and Rachel Goldman in the MSE Department. Calculate if certain energy levels are allowed. This is known as the “band structure”
Background image of page 4
Project 1 Project 1 Your job is to: 1. Get the relevant input from the user a: the width of the low potential material b: the width of the high potential material V 0 : the potential difference between them E: the energy level you are testing 2. Calculate the value of and print it out so the user can determine if that is an allowed energy level 1. Test your program versus a working version in my directory called Working1 . 4 π 2 μ η 2 ς 0 - Ε ( 29 β κ σινκα ( 29 + χοσκα ( 29
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Operators Operators Operators are the most interesting of the three since they transform data. Operators that operate on one operand (data object) are unary , those that operate on two operands are called binary . operator Literals Identifiers new data
Background image of page 6
Mathematical Operators Mathematical Operators Operator Meaning Arity Placement Precedence sign change unary prefix 15 * multiplication binary infix 13 / real division binary infix 13 / integer division binary infix 13 % remainder binary infix 13 + addition binary infix 12 subtraction binary infix 12
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The Minus Operators – The Minus Operators – Two applications of “–” The difference is determined by whether the “–” is in front of a single literal or identifier or between two. int x, y, z; x = 5; y = – x; // here the “–” is a sign change z = x – 3; // here the “–” is a subtraction
Background image of page 8
The Division Operators / There are two “/” operators Integer division occurs if both operands are integers In this case the result is only the whole number part of the result. So the result is also an integer. 2/2
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/02/2008 for the course ENGR 101 taught by Professor Ringenberg during the Fall '07 term at University of Michigan.

Page1 / 49

Lecture05 - Lecture 05 Standard Operations Engineering 101...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online