PowerShell video on implementing Newton-Raphson method, finding square root

Veröffentlicht am: 18 Januar 2020
auf dem Kanal: PowerShell Experiments
213
1

Newton Raphson method is used to calculate nth root of a number, to find inverse of a number and it has many other applications as well. It is approximation method in calculus where a function is approximated to linear equation and hence nth root is calculated.
I have first discussed the method in detail and then have implemented the method.
The relation which I will be using in
X(n+1) = X(n) - F(X(n))/F`(X(n))
For more details please use the link below
https://en.wikipedia.org/wiki/Newton%...

The code is pasted below.
#PowerShell script to implement Newton Raphson method

#NewtonRaphsonMethod
#SquareRoot

#LinearApproximation
#Calculus

$a = 10
Do{
$a1 = $a - ($a*$a - 410)/(2*$a)
$Diff = $a1 - $a
$Round = [Math]::Round($Diff,1)
$Abs = [Math]::Abs($round)
$a = $a1
$a
}while($Abs -ne 0)


Auf dieser Seite können Sie das Online-Video PowerShell video on implementing Newton-Raphson method, finding square root mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer PowerShell Experiments 18 Januar 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 213 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!