How to deduce the current function from the graph?

I want to express the current function based on the next graph

So using the slope and the coordinates in the third interval the current will be $$\i(t)=\begin{cases} 0\,A & 0\,s

This is the right approach? I intend to use the expression to calculate the average and rms current. Also if can point me more problems like this.

• masteringelectronicsdesign.com/… – Sunnyskyguy EE75 Dec 24 '18 at 1:24
• Yes, it's the right approach. – joe electro Dec 24 '18 at 3:09
• What's ‘x’, what’s ‘t2’, what’s ‘y’? Also, what happens at t>t2? – Chu Dec 24 '18 at 10:53