

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


ms for the calculation, and use the error of approximation technique to determine the largest time interval that will yield a solution at a defined index point to 5 significant figures. We will define that index point to be at t = 0.1 s during the discharge. Plot capacitor charge against time over the defined range. Compare the two solutions for Q at the index point and, using tic and toc functions, the execution times for the two FDDA approaches. Hints: While you are developing your program, you may want to implement a loop counter that will cause your program to end if you exceed a reasonable maximum. Check your programming solution using two significant figure precision for the index point calculation. When you are comfortable that your programming is correct, calculate your final solutions with five-figure precision.