Brojevni sustavi i pretvorbe

Sve vezano u matematiku & fiziku koja zaluta u vaš projekt.
User avatar
EmP
Veliki brat malih trokuta
Posts: 498
Joined: Tue Sep 01, 2009 10:14 pm
Smallest prime number bigger than 20: 23
Location: Zagreb
Contact:

Re: Matematika

Post by EmP » Thu Sep 10, 2009 6:15 pm

Luka wrote: 23 : 2 = 11 | 1
11 : 2 = 5 | 1
5 : 2 = 2 | 1
2 : 2 = 1 | 0
1 : 2 = 0 | 1
Rezultat: 10111
Ovako, sam što dijeliš s 8 i s desne strane pišeš ostatak dijeljenja s 8. Na kraju pročitaš ostatke odozdo prema gore.
Nexus 64213 blog - IKON: moja verzija JSONa
Stareater blog - lijepe slike kak napreduje kod

User avatar
Azzazil
Posts: 295
Joined: Thu Jun 25, 2009 8:58 pm
Smallest prime number bigger than 20: 23

Re: Matematika

Post by Azzazil » Sat Sep 12, 2009 10:17 pm

može pomoć jedan zadatak
U kojem sustavu vrijede jednakosti 1211(x)-1120(x)=21(x)
jja dođem do (x^3+2x^2+x+1)-(x^3+x^2+2x)=2x+1
u rješenjima je x=3 ali ja nikao da dođem do toga rezultata

User avatar
Luka
Posts: 1384
Joined: Tue Aug 26, 2008 3:32 pm
Smallest prime number bigger than 20: 23

Re: Matematika

Post by Luka » Sat Sep 12, 2009 10:50 pm

Kada izračunaš to što si dobio ostane ti: x^2 - 3x = 0

x^2 - 3x = 0
x( x - 3) = 0

x sigurno nije nula ( besmislen bi bio zadatak ), pa podijeliš sve sa x

ostane x - 3 = 0 ==> x = 3
  • You know your project is in trouble when..
    ...when you wonder if you could optimize your fps counter function in order to gain extra fps...
    ...and you double your fps doing so.

User avatar
Azzazil
Posts: 295
Joined: Thu Jun 25, 2009 8:58 pm
Smallest prime number bigger than 20: 23

Re: Matematika

Post by Azzazil » Sun Sep 13, 2009 11:33 am

Luka wrote:Kada izračunaš to što si dobio ostane ti: x^2 - 3x = 0

x^2 - 3x = 0
x( x - 3) = 0

x sigurno nije nula ( besmislen bi bio zadatak ), pa podijeliš sve sa x

ostane x - 3 = 0 ==> x = 3
aha ja mislim da je kao prvo rješenje x1=0 a drugo je x2=3 samo što su oni stavili u rješenjima x=3

User avatar
Luka
Posts: 1384
Joined: Tue Aug 26, 2008 3:32 pm
Smallest prime number bigger than 20: 23

Re: Matematika

Post by Luka » Sun Sep 13, 2009 11:48 am

Pa da, jedno od rješenja je 0, ali kakav bi to bio sustav s bazom 0? Teško ćeš prikazati broj ako nemaš znamenki za zapis...

Matematika je samo alat =)
  • You know your project is in trouble when..
    ...when you wonder if you could optimize your fps counter function in order to gain extra fps...
    ...and you double your fps doing so.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest