(Solved):
SOLVE USING MATLAB
Given is the circuit diagram of a simple RC Circuit. In the given circuit t ...
SOLVE USING MATLAB
Given is the circuit diagram of a simple RC Circuit. In the given circuit the value of capacitor ' C ' is 10uF. Fig1: RC Circuit While performing an experiment the following data is obtained for the voltage (Vc) of this capacitor at different times. Table 1: Voltage Vc (volt) vs Time t(ms) data Instantaneous capacitor current, IC?=CdtdVC?? i) Determine the current (I ) flowing through the capacitor at each point of time given in the table using MATLAB and plot the approximated and true current (Table2) on same figure window to make a comparison. [3] ii) True value of current Ic at each point of time is given on the following table2. Calculate the relative percentage true error for each time instant using MATLAB. [2] iii) Fit the data-points (Table-2) using suitable Curve-Fitting Model and then determine the value of current Ic at t=4sec using MATLAB. Calculate the relative percentage true error for t=4sec using MATLAB. [5]