Exponential Decay (program)
Sunday, June 3rd, 2007User inputs:
- amount
- rate at which amount decreases
- period of time
Program outputs:
- the amount that is lost
- the new total amount
User inputs:
Program outputs:
From a set of voltage, resistance, current, and power values in an electrical circuit, give two or three known values; the program will calculate the other unknown values. In the event that all four values are known, the program will evaluate them for their accuracy according to an acceptable margin of error given by the user.
Find-Voltage-Resistance-Current-Power Program Walkthrough #1:

In this example, two values are known: Voltage is 10 volts and resistance is 5 ohms. Note that these are base units. You may use any power of 10 that you wish; however, then all the values must be expressed in that same power of 10. Enter plus signs for the unknown values and, in this case, they are current and power.

According to the given information, the other two values are calculated and displayed along with the formulas used to derive them. Units measures retain the same power of 10 as the given values. The scenario of three known values will not be covered. The display screens are similar to the current example.
Find-Voltage-Resistance-Current-Power Program Walkthrough #2:

In this case, all four values are known and will be tested for their accuracy.

Input the acceptable margin of error for the given values. In this case, the margin is zero, and the values must perfectly match for the data to be called good.

From the previous trial, we already know that those values match perfectly, and the program reiterates the fact that the data are good according to the acceptable margin of error (which was zero).
Find-Voltage-Resistance-Current-Power Program Walkthrough #3:

Before, we covered an example of good data; now it’s time for a bad data example. What if you got 8 volts instead of 10 volts in an experiment? Is it going to affect your results? Enter the data and let’s find out.

This part is crucial. How accurate does your data need to be–within one, five, or 10 units? Let’s say the acceptable margin of error of the whole set is one. The program reveals that 8 volts, 5 ohms, 2 amps, and 20 watts are bad data. However, if you entered a margin of error of five, then the data would be good. It just depends on how strict your measurements must be.
Find-Voltage-Resistance-Current-Power Program Walkthrough #4:

This example applies more to experimental values which are observed and approximated, rather than theoretical numbers, which are usually exact values. Enter the four observed values.

This is where margin of error really pays off. You’re probably not going to get exact values in an experiment, but you may be extremely close to them. Enter an acceptable margin of error and see if the data are good. In this example, they are.