what is the value of resistance R?