Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
25 May, 2013, 17:55:14 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Zahlensysteme -  (Read 929 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Anima
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 21 October, 2012, 16:12:05
Date Registered: 14 May, 2011, 11:18:43
Posts: 129


Topic starter
Total Post Ratings: +4

View Profile
« on: 01 August, 2011, 19:06:28 »
0

Nabnd,
ich arbeite momentan an einem kleinen TI-BASIC Programm, dass folgende verschiedene Zahlen in andere Systeme konvertiert:
Binär -> Dezimal
Dezimal -> Binär
Hexadezimal -> Dezimal
Dezimal -> Hexadezimal

Derzeit beschäftige ich mich damit, eine Binärzahl in eine Dezimalzahl zu konvertieren. Wie das rechnerisch geht weiß ich schon, aber wie ich das ganze dann in TI-BASIC umsetze, nicht. Deswegen bräuchte ich etwas Hilfe von einem Matheexperten, kann mir jemand einen kleinen Denkanstoß/Codeschnipsel/o.ä. geben, mit dem ich das schaffe? Wäre sehr nett. Tongue
Logged



Sorry for my bad English. I'm German.
p2
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 15 April, 2013, 20:40:16
Date Registered: 11 June, 2011, 15:55:36
Location: Germany
Posts: 810


Total Post Ratings: +39

View Profile
« Reply #1 on: 01 August, 2011, 19:10:15 »
0

Ich hab sowas auch schonmal probiert.
hatte aber auch keine Ahnung, wie das gehen sollte.

Must einfach für jede Zahl ein eigenes if XXXXXXX :xxxxx->XXXXX
Logged


FREEDOM
OF THE INTERNET
Spoiler for spoilers:
Spoiler for PICTURE:
Spoiler for userbars:



Spoiler for me:
Spoiler for Pic of me:
Spoiler for what I like:
MUSIC:
Dragonforce - Fury of the storm
Dragonforce - Through fire and flames
Skillet - Awake and alive
Skillet - Monster
Nelly - Just a dream
Linkin Park - No more Sorrow
Silbermond - An alle Krieger des Lichts
Wise Guys - Das bedeutet Krieg!
Wise Guys - Das war's wert!

GAMES:
Fancy Pants adventures - World 1
                                 - World 2
                                 - Sneak Peak
                                 - World 3 demo
Droid Assault
Age of Empires
Empire Earth

VIDEOS/FILMS:
StarGate SG1
StarTrek
TheAnnoyingOrange
V for Vendetta
War Games (1 + 2)

BOOKS:
Anthony Horowitz - Alex Rider 1: Stormbreaker
                        - Alex Rider 2: Skelleton Key
                        - Alex Rider 3: Point Blanc
                        - Alex Rider 4: Eagle Strike
                        - Alex Rider 5: Ark Angle
                        - Alex Rider 6: Scorpia
                        - Alex Rider 7: Crocodile tears
                        - Alex Rider 8: Scorpia Rising
Chris Archer - Alpha Kids 1
                 - Alpha Kids 2
                 - Alpha Kids 3
                 - Alpha Kids 4
                 - Alpha Kids 5
                 - Alpha Kids 6
                 - Alpha Kids 7
                 - Still don't have #8 Sad
                 - Alpha Kids 9
                 - Alpha Kids 10
Andreas Schlüter - Level 10 (every book)
Spoiler for Holy Necropost Batman:
Heiligen post-mortem Post, Schlägermann!
This is an example of how wonderful Google Translator works!
Spoiler for wise thing I stole from calc85maniac's profile:
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
Anima
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 21 October, 2012, 16:12:05
Date Registered: 14 May, 2011, 11:18:43
Posts: 129


Topic starter
Total Post Ratings: +4

View Profile
« Reply #2 on: 01 August, 2011, 19:12:47 »
0

Must einfach für jede Zahl ein eigenes if XXXXXXX :xxxxx->XXXXX
Nur dumm, dass es so viele Zahlen gibt. Tongue
Geht bestimmt auch irgendwie einfacher.
Logged



Sorry for my bad English. I'm German.
p2
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 15 April, 2013, 20:40:16
Date Registered: 11 June, 2011, 15:55:36
Location: Germany
Posts: 810


Total Post Ratings: +39

View Profile
« Reply #3 on: 01 August, 2011, 19:18:21 »
0

Kannst noch machen

{2,4,8,16,32,64,...}->l1
For(X,1,dim(l1),1)
if A=x-1
then
" "->Str1
For(B,1,A-1,1)
"1"+Teil(Str1,1,Länge(Str1))->Str1
End
End


Das müsste es dir dann als Str1 speichern (bei 1,3,7,15,31,...)
Logged


FREEDOM
OF THE INTERNET
Spoiler for spoilers:
Spoiler for PICTURE:
Spoiler for userbars:



Spoiler for me:
Spoiler for Pic of me:
Spoiler for what I like:
MUSIC:
Dragonforce - Fury of the storm
Dragonforce - Through fire and flames
Skillet - Awake and alive
Skillet - Monster
Nelly - Just a dream
Linkin Park - No more Sorrow
Silbermond - An alle Krieger des Lichts
Wise Guys - Das bedeutet Krieg!
Wise Guys - Das war's wert!

GAMES:
Fancy Pants adventures - World 1
                                 - World 2
                                 - Sneak Peak
                                 - World 3 demo
Droid Assault
Age of Empires
Empire Earth

VIDEOS/FILMS:
StarGate SG1
StarTrek
TheAnnoyingOrange
V for Vendetta
War Games (1 + 2)

BOOKS:
Anthony Horowitz - Alex Rider 1: Stormbreaker
                        - Alex Rider 2: Skelleton Key
                        - Alex Rider 3: Point Blanc
                        - Alex Rider 4: Eagle Strike
                        - Alex Rider 5: Ark Angle
                        - Alex Rider 6: Scorpia
                        - Alex Rider 7: Crocodile tears
                        - Alex Rider 8: Scorpia Rising
Chris Archer - Alpha Kids 1
                 - Alpha Kids 2
                 - Alpha Kids 3
                 - Alpha Kids 4
                 - Alpha Kids 5
                 - Alpha Kids 6
                 - Alpha Kids 7
                 - Still don't have #8 Sad
                 - Alpha Kids 9
                 - Alpha Kids 10
Andreas Schlüter - Level 10 (every book)
Spoiler for Holy Necropost Batman:
Heiligen post-mortem Post, Schlägermann!
This is an example of how wonderful Google Translator works!
Spoiler for wise thing I stole from calc85maniac's profile:
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
Anima
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 21 October, 2012, 16:12:05
Date Registered: 14 May, 2011, 11:18:43
Posts: 129


Topic starter
Total Post Ratings: +4

View Profile
« Reply #4 on: 01 August, 2011, 19:27:55 »
0

Hm, will irgendwie nicht klappen. Wenn ich das so in meinen Taschenrechner eintippe, passiert mit dem String nichts.
Und schreib den Code das nächste Mal bitte nicht mit deutschen Befehlen, ich hab meinen auf Englisch eingestellt. Tongue
Logged



Sorry for my bad English. I'm German.
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 17:58:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #5 on: 01 August, 2011, 19:36:05 »
0

http://www.omnimaga.org/index.php?topic=5396.msg89615#msg89615 und http://www.omnimaga.org/index.php?topic=5396.msg89630#msg89630 kann nützlich sein.
Logged
p2
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 15 April, 2013, 20:40:16
Date Registered: 11 June, 2011, 15:55:36
Location: Germany
Posts: 810


Total Post Ratings: +39

View Profile
« Reply #6 on: 01 August, 2011, 19:43:00 »
0

Sorry, anima!
Ich hab meinen  TI zwar auch auf Englisch, denk aber in deutsch.
Logged


FREEDOM
OF THE INTERNET
Spoiler for spoilers:
Spoiler for PICTURE:
Spoiler for userbars:



Spoiler for me:
Spoiler for Pic of me:
Spoiler for what I like:
MUSIC:
Dragonforce - Fury of the storm
Dragonforce - Through fire and flames
Skillet - Awake and alive
Skillet - Monster
Nelly - Just a dream
Linkin Park - No more Sorrow
Silbermond - An alle Krieger des Lichts
Wise Guys - Das bedeutet Krieg!
Wise Guys - Das war's wert!

GAMES:
Fancy Pants adventures - World 1
                                 - World 2
                                 - Sneak Peak
                                 - World 3 demo
Droid Assault
Age of Empires
Empire Earth

VIDEOS/FILMS:
StarGate SG1
StarTrek
TheAnnoyingOrange
V for Vendetta
War Games (1 + 2)

BOOKS:
Anthony Horowitz - Alex Rider 1: Stormbreaker
                        - Alex Rider 2: Skelleton Key
                        - Alex Rider 3: Point Blanc
                        - Alex Rider 4: Eagle Strike
                        - Alex Rider 5: Ark Angle
                        - Alex Rider 6: Scorpia
                        - Alex Rider 7: Crocodile tears
                        - Alex Rider 8: Scorpia Rising
Chris Archer - Alpha Kids 1
                 - Alpha Kids 2
                 - Alpha Kids 3
                 - Alpha Kids 4
                 - Alpha Kids 5
                 - Alpha Kids 6
                 - Alpha Kids 7
                 - Still don't have #8 Sad
                 - Alpha Kids 9
                 - Alpha Kids 10
Andreas Schlüter - Level 10 (every book)
Spoiler for Holy Necropost Batman:
Heiligen post-mortem Post, Schlägermann!
This is an example of how wonderful Google Translator works!
Spoiler for wise thing I stole from calc85maniac's profile:
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.398 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.