DSiWare Forum

Topic: Petit Computer QR Code Sharing Thread

Showing 761 to 780 of 1,695

AuthorMessage
Avatar

VincentFaraday

761. Posted:

I recently created a program that can find the roots of quadratic equations. Since Petit Computer can't float very many numbers, the answers will have at most 3 decimal places. I should also note that this program cannot solve quadratics that have complex roots. Inside the program, I have included details on how the program was put together. The QR code can be found here: http://www.flickr.com/photos/94111184@N05/8565434024/in/photo...

I wish I was on the Enterprise.

3DS Friend Code: 1048-8460-1195

AuthorMessage
Avatar

buny123

762. Posted:

VincentFaraday wrote:

I recently created a program that can find the roots of quadratic equations. Since Petit Computer can't float very many numbers, the answers will have at most 3 decimal places. I should also note that this program cannot solve quadratics that have complex roots. Inside the program, I have included details on how the program was put together. The QR code can be found here: http://www.flickr.com/photos/94111184@N05/8565434024/in/photo...

LOAD"SOLVE
OK
RUN
QUADRATIC SOLVER BY ZACHARY ♫
NOTE:(aX^2)+(bX)+c=0
You will have to restart
the program if the root is
is complex,since this program
cannot solve them.:)
What is a?
5
What is b?
6
What is c?
2
Illegal function call (32, SQR)
OK

buny123

3DS Friend Code: 4554-0413-6584 | Twitter: EthanShnesy

AuthorMessage
Avatar

MrSirr

763. Posted:

How do you make qr codes for games and then post them here?

MrSirr

AuthorMessage
Avatar

buny123

764. Posted:

MrSirr wrote:

How do you make qr codes for games and then post them here?

Go to Petit Computer, tap File Management, Save to SD Memory Card, select the file(s), make note of the folder it gives you. Take the SD card out of your DSi/3DS and put it in your computer. Upload the file here:
< http://smileboom.com/special/ptcm2/qrmaker/en_us/qrmaker.html >
Or create the QR codes using PTCUtilities:
< http://micutil.com/ptcutilities/top_e.html >

Edited on by buny123

buny123

3DS Friend Code: 4554-0413-6584 | Twitter: EthanShnesy

AuthorMessage
Avatar

VincentFaraday

765. Posted:

buny123 wrote:

VincentFaraday wrote:

I recently created a program that can find the roots of quadratic equations. Since Petit Computer can't float very many numbers, the answers will have at most 3 decimal places. I should also note that this program cannot solve quadratics that have complex roots. Inside the program, I have included details on how the program was put together. The QR code can be found here: http://www.flickr.com/photos/94111184@N05/8565434024/in/photo...

LOAD"SOLVE
OK
RUN
QUADRATIC SOLVER BY ZACHARY ♫
NOTE:(aX^2)+(bX)+c=0
You will have to restart
the program if the root is
is complex,since this program
cannot solve them.:)
What is a?
5
What is b?
6
What is c?
2
Illegal function call (32, SQR)
OK

My point exactly. The root of (5x^2)+6x+2=0 would be two complex imaginary roots, which petit computer can't do. If you need the answer to a quadratic like this pick up a TI-84 or solve the equation by hand.

I wish I was on the Enterprise.

3DS Friend Code: 1048-8460-1195

AuthorMessage
Avatar

buny123

766. Posted:

NoahXD wrote:

I have read petit slash 2 has an english patch.
here is the patch it is called ps2_ENG
[Link removed to prevent horizontal scrolling]

I uploaded the patch to my website and added some extra stuff (More info there):
http://dsifur.ethst.tk/ptcqr/ps2_game/

buny123

3DS Friend Code: 4554-0413-6584 | Twitter: EthanShnesy

AuthorMessage
Avatar

buny123

767. Posted:

VincentFaraday wrote:

buny123 wrote:

VincentFaraday wrote:

I recently created a program that can find the roots of quadratic equations. Since Petit Computer can't float very many numbers, the answers will have at most 3 decimal places. I should also note that this program cannot solve quadratics that have complex roots. Inside the program, I have included details on how the program was put together. The QR code can be found here: http://www.flickr.com/photos/94111184@N05/8565434024/in/photo...

LOAD"SOLVE
OK
RUN
QUADRATIC SOLVER BY ZACHARY ♫
NOTE:(aX^2)+(bX)+c=0
You will have to restart
the program if the root is
is complex,since this program
cannot solve them.:)
What is a?
5
What is b?
6
What is c?
2
Illegal function call (32, SQR)
OK

My point exactly. The root of (5x^2)+6x+2=0 would be two complex imaginary roots, which petit computer can't do. If you need the answer to a quadratic like this pick up a TI-84 or solve the equation by hand.

"Illegal function call (32, SQR)" was a program crash...
I checked line 32:
TOP=-B+SQR((B*B-4*A*C))
If you do the math (using my numbers above)...
TOP=-6+SQR((6*6-4*5*2))
TOP=-6+SQR((36-4*5*2))
TOP=-6+SQR((36-20*2))
TOP=-6+SQR((36-40))
TOP=-6+SQR(-4)
Petit Computer (Or a normal calculator; I just tried it on a TI-30XA) can't get the square root of a NEGATIVE number, thus it can't calculate the rest.

buny123

3DS Friend Code: 4554-0413-6584 | Twitter: EthanShnesy

AuthorMessage
Avatar

MrSirr

768. Posted:

buny123 wrote:

MrSirr wrote:

How do you make qr codes for games and then post them here?

Go to Petit Computer, tap File Management, Save to SD Memory Card, select the file(s), make note of the folder it gives you. Take the SD card out of your DSi/3DS and put it in your computer. Upload the file here:
< http://smileboom.com/special/ptcm2/qrmaker/en_us/qrmaker.html >
Or create the QR codes using PTCUtilities:
< http://micutil.com/ptcutilities/top_e.html >

Yea but how do u post them on this topic?

MrSirr

AuthorMessage
Avatar

MrSirr

769. Posted:

Also I have a few questions.
1. IF (B AND 16) THEN etc. etc. what does that or something like that mean?
2. On my menu, how do I make it so u can press up and down on the dpad to scroll thru menu options and select them by pressing A on the option on the menu that I want.

MrSirr

AuthorMessage
Avatar

VincentFaraday

770. Posted:

buny123 wrote:

VincentFaraday wrote:

buny123 wrote:

VincentFaraday wrote:

I recently created a program that can find the roots of quadratic equations. Since Petit Computer can't float very many numbers, the answers will have at most 3 decimal places. I should also note that this program cannot solve quadratics that have complex roots. Inside the program, I have included details on how the program was put together. The QR code can be found here: http://www.flickr.com/photos/94111184@N05/8565434024/in/photo...

LOAD"SOLVE
OK
RUN
QUADRATIC SOLVER BY ZACHARY ♫
NOTE:(aX^2)+(bX)+c=0
You will have to restart
the program if the root is
is complex,since this program
cannot solve them.:)
What is a?
5
What is b?
6
What is c?
2
Illegal function call (32, SQR)
OK

My point exactly. The root of (5x^2)+6x+2=0 would be two complex imaginary roots, which petit computer can't do. If you need the answer to a quadratic like this pick up a TI-84 or solve the equation by hand.

"Illegal function call (32, SQR)" was a program crash...
I checked line 32:
TOP=-B+SQR((B*B-4*A*C))
If you do the math (using my numbers above)...
TOP=-6+SQR((6*6-4*5*2))
TOP=-6+SQR((36-4*5*2))
TOP=-6+SQR((36-20*2))
TOP=-6+SQR((36-40))
TOP=-6+SQR(-4)
Petit Computer (Or a normal calculator; I just tried it on a TI-30XA) can't get the square root of a NEGATIVE number, thus it can't calculate the rest.

I'm sorry that you don't know how to deal with imaginary numbers in you calculator. You can also use MAPLE to find the complex roots more exactly with less effort. Like I said "The root of (5x^2)+6x+2=0 would be two complex imaginary roots, which petit computer can't do". The program works as long as sqrt(b*b-4ac) is equal to or greater than zero, otherwise you are dealing with imaginary numbers. The solutions to the quadratic you entered would be -0.6-0.2i and -0.6+0.2i.

I wish I was on the Enterprise.

3DS Friend Code: 1048-8460-1195

AuthorMessage
Avatar

MrSirr

771. Posted:

http://imageshack.us/photo/my-images/138/qr0.png/
http://imageshack.us/photo/my-images/543/qr1.png/

Here are 2 qr codes for my game, lol, not REALLY a game. I'm kinda new to this and I just wanted to make a fun little thing so heree it is!
As soon as someone answers my previous question I will make changes to it: On my menu, how do I make it so u can press up and down on the dpad to scroll thru menu options and select them by pressing A on the option on the menu that I want?

Edited on by MrSirr

MrSirr

AuthorMessage
Avatar

IAmSpike

772. Posted:

MrSirr wrote:

http://imageshack.us/photo/my-images/138/qr0.png/
http://imageshack.us/photo/my-images/543/qr1.png/

Here are 2 qr codes for my game, lol, not REALLY a game. I'm kinda new to this and I just wanted to make a fun little thing so heree it is!
As soon as someone answers my previous question I will make changes to it: On my menu, how do I make it so u can press up and down on the dpad to scroll thru menu options and select them by pressing A on the option on the menu that I want?

That was FUN

Previously Philip.

The most paranoid person on the net!

3DS Friend Code: 0559-7022-5853

AuthorMessage
Avatar

Hale-Bopp

773. Posted:

That is easily the Best Game Ever.

NNID: Hale-XF11

Twitter: HaleaciousB

AuthorMessage
Avatar

MrSirr

774. Posted:

Can no one answer my question? On my menu, how do I make it so u can press up and down on the dpad to scroll thru menu options and select them by pressing A on the option on the menu that I want?

MrSirr

AuthorMessage
Avatar

boot

775. Posted:

Hello

Just your average talking boot. The Boot that can program.

AuthorMessage
Avatar

MrSirr

776. Posted:

Nvrmind I figured it out by myself no thx to anybody, but anyways, here are the NEW qr codes, knock urselves out. :|
http://imageshack.us/photo/my-images/820/qr0.png/
http://imageshack.us/photo/my-images/689/qr1p.png/
http://imageshack.us/photo/my-images/254/qr2g.png/

MrSirr

AuthorMessage
Avatar

longtimegamer

777. Posted:

@MrSirr: I'm trying to learn how to program right now. Not sure how much help I would have been. Recently read about the buttons being numbered, though that's probably not the info you needed.
Anyway, some people are probably busy and maybe some don't know the answers. I know that I probably didn't even try to answer as I just found a place that's been helpful in helping me to learn to put together some of this stuff(and what commands do what).

Anyways, I've had this program almost since the XL came out, but haven't done much on the program side other than some small examples in PETIT and exploring and changing program parts.

3ds fc: 1247-0003-1095
MK Fc: 2793- 3370-8506
Wii Fc: 7382-7314-0404-2194
Fiance Wendy's MK FC:(Same system) 4854-9224-0913
Uno FC: 1849-3080-8612
Overturn FC: 3266-3672-0977
Animal Crossing CF FC: 3094-5964-6068 Name: LTGamer, town: Wiitopia.

"NO SOUP FOR YOU!" the Soup Nazi

AuthorMessage
Avatar

swordx

778. Posted:

longtimegamer wrote:

@MrSirr: I'm trying to learn how to program right now. Not sure how much help I would have been. Recently read about the buttons being numbered, though that's probably not the info you needed.
Anyway, some people are probably busy and maybe some don't know the answers. I know that I probably didn't even try to answer as I just found a place that's been helpful in helping me to learn to put together some of this stuff(and what commands do what).

Anyways, I've had this program almost since the XL came out, but haven't done much on the program side other than some small examples in PETIT and exploring and changing program parts.

If you want to learn to program, messing with the code is a good way to do it. I started by messing with Game2, and it definitely helped. Maybe you should do the same thing.

swordx

AuthorMessage
Avatar

longtimegamer

779. Posted:

@Swordx: Thanks. I messed with the tennis and the alarm clock recently, as they didn't seem too complicated. Figured out how to add color through the clock one and used it to color the tennis. Though I did notice after I erased the color code that I had put in that the color didn't change back.[Though I know that I could add that code number to do so.]

3ds fc: 1247-0003-1095
MK Fc: 2793- 3370-8506
Wii Fc: 7382-7314-0404-2194
Fiance Wendy's MK FC:(Same system) 4854-9224-0913
Uno FC: 1849-3080-8612
Overturn FC: 3266-3672-0977
Animal Crossing CF FC: 3094-5964-6068 Name: LTGamer, town: Wiitopia.

"NO SOUP FOR YOU!" the Soup Nazi

AuthorMessage
Avatar

swordx

780. Posted:

longtimegamer wrote:

@Swordx: Thanks. I messed with the tennis and the alarm clock recently, as they didn't seem too complicated. Figured out how to add color through the clock one and used it to color the tennis. Though I did notice after I erased the color code that I had put in that the color didn't change back.[Though I know that I could add that code number to do so.]

It didn't change back because the color was still set at whatever color. If you exit out of the writing, it will go back to the default (0).

swordx