Home : Map : Chapter 2 : Java : Tech : Physics :
Exercises
JavaTech
Course Map
Chapter 2

Introduction
Essentials
Structure

Keywords
Primitive Types
Comments
Literals
Expressions
Operators
Statements
Casts & Mixing
Strings
Console Output 
   Demo
Exercises

    Supplements
Conditional: if-else
Repetitions
Flow Control

Java vs C/C++
JVM Instructions 1

     About JavaTech
     Codes List
     Exercises
     Feedback
     References
     Resources
     Tips
     Topic Index
     Course Guide
     What's New

These exercise concentrate on using the Euler and Corrector-Predictor techniques.

  1. For an RC circuit,
         RI = V - Q/C
    solve for Q(t) assuming Q(0) = 0 and choosing practical values for R and C. Compare the Euler and Predictor-Corrector methods to each other and to the analytical formula.

  2. Add an air resistance term to the equation of motion of a falling mass as follows
        dv/dt = g - b * v2
    Use the Predictor-Corrector method to determine the terminal velocity for different values of b (e.g. in the range 0-5) to show how more air resistant objects slow more quickly than sleek, low drag objects.

 

 

            Tech
Arithmetic Ops
Math Class
More on Integers
FP : Overview
FP : Java  
  
Demo 1
More Mix/Cast
  Demo 2
Exercises

           Physics
Differential Eq.
Euler Method
  
Demo 1
Predictor-Corrector
  
Demo 2
Exercises

  Part I Part II Part III
Java Core 1  2  3  4  5  6  7  8  9  10  11  12 13 14 15 16 17
18 19 20
21
22 23 24
Supplements

1  2  3  4  5  6  7  8  9  10  11  12

Tech 1  2  3  4  5  6  7  8  9  10  11  12
Physics 1  2  3  4  5  6  7  8  9  10  11  12

Java is a trademark of Sun Microsystems, Inc.