Sharing Pedagogy with Java
Let's begin by looking at a particular teaching problem I have. Wave motion of all types, including those on the surface of a body of water, can be decomposed into trains of sinusoidal waves which propagate at different speeds and amplitudes. If the frequencies of these waves are similar, the wave motion is characterized by wave groups. In the simplest case of a wave group, take two waves that propagate at nearly the same speed, while the group they create by superposition travels at a different speed (depending on water depth for water waves). Now, how do you clearly present this concept to a class?
Or, on the other hand, what happens when the two wave trains are traveling in opposite directions? Is there a wave group? If the two oppositely directed wave trains have the same frequency, a standing wave system results with no propagation of energy. How do you conveniently introduce these latter variations on the same theme?
Finally, what happens when more wave trains are added or when a wave group reflects back onto itself?
The traditional method of explaining these ideas to a class is to take chalk in hand and draw pictures illustrating the concepts. These pictures, however carefully drawn, are static and fail to transmit the idea that the waves and wave groups are dynamic entities, moving at different speeds and superimposing to create the resulting wave forms.
An alternate method is to use a graphical computer program, allowing students to see the result of superimposing wave trains with any frequencies, amplitudes and directions they wish. By trying different combinations of wave amplitudes, directions and wave periods, students can empirically discover the behavior of the water surface. Also, by allowing them to see the separate wave component waves, it is clear, for example, that a standing wave is comprised of two oppositely directed progressive wave trains.
The graphical program I use to demonstrate this concept and more than a dozen others was developed with Java on my Linux computer. By writing these programs as applets, they are available via the Internet to students with a Java-enabled browser (preferably Netscape Navigator), to use in classroom instruction, or for anyone who is curious about waves and coastal processes.
In the traditional model of university instruction, a professor develops the notes for a course. A textbook is often used to provide either a structure to the course material or to augment the professor's lectures. These textbooks thus provide a passive means of utilizing the expertise of another individual to augment the professor's own knowledge, or they contain a desirable format or outline for presenting the material. However, the textbook forces the instructor to adopt most, if not all, of the author's style or approach to a subject. A major financial commitment is made by the students, who must invest in one or more texts.
Java and the Internet provide another avenue of utilizing other pedagogies without making a large investment of time or money in someone else's approach. In addition, the applets can provide useful graphical and computational tools.
The applets discussed here are provided on the Internet (address given in the following section) and are used by a number of other professors around the world to augment classroom instruction as homework, and as laboratory experiments for courses in water wave theory and coastal processes. They were written to support two graduate courses taught at the University of Delaware. Each applet illustrates a single concept, such as the particle motions and velocities under a wave of the user's choice. By typing in new data, the user can explore different scenarios, such as the nonlinear influence of wave height on water wave speed (Stream Function Wave Theory applet).
Using Java-enabled web browsers, these programs can be run locally by accessing my web site that hosts the applet code. As an alternative, these programs can also be provided as applications, which run locally on the user's machine equipped with Java—especially easy for Linux machines that recognize Java byte code.
My contribution is the Java Applets for Coastal Engineering site that I have developed. This web site provides Java applets which can assist in the teaching of water waves and coastal processes and provide useful tools for others. The applets are hosted at http://www.coastal.udel.edu/faculty/rad/ on my Coastal Engineering Java Page. The index.html page at this URL lists the titles of the applets, a terse description of their purposes, and dates that indicate when the Java code for the applet and the HTML page was last modified. Clicking on an applet title on the list results in the applet running on the user's computer. The applet generally consists of several graphical windows: the first allows the user to input data to the applet and the second shows the results of the computation. In addition, HTML text associated with the applet provides a description of the use of the applet, the concepts it illustrates, and some idea of this theory in the Java program.
Once compiled, all the program elements become separate code segments, referred to as classes. These elements have been converted by the compiler into machine-independent byte code, which is downloaded by clicking on the applet's name on the Coastal Engineering Java Page. The user's browser converts the byte code into a local version of the applet, which then runs on his/her machine. The load on my machine is the downloading of the byte code.
While the web site is hosted by a Sun workstation, the programming and debugging was done with a PC running Linux and the Linux port of Java. The site, http://www.blackdown.org/, has the latest information on the Linux port of Java, an HTML version of the Java-Linux HOW-TO and a list of mirror sites for downloading the Java Development Kit (now JDK 1.1.5). Another reference is the October 1996 issue of Linux Journal (http://www.linuxjournal.com/issue30/), which had a number of articles on Java.
- Readers' Choice Awards 2013
- The Geek's Guide to the Coolest 2013 Holiday Gifts
- A Plexible Pi
- Sublime Text: One Editor to Rule Them All?
- Swap Your Laptop for an iPad + Linode
- RSS Feeds
- Raspberry Pi: the Perfect Home Server
- Linux Kernel News - November 2013
- Mars Needs Women
- Advanced Hard Drive Caching Techniques
- "RasPlex Linux-based OS
1 hour 55 min ago
- Clarification; RasPlex is not
8 hours 44 min ago
- Clarification; RasPlex is not
8 hours 46 min ago
- Starting the conversation is the first step.
9 hours 46 min ago
11 hours 33 min ago
11 hours 33 min ago
- Nice but....
11 hours 55 min ago
- great specs
18 hours 24 min ago
- Reply to comment | Linux Journal
19 hours 31 min ago
- rilakkuma onesie
22 hours 7 min ago