1 + 1 = 2

For everything that's not in any way related to PureBasic. General chat etc...
Olli
Addict
Addict
Posts: 1311
Joined: Wed May 27, 2020 12:26 pm

Re: 1 + 1 = 2

Post by Olli »

Olli
Addict
Addict
Posts: 1311
Joined: Wed May 27, 2020 12:26 pm

Re: 1 + 1 = 2

Post by Olli »

User avatar
jacdelad
Addict
Addict
Posts: 2112
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: 1 + 1 = 2

Post by jacdelad »

idle wrote: Mon Jul 17, 2023 11:23 pm √(-shit²) Shit just got real
Erm...no. The root of a negative, real number is an imaginary number: https://en.wikipedia.org/wiki/Imaginary ... prov=sfla1
Good morning, that's a nice tnetennba!

PureBasic 6.30/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/2*DX517, 164TB+82TB+28TB+2TB SSD
Raspi 400/500
User avatar
Lord
Addict
Addict
Posts: 914
Joined: Tue May 26, 2009 2:11 pm

Re: 1 + 1 = 2

Post by Lord »

It's (-shit)² and not -(shit²)
Image
User avatar
Michael Vogel
Addict
Addict
Posts: 2867
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: 1 + 1 = 2

Post by Michael Vogel »

Code: Select all

uno=1
eins=1
one=1

Debug "1 + 1 * (1-1) + 1 = ?"
Debug ""
Debug one + (Red(eins*(uno-Red(eins))) + uno)
Debug "...or..."
Debug one + (uno + Red(eins*(uno-Red(eins))))
PS: you can replace Red() by Int() or Bool() or whatever
User avatar
jacdelad
Addict
Addict
Posts: 2112
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: 1 + 1 = 2

Post by jacdelad »

Lord wrote: Tue Jul 18, 2023 9:12 am It's (-shit)² and not -(shit²)
Ah sh..., you're right. Or not? https://www.wolframalpha.com/input?i2d= ... 5C%2841%29
How about √(|shit|) ?
Good morning, that's a nice tnetennba!

PureBasic 6.30/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/2*DX517, 164TB+82TB+28TB+2TB SSD
Raspi 400/500
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: 1 + 1 = 2

Post by fsw »

6/2(1+2) = 9
or
6/2(1+2) = 1
?
The answer depends on your calculator...

I am to provide the public with beneficial shocks.
Alfred Hitshock
Olli
Addict
Addict
Posts: 1311
Joined: Wed May 27, 2020 12:26 pm

Re: 1 + 1 = 2

Post by Olli »

From left to right :
6/2(1+2) = 3(1+2) = 3×3 = 9
6/[2(1+2)] = 6/[2×3] = 6/6 = 1
User avatar
Piero
Addict
Addict
Posts: 1232
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: 1 + 1 = 2

Post by Piero »

Olli wrote: Mon Jul 17, 2023 11:03 pm Image
Heh... isn't that really great? I read a wonderful explanation of how he got the equation (deducting from sin/cos formulas) but cannot remember the book :(
User avatar
Piero
Addict
Addict
Posts: 1232
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: 1 + 1 = 2

Post by Piero »

fsw wrote: Wed Jul 19, 2023 5:58 am 6/2(1+2) = 9
or
6/2(1+2) = 1
?
The answer depends on your calculator...
Maybe I'm missing something, but if calculator respects parenthesis, isn't it always 9?
Olli
Addict
Addict
Posts: 1311
Joined: Wed May 27, 2020 12:26 pm

Re: 1 + 1 = 2

Post by Olli »

Piero wrote: Sun Jul 30, 2023 6:26 am
Olli wrote: Mon Jul 17, 2023 11:03 pm Image
Heh... isn't that really great? I read a wonderful explanation of how he got the equation (deducting from sin/cos formulas) but cannot remember the book :(
+
Piero wrote: Sun Jul 30, 2023 6:32 am
fsw wrote: Wed Jul 19, 2023 5:58 am 6/2(1+2) = 9
or
6/2(1+2) = 1
?
The answer depends on your calculator...
Maybe I'm missing something, but if calculator respects parenthesis, isn't it always 9?
=


:lol:
for piero : on 4th minute and 17th second, when the guy starts to shoot the e exponential symbol, cos and sin appear !!
Else you have this :
e^(ix) = cos(x) + iSin(x)

and if you want to see a simple man who walks, here is a link..
User avatar
Piero
Addict
Addict
Posts: 1232
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: 1 + 1 = 2

Post by Piero »

Olli wrote: Sun Jul 30, 2023 1:45 pm :lol:
6/2(1+2) = 6*1/2*3 :mrgreen:
Olli
Addict
Addict
Posts: 1311
Joined: Wed May 27, 2020 12:26 pm

Re: 1 + 1 = 2

Post by Olli »

Note :

i is considered as a vector.

i is defined as i * i = (-1)

As (-1) * (-1) = 1,
i * i * i * i = 1

And i * i * i * i is also considered as a vector
This vector is as i / i.

If we represent the two vectors i and i / i on a right plane, we can consider that, if i^(4*k) = 1 (k being a relative integer number), then there are 4 directions for the vectors i^(4*k). i is constant. So the 4 angles between the 4 directions are the same ones. So, the vectors i^1 and i^0 are perpendicular on this right plane.

By extension, if we consider :
i * i = -1
j * j = -1
k * k = -1
In a space, where we forget i^0 as a vector, there is a mechanic to find several relative directions for i, j and k in this space (as i * i * i * i = 1) from this : i * k * j / 1 = 1.
User avatar
Piero
Addict
Addict
Posts: 1232
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: 1 + 1 = 2

Post by Piero »

Olli wrote: Wed Aug 02, 2023 3:58 am from this : i * k * j / 1 = 1.
Image
:shock: :!:
Olli
Addict
Addict
Posts: 1311
Joined: Wed May 27, 2020 12:26 pm

Re: 1 + 1 = 2

Post by Olli »

Nice tribute! Note that the notion of using three distinct imaginary numbers i, j and k to apply 3 directions in a space, had its first hours in Hamilton's mind.

What it is off topic, but it surprises me a lot, is the death we give to this brilliant mind :
<< He [Hamilton] died on 2 September 1865, following a severe attack of gout. >>

I am very surprised, because Jacques Psychriste discovered that colchicum was an antidote for gout attacks, 1300 years earlier ! :shock:

Plus colchicum appears naturally in Europa every year on September, since the greek gold age ! :shock:

I am subject to this disease, and never I will die by this disease, even if it would be 100 times more strong on me. Colchicum acts two hours after a taken, and we must calculate precisely and beforehand according to its weight (else it's a very powerful poison).

Hamilton was however a mathematician...
Post Reply