thank you, i think I got it. if you can tell me if I got that right ill be a very happy student:
the current flows through the resistor to the capacitor until we get to half cycle. the the capacitor starts to discharge in a lower current (lower potential then the source) which starts to flow back through the resistor. at the end of each cycle there will be more charge building up on the capacitor until we reach steady state where the current from the source which charging the capacitor is equal to the current of the capacitor's discharges. in other words, the potential on the capacitor will equal on average to the potential of the source.
please tell me I got that right... i cant drop it and i need to study for other subjects and i cant do that until ill get this.
by the why, i cant seem to get to the right formula for the charge and discharge. the charge rate is Vs(1-exp(-t/τ) and discharge is Vs[(1-exp(-t/τ)]exp(-t/τ) so for infinity time the formula for Vout will be: Vout=Vs(1-exp(-t/τ){1+(1-exp(-t/τ)+[(1-exp(-t/τ)]^2+[(1-exp(-t/τ)]^3+...} thats can't be right but for some reason i cant find my mistake