i want to find
-battery dischharge volt vs time
-baterry capacity
-internal resistance (ohm)
-continuous load
-pulse load
can you give me some advice
Is Google not working today?
That circuit you have drawn has only a small chance of measuring one or two of the things you asked for. You are going to need a lot more components to measure pulsed power and internal resistance.
How big is the battery? Are you measuring watch batteries or forklift batteries? You need to start with the basic figures of maximum voltage and maximum current.
POPPOPz:
where can i find some code
Under your fingers, once you've specified your design requirements and built an appropriate circuit?
That circuit won't do what you want it to - but to help you figure out a better one, we need to know more parameters, and ballpark numbers for the sort of batteries we're working with, and what battery chemistry.
Apart from the above comments, your Bat1 is drawn with reversed polarity
POPPOPz:
i want to find
-internal resistance (ohm)...can you give me some advice