Archive for February, 2002

Monday, February 18th, 2002

After Linear Algebra with Differential Equations at 9:00am this morning, I decided that, because habitual sleeping in Calculus could cause long term spinal injuries, I should sleep in my room instead. Of course, I was already halfway there when I remembered that I still had to make the trek to Bloomberg to turn in my homework before I could go back home. For those of you not familiar with the Johns Hopkins campus, Shaffer is at one end and Bloomberg is about as far away from it as you can get without going off campus. On this map, they are buildings 31 and 56. Every Monday, Tuesday and Wednesday I have a 9:00am at Shaffer followed by a 10:00am at Bloomberg followed by a 11:00am at Shaffer.

Saturday, February 16th, 2002

The weather is so nice today in Baltimore. After my 1:00pm voice lesson at Peabody, I was seriously considering walking over to the Inner Harbour to take some photos, but then I remembered just how much homework I had. Ugh… I have my first midterm next week (Linear Algebra with Differential Equations). So instead of spending the daylight hours in downtown Baltimore, I decided to take a cab home — I would have had to wait 45 minutes for the shuttle. But, just to illustrate how averse I am to spending money. I had the taxi drop me off at 27th and Charles (I live at 34th and Charles) so that I wouldn’t have to spend more than five dollars. You know what really bothers me? Angst filled narrow minded taxi drivers who are too vocal about their peeves. Oh well, it was a short ride.

“e” Calculator

Thursday, February 7th, 2002

[code lang=”java”]
/*——————–
“e” Calculator
Calculates the value of the number e
Carlos Macasaet
February 7, 2002
——————–*/

import java.io.*;

class calc_e {
public static void main(String[] args) throws IOException {
BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
System.out.print(”Input number of terms to evaluate: “);
System.out.flush();

String inputLine = stdin.readLine();

if(inputLine != null) {
int numterms = Integer.parseInt(inputLine);
System.out.println(”e = ” + Calc_e(numterms - 1));
} else System.out.println(”No input!”);

System.out.println(”Program terminated.”);
}

static double Factorial(int n) {
return (n == 0) ? 1 : (n * Factorial(n - 1));
}

static double Calc_e(int term) {
return (term == 0) ? 1 : Calc_e(term - 1) + (1 / Factorial(term));
}
}
[/code]

Soo Bahk Do Class Time

Saturday, February 2nd, 2002

The Soo Bahk Do class times are now official. Monday nights from 7:00pm to 9:00pm and Saturday Nights from 6:00pm to 8:00pm we will be meeting in the third floor multipurpose room at the athletic center. In addition, we still have the Mattin Center Dance Studio on Wednesday nights from 7:00pm to 9:00pm. On Wednesday nights, the adult class will start at 7:45pm. I highly suggest that everyone make an effort to attend at least two classes a week.


Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported
Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported