L2basics - Previous Lecture: Computational senses Intro to...

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

View Full Document Right Arrow Icon
September 1, 2009 Lecture 2 5 ± Previous Lecture: ± “Computational senses” ± Intro to computer programming ± CS1112 vs. CS1110 ± Today’s Lecture: ± Anatomy of a program ± ± Functions for input & output
Background image of page 1

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

View Full DocumentRight Arrow Icon
September 1, 2009 Lecture 2 7 Formula ± Surface area of a sphere?
Background image of page 2
September 1, 2009 Lecture 2 8 Formula ± Surface area of a sphere? 2 4 r A π =
Background image of page 3

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

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

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

View Full DocumentRight Arrow Icon
September 1, 2009 Lecture 2 11 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 6
September 1, 2009 Lecture 2 13 A computer program input output computation
Background image of page 7

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

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

This note was uploaded on 03/06/2010 for the course CS 1112 taught by Professor Daisyfan during the Fall '08 term at Cornell University (Engineering School).

Page1 / 16

L2basics - Previous Lecture: Computational senses Intro to...

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

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