 vpa - Maple Help

MTM

 vpa
 variable precision arithmetic Calling Sequence vpa(a,d) Parameters

 a - expression d - (optional) positive integer Description

 • The function vpa(a,d) returns the expression a evaluated with d digits of floating-point precision. If d is not given, then d is equal to the default precision, digits. Examples

 > $\mathrm{with}\left(\mathrm{MTM}\right):$
 > $\mathrm{Digits}≔4$
 ${\mathrm{Digits}}{≔}{4}$ (1)
 > $\mathrm{vpa}\left(\mathrm{\pi }\right)$
 ${3.142}$ (2)
 > $\mathrm{vpa}\left(\mathrm{\pi },6\right)$
 ${3.14159}$ (3)
 > $A≔\mathrm{Matrix}\left(\left[\left[1.23123,4.93756\right],\left[-123.17602,0.0234231\right]\right]\right)$
 ${A}{≔}\left[\begin{array}{cc}{1.23123}& {4.93756}\\ {-123.17602}& {0.0234231}\end{array}\right]$ (4)
 > $\mathrm{vpa}\left(\mathrm{LinearAlgebra}\left[\mathrm{MatrixInverse}\right]\left(A\right),14\right)$
 $\left[\begin{array}{cc}{0.0000385110381529485}& {-0.00811807837316464}\\ {0.202519581342707}& {0.00202432408626761}\end{array}\right]$ (5)