Read chapters 10 and 11 in the textbook Explorations in Computing.
include SphereLab b = make_system(:solarsystem) view_system(b[1..5], :dash => 1) 30.times {update_system(b, 86459)}
What bodies of our solar system are visible in this simulation? Approximately what length of time is represented by this simulation?
>> s = "The last problem set" => "The last problem set"State what s.scan(r) would return for each of the following values for the regular expression r.
r = /./ r = /.*/ r = /..*/ r = /s./ r = /.*m/ r = /l|p/
"Good morning".scan(/../) {|text| puts text}
The material needed to answer the following questions will be covered in Unit 14 after Written Exam 3.
Consider the following logical formula: ¬(A ∧ B) ∧ (A → C) ∧ (C → B)
_________________________________________________ | | | | | | | MASTER | | | DINING | | | BEDROOM |BATH|BATH| KITCHEN | ROOM | | | | | | | | |________ |____|__ |_ __ _|__ __| | | | HALLWAY | | HOME | | ________ _____ OFFICE | | | | | | | BED- | BED- | FAMILY | LIVING | | | ROOM | ROOM | ROOM ROOM | | | | | | | |______|_________________|_______________|________|