Okay, so presumably this is the most extreme position for Black:
$$Bc
$$ | . . . . . . . . . . .
$$ | . . . X X X X O O . .
$$ | . . . . X O O X O . .
$$ | . . . . . . O X O . .
$$ | . . . . . X . B C . .
$$ -----------------------
- Click Here To Show Diagram Code
[go]$$Bc
$$ | . . . . . . . . . . .
$$ | . . . X X X X O O . .
$$ | . . . . X O O X O . .
$$ | . . . . . . O X O . .
$$ | . . . . . X . B C . .
$$ -----------------------[/go]
Now, I suppose that black could play this, say, as a ko threat, with the implied threat being:
$$Bc :w2: elsewhere
$$ | . . . . . . . . . . .
$$ | . . . X X X X O O . .
$$ | . . . . X O O X O . .
$$ | . . . . . . O X O 6 .
$$ | . . . . . X 5 1 3 4 .
$$ -----------------------
- Click Here To Show Diagram Code
[go]$$Bc :w2: elsewhere
$$ | . . . . . . . . . . .
$$ | . . . X X X X O O . .
$$ | . . . . X O O X O . .
$$ | . . . . . . O X O 6 .
$$ | . . . . . X 5 1 3 4 .
$$ -----------------------[/go]
However, this seems profoundly unlikely, and I will assume that if

is playable,

forces

-
$$Bc
$$ | . . . . . . . . . . .
$$ | . . . X X X X O O CC
$$ | . . . . X O O X O CC
$$ | . . . . . . O X O CC
$$ | . . . . . X 3 1 2 CC
$$ -----------------------
- Click Here To Show Diagram Code
[go]$$Bc
$$ | . . . . . . . . . . .
$$ | . . . X X X X O O CC
$$ | . . . . X O O X O CC
$$ | . . . . . . O X O CC
$$ | . . . . . X 3 1 2 CC
$$ -----------------------[/go]
So this is the best possible local result for B, and this is the diagram from which we can calculate the swing in the score, treating this diagram as "W has nothing." Whether or not W gets points in the marked area is irrelevant for our purposes. (Except for the fact that saving the black stones is much bigger if W is weak or could become weak! Many yose problems hinge on threats to kill groups, or gote yose moves which are big because they weaken a group and turn other yose moves into sente threats. But we could do the problem on the assumption the the white group is absolutely unkillable, which I think is what you wanted - just so long as you understand we could also do it on the basis of the assumption that it will die if B captures, or on the assumption that this final diagram is sente and forces W to spend a move making an eye... each of the three assumptions leads to different mathematical analysis of the position.)
The best possible local result for W is a little bit trickier.
$$Wc
$$ | CCC . . . . . . . .
$$ | CCC X X X X O O . .
$$ | CCC . X O O X O . .
$$ | CCC 3 1 . O X O . .
$$ | CCC . . . . . . . .
$$ -----------------------
- Click Here To Show Diagram Code
[go]$$Wc
$$ | CCC . . . . . . . .
$$ | CCC X X X X O O . .
$$ | CCC . X O O X O . .
$$ | CCC 3 1 . O X O . .
$$ | CCC . . . . . . . .
$$ -----------------------[/go]
At this point it would be much easier to figure out W's best possible local result if we knew which stones each side had around the marked area. For example, if this entire area could become black territory

is quite big because is threatens something like

--
$$Wc
$$ | . . . . . . . . . . .
$$ | . . b X X X X O O . .
$$ | . a 5 . X O O X O . .
$$ | . . . 3 1 . O X O . .
$$ | . . . . . . . . . . .
$$ -----------------------
- Click Here To Show Diagram Code
[go]$$Wc
$$ | . . . . . . . . . . .
$$ | . . b X X X X O O . .
$$ | . a 5 . X O O X O . .
$$ | . . . 3 1 . O X O . .
$$ | . . . . . . . . . . .
$$ -----------------------[/go]
(Would

be better at a? b? Hard to say!) On the other hand, if there is not a lot territory at stake here because B has already surrounded and killed a group in the corner,

is much smaller, the swing between the best local result for each play is smaller, and the values of the plays change accordingly.
$$Wc
$$ | . BB . . . . . . . .
$$ | B W B X X X X O O . .
$$ | . W B . X O O X O . .
$$ | W W B 3 1 . O X O . .
$$ | . W B . . . . . . . .
$$ -----------------------
- Click Here To Show Diagram Code
[go]$$Wc
$$ | . BB . . . . . . . .
$$ | B W B X X X X O O . .
$$ | . W B . X O O X O . .
$$ | W W B 3 1 . O X O . .
$$ | . W B . . . . . . . .
$$ -----------------------[/go]
(And of course, everything I said about the strength of the white group affecting the count applies equally to the black group.)
So anyway - when you say "I just want a mathematical analysis for a board that is empty except for this stones," I'm sure you see the problem. In a normal endgame problem, or at least a problem that hinges on counting rather than spotting tesuji, you see a large part of the board, and you can figure out the value of the most extreme local results for B and W on the basis of the surrounding stones (including the question of whether any groups are dead, or are exposed to lethal threats). Does this make sense? I hope this is helpful (and also hope that it is correct! .. if it isn't, I'm I'll hear all about it soon enough).