L2post - Previous Lecture(and Lab Intro to the course...

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

View Full Document Right Arrow Icon
Lecture 2 1 ± Previous Lecture (and Lab): ± Intro to the course, “Computational senses” ± The Matlab Command Window ± Today’s Lecture: ± Anatomy of a program ± Variables, assignment, mathematical operations ± ± Announcements ± Due to the fixed lab capacity, you must attend the section in which you are enrolled ± Discussion sections are held in Upson B7 lab this week ± Consulting begins Wednesday in ACCEL Green Room (Carpenter Hall)
Background image of page 1

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

View Full DocumentRight Arrow Icon
Room Time Sec # UPS B7 Right W 3:35-4:25p 210 UPS B7 Right W 2:30-3:20p 209 UPS B7 Right W 1:25:2:15p 208 UPS B7 Right W 12:20-1:10p 207 UPS B7 Right W 11:15a-12:05p 206 UPS B7 Right W 10:10-11:00a 205 UPS B7 Right T 3:35-4:25p 204 UPS B7 Right T 2:30-3:20p 203 UPS B7 Right T 1:25-2:15p 202 UPS B7 Right T 12:20-1:10p 201 CS1112 Discussion Sections Sections are held in UPS B7 the first two weeks
Background image of page 2
Lecture 2 3 Formula ± Surface area of a sphere?
Background image of page 3

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

View Full DocumentRight Arrow Icon
Lecture 2 4 Formula ± Surface area of a sphere? 2 4 r A π =
Background image of page 4
Lecture 2 5 Formula ± Surface area of a sphere? ± Have the cosine of some angle and want cos( θ /2)? 2 4 r A π = [ ] 2 , 0 θ∈
Background image of page 5

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

View Full DocumentRight Arrow Icon
Lecture 2 6 Formula ± Surface area of a sphere? ± Have the cosine of some angle and want cos( θ /2)? 2 4 r A π = [ ] 2 , 0 θ∈ 2 ) cos( 1 ) 2 / cos( + =
Background image of page 6
Lecture 2 7 Surface Area Increase >> r = 6365; >> delta = .000001; >> A_plus = 4*pi*(r+delta)^2; >> A = 4*pi*r^2; >> Increase = A_plus - A Increase = 0.15996992588043
Background image of page 7

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

View Full DocumentRight Arrow Icon
Example: sphereArea
Background image of page 8
Lecture 2 9 A computer program input output computation
Background image of page 9

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

View Full DocumentRight Arrow Icon
Lecture 2 10 ± Variable : a named computer memory space for storing a value r A
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/05/2011 for the course CS 101 at Cornell.

Page1 / 30

L2post - Previous Lecture(and Lab Intro to the course...

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

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