# Lecture05 - Lecture 05 Standard Operations Engineering 101...

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

Engineering 101 Engineering 101 Lecture 05 Lecture 05 Standard Operations Standard Operations Prof. Michael Falk University of Michigan, College of Engineering

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

View Full Document
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.
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.

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

View Full Document
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”
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

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

View Full Document
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
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

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

View Full Document
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
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

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### 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
Ask a homework question - tutors are online