Exercise 1: Basic Simulation Program (60%)
Document: Software Engineering 1: Lab Exercises
Exercise 2: Enhanced Simulation Program (40%)
Session 11: Week 22/23: Simulating an RC
Session 11: Week 22/23: Simulating an RC
Develop a program which will "simulate" the
behaviour of a simple RC circuit, in the sense of providing
predictions of how the charge on the capacitor will vary over
time.
The program should prompt for and read in values
for the following parameters from the user:
When the program is executed, it should print one line on the
screen for each time step. Each line should show the time and
the calculated value for q(t) at that time.
Document: Software Engineering 1: Lab Exercises
Exercise 2: Enhanced Simulation Program (40%)
Session 11: Week 22/23: Simulating an RC
Session 11: Week 22/23: Simulating an RC
McMullin@eeng.dcu.ie
Tue Apr 30 14:15:37 GMT 1996