Simple math4

I can continue.
We have the abscissa and ordinate axes.
All real numbers are located on the axis of the abscissa.
Complex numbers on the ordinate axis.
This is the 2nd year of the institute for young people of 17 years
:2up:
I beg you not to give the Americans the clues ...
You talk about being highly educated... these are low level college topics...
 
The office software I wrote used mainly integers because they took less memory to store than a real number. I mainly used integers as pointers to file numbers and counting loop algorithms. I could store up the 36,767 records using only two bytes each for the reference pointer.
Just use a subfile...
 
We live and use numbers ...
But we do not always understand what these figures are?

1. Natural numbers ..
In Science, the symbol N
N = 1 2 3 4 5 ....

-------------------------------------------------- -------------------------------------
2. Whole numbers ..
In Science, the symbol Q
Q = all natural numbers + 0 + natural numbers with the sign "-"
Q = ........ -5 -4 -3 -2 -1 0 1 2 3 4 5 ............

-------------------------------------------------- -------------------------------------
3. Rational numbers ..
In Science they are denoted by the symbol of R
R = Q / N
The sign of a rational number is that you can write it in the form of an infinite periodic fraction
For example:
R = 1/3 = 0.3333 .. = 0 (3)

-------------------------------------------------- -------------------------------------
4. irRational numbers ..
In Science they are denoted by the symbol of I
A sign of an irrational number is that you can not write it as an infinite periodic fraction R = Q / N
For example:
- pi = 3.14 ...
- exp = 2.71...
- In addition ... In Science there are so-called "convergent series", for example the Taylor series, the Fourier expansion ... These are also irrational numbers, but it is difficult to show them

==================================================
All these numbers in Science are called "real" .....


Besides...
In science there are "complex numbers" ....


==========================================================

The topic will be continued, if interested ...
Fibonacci says you suck....
 
When I wrote my program I only used real numbers and integers which are the only kind of numbers there are.
So you didn't use binary?
Lol! The closest I came to that was some code I wrote in assembly.
I took programming the first time in high school, all it was was a stringed command with geometrical shapes.....I am now learning codex....Yipee! I will then make x-rated games...
 
Here's the code to check printer status before AR invoices were printed.

SUB check_prn



local status%,a$,parPort%,mes1$,mes2$,mes3$,s$



DEF SEG = &H40

ParPort%=(peek(8)+256*peek(9))+1 'get address of LPT1

DEF SEG


! push bp

! push sp

! push ds ;Save the Data Segment


! mov dx, Parport% ;LPT 1 Printer Address +1 (&h379 or 889)

! in ax, dx ;Request Status

! and ax, &hF0 ;turn off LSB's

! mov status%, ax ;Load the register into status%


! pop ds ;Return the Data Segment

! pop sp

! pop bp



SELECT CASE Status%


CASE &H80, &H70, &H60 ' ************** Printer bad ****************

mes1$ = "THE PRINTER IS NOT RESPONDING! PRESS ANY KEY ..."

EXIT SELECT


CASE &HD0 '************ Printer OK ***********

EXIT SUB


CASE ELSE ' ************** Printer bad ****************

mes1$ = "THE PRINTER IS NOT RESPONDING! PRESS ANY KEY ..."

EXIT SELECT


END SELECT





s$ = savescreen$

popwindow 11,15,12,67,4,fnattr%(0,7),0,-5,20," OOPS! "

xqprint mes1$,11,15,fnattr%(0,7)



a$ = INPUT$( 1 )

restorescreen s$

EXIT FAR



END SUB



 
:2up:
I beg you not to give the Americans the clues ...
You talk about being highly educated... these are low level college topics...[/QUOTE]

I have a number x = 5 of the abscissa and y = -3 ordinate. How to write in the form of a complex number?
 
We live and use numbers ...
But we do not always understand what these figures are?

1. Natural numbers ..
In Science, the symbol N
N = 1 2 3 4 5 ....

-------------------------------------------------- -------------------------------------
2. Whole numbers ..
In Science, the symbol Q
Q = all natural numbers + 0 + natural numbers with the sign "-"
Q = ........ -5 -4 -3 -2 -1 0 1 2 3 4 5 ............

-------------------------------------------------- -------------------------------------
3. Rational numbers ..
In Science they are denoted by the symbol of R
R = Q / N
The sign of a rational number is that you can write it in the form of an infinite periodic fraction
For example:
R = 1/3 = 0.3333 .. = 0 (3)

-------------------------------------------------- -------------------------------------
4. irRational numbers ..
In Science they are denoted by the symbol of I
A sign of an irrational number is that you can not write it as an infinite periodic fraction R = Q / N
For example:
- pi = 3.14 ...
- exp = 2.71...
- In addition ... In Science there are so-called "convergent series", for example the Taylor series, the Fourier expansion ... These are also irrational numbers, but it is difficult to show them

==================================================
All these numbers in Science are called "real" .....


Besides...
In science there are "complex numbers" ....


==========================================================

The topic will be continued, if interested ...
I just found out last year that the squares are the sums of the odd numbers.
1 + 3
1 + 3 + 5
1 + 3 + 5 + 7
 
I can continue.
We have the abscissa and ordinate axes.
All real numbers are located on the axis of the abscissa.
Complex numbers on the ordinate axis.
This is the 2nd year of the institute for young people of 17 years
:2up:

In the US we now have Common Core, which means our average 18 year olds learn some of the introductory principles of basic algebra. Lol.
 
Last edited:
Here is some simple math:

Number of global superpowers - 1

U-S-A!! U-S-A!! U-S-A!!

Not to forget the mathematics of superpowers: "USA first", "The winner takes it all", "The only good others I ever saw were dead", "Right or wrong my country", ...

 
When I wrote my program I only used real numbers and integers which are the only kind of numbers there are.

A computer is not able to use real numbers. What's called "real" in programs is only an element of the rational numbers.

 
Last edited:
I have a number x = 5 of the abscissa and y = -3 ordinate. How to write in the form of a complex number?

The Cartesian coordinates are in this case r (=real axis) and i (=imaginary axis). If z=5-3i then it would be a point P(5|-3).

 
Last edited:
When I wrote my program I only used real numbers and integers which are the only kind of numbers there are.

A computer is not able to use real numbers. What's called "real" in programs is only an element of the rational numbers.



Correctly. The computer can only operate on the numbers that it represents in the form of a periodic fraction. These numbers are called rational numbers. Real numbers are rational numbers + irrational. To display an irrational number, the computer first converts it into a rational number with a large fractional part period. The rest cuts off.
 

Forum List

Back
Top