View difference between Paste ID: qDt8S1T8 and NR0SbYcB
SHOW: | | - or go back to the newest paste.
1
//Ф(j) with integer j
2
double Elem(int j);
3
4
//Ф(j) with half-integer j
5
double Elem(double j);
6
7
// d/dx Ф(j) with integer j
8
double diffElem(int j);
9
10
// d/dx Ф(j) with half-integer j
11
double diffElem(double j);
12
13
double Solution()
14
{
15
	Elem(1) + Elem(0.5)
16
}
17
18
double diffSolution()
19
{
20
	diffElem(1) + diffElem(0.5)
21
}