You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Klasa obliczająca wartość liczby pi poprzez całkę z 4/(1+x^2) na przedziale [0,1], tj. korzystająca
z tożsamości arctg(1) = pi/4 i wykorzystująca numeryczną wartość tej całki.
Klasa korzysta z IntegralUtilities.
*/
class IntegrationApproximatingAlgorithm :
public IApproximatingAlgorithm
{
public:
inline virtual std::string get_name() const { return "Przyblizenie liczby pi poprzez tozsamosc pi/4 = arctg(1) = calka z 1/(1+x^2) na przedziale [0,1] poprzez numeryczne obliczenie calki"; }