L2post

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

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

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)

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

View Full Document
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
Lecture 2 3 Formula ± Surface area of a sphere?

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

View Full Document
Lecture 2 4 Formula ± Surface area of a sphere? 2 4 r A π =
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 θ∈

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

View Full Document
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( + =
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

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

View Full Document
Example: sphereArea
Lecture 2 9 A computer program input output computation

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

View Full Document
Lecture 2 10 ± Variable : a named computer memory space for storing a value r A
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
Ask a homework question - tutors are online