Thanks I got it, this is the dungeon crawler that i edited, just move in any way until you see something. Credit goes to the ptc staff because other than that no difference. It does make it challenging though
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 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
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 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.
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.
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.
Forums
Topic: Petit Computer QR Code Sharing Thread
Posts 741 to 760 of 1,621
This topic has been archived, no further posts can be added.