help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:


From: Doug Stewart
Subject: Re:
Date: Sat, 24 Oct 2015 08:45:06 -0400



On Sat, Oct 24, 2015 at 6:36 AM, Jonathan Camilleri <address@hidden> wrote:
When I type sqrt(3) and sqrt(99) I do not get the same result as https://www.mathsisfun.com/irrational-numbers.html, is there some function which allows me to view the mathematical proof of the square root function for irrational numbers?

Sorry just an idiosyncratic question.

--
Jonathan Camilleri

If you want to have some fun and see more digits, then  try the symbolic package like this:


pkg load symbolic


digits(100)
a3=vpa(3)
a99=vpa(99)
sq3=sqrt(a3)
sq99=sqrt(a99)

 my answer looks like this:


a3 = (sym)

  3.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  00000000

a99 = (sym)

  99.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  00000000

sq3 = (sym)

  1.7320508075688772935274463415058723669428052538103806280558069794519330169088000370811461867
  57248576

sq99 = (sym)

  9.9498743710661995473447982100120600517812656367680607911760464383494539278271315401265301973
  84871953


reply via email to

[Prev in Thread] Current Thread [Next in Thread]