Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Reals in anyalitcal calculus

Author
Message
Zombie 20
18
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 17th May 2008 13:30
As it says in the topic I am currently reading calc as well as ai theory but to my question. In the book we are presented with a short paragraph about x in algebra and that it can be pos. or neg or zero, all this I know. However, cited at the bottom is a line saying only reals are being discussed yet they are presented as integers. So, how would this work, i thought reals contained only decimals or is there a double standard?

Also on a side note, since i have no comp to test this, if i were to set a camera up, could I save it to a variable and use that to create a plain so you can see the view from your camera on the plain?

ian


Coffee coffee coffee coffee coffee coffee cappacino, JAVA!
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 18th May 2008 00:26
you could get image from the screen bitmap then use it to texture the plain
sounds like it would be slow though
but this is just philosophical programming as neither of us has a computer lol

It is far better to complete a 10 line program than to start a 10,000 line program.
Not_Maindric
17
Years of Service
User Offline
Joined: 10th Jul 2007
Location: Omaha, NE
Posted: 18th May 2008 02:26
Quote: "bottom is a line saying only reals"


I learned this in Second Year Algebra.

Programing and Math has two meaning for the word "real." In Math, what is NOT real number is something like:

The square root of -9

Naturally you would say it is 3, however, you cannot take the square root of a negative number. That is where i comes in. (Lower cased I=square root of -1)

So the answer is 3i.

i is NOT a real number, i stands for imaginary. Because, you may need to take the SR(Square Root) of a negative. You can take the cubed root fine, but not a SR.

That is what it means by a "Real" number. Real can be 1, .1, -.1, 1/2, 0, etc.

TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 19th May 2008 06:27
Yes - 'real' is probably meant as being the opposite of unreal rather than programming 'reals' - which I prefer to think of as 'Floats' anyway.

Can be confusing...

TDK_Man

Login to post a reply

Server time is: 2025-06-05 21:17:46
Your offset time is: 2025-06-05 21:17:46