Omnimaga

General Discussion => Other Discussions => Math and Science => Topic started by: TheCoder1998 on March 10, 2014, 02:42:20 am

Title: TI-84+ App4Calculus
Post by: TheCoder1998 on March 10, 2014, 02:42:20 am
hey guys,


i've made a great program for calculus using basicbuilder
omnicalc, symbolic and prettyprint are required for it to run
please check it out!
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 17, 2014, 10:43:51 am
well, it seems my program wasn't working properly so here's a new version of it
you can now calculate the volume of a solid of revolution and you can calculate double or triple integrals :D
oh and the function for partial fractions is removed (for now)
Title: Re: Great program for calculus
Post by: Aspiring on March 18, 2014, 10:54:22 am
Just tried it and it is outstanding!  :o Just one question.  How do you enter slope equations for slope fields I can't figure it out?

BTW, I used your program to calculate pi and it was able to find: 3.141587076 I think that is a pretty accurate approximation for a ti-84.  Do you have most of the rules for calculating derivatives in the app?  My calculus book has about 40 derivative formulas.  This app is super cool.  :thumbsup:

EDIT: hey I am a level 2 member now.  :)
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 18, 2014, 11:19:53 am
Thanks for the reply :D


when you want to input an equation for the slope fields, you get two choices,


one is for an implicit equation, like x^2+y^2=1, so you'll get the differential equation dy/dx=-x/y
the other is just for dy/dx (or y')


and yes, all derivative rules are in the app thanks to the symbolic function (but it won't simplify trig identities)


but now i've got yet another new version :D


oh and by the way, how exactly did you approximate pi?
i assume you used the taylor series function?
Title: Re: Great program for calculus
Post by: Aspiring on March 18, 2014, 12:39:41 pm
Opps I knew dy/dx is y'.  I write down y' a bit too often I guess...

I found pi by using the arc length...
To approximate pi you take the equation of a circle and solve for y
x^2 + y^2 = R^2
y = +/- squareroot ( R^2 - X^2 )
We will just use the positive of the squareroot.
y =  squareroot ( R^2 - X^2 )
We know that the circumference of a circle = 2 * pi * r
So... pi = circumference / (2*r)
We will set r to 1 and taking only the positive solution of the squareroot gives half of the diameter.  Therefore...
pi is equal to the arc length of the half circle made by the equation: y = squareroot( 1 - x^2 ) :)
hope that makes sense.
Here's a link to wolfram alpha: https://www.wolframalpha.com/input/?i=integrate+%28++1%2B+%28+-x%2F%28%281-x^2%29^%281%2F2%29%29+%29^2++%29^%281%2F2%29+from+-1+to+1+with+1000+digits (https://www.wolframalpha.com/input/?i=integrate+%28++1%2B+%28+-x%2F%28%281-x^2%29^%281%2F2%29%29+%29^2++%29^%281%2F2%29+from+-1+to+1+with+1000+digits)

EDIT: I used the partial fractions integration mode and it was like a miracle it solved it!  And it was really fast! Wow! I didn't think anything like this would ever show up on the ti-84 series  :thumbsup: (except really over priced ZoomMath  :( ).
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 18, 2014, 12:55:25 pm
oh yeah i knew that one :P
can't believe i forgot about that XD
Title: Re: Great program for calculus
Post by: Aspiring on March 18, 2014, 01:15:51 pm
I just threw the hardest partial fractions problem my calculus book has to offer and it was right!! (I don't even think zoomMath can do partial fractions  :crazy: .)

(3x^3 + 1) / (x^3-x^2+x-1)

The answer is 3 + (x-2)/(x^2+1) + 2/(x-1)

It is hard to say what feature I like the most but I really like the partial fractions feature. (I suck at the harder ones  :P )

I did find one small bug though in the slope field part.  If you forget to enter the window values and/or the equation the program tells you what you forgot but then after pressing enter an error comes up saying "ERR:LABEL   1:Quit"  It is not really a big problem but it is worth noting.
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 19, 2014, 05:10:37 am
yeah i know about that glitch, i'll fix that
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 19, 2014, 12:27:46 pm

MAJOR UPDATE :D
new interface, slope field generator is overhauled, and it's glitch-free! (i think)


check it out!
Title: Re: Great program for calculus
Post by: Aspiring on March 19, 2014, 07:39:55 pm
Every time I start the app there is the usual long pause while the app starts that I have gotten before then an error pops up saying "ERR:UNDEFINED  1:Quit"   :(   I have the same setup I had before and I have tried reinstalling the omnicalc and symbolic apps.  I am doing something wrong.  ???   I have a feeling that this is something I did somehow.
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 20, 2014, 02:31:03 am
New update,  i hope i fixed it for you
you need to load pic1 to pic4 on your calculator too and keep them unarchived (group them if you can)

and the line integral function isn't working properly right now, i'll fix that
Title: Re: Great program for calculus
Post by: Aspiring on March 20, 2014, 10:57:18 am
Works now! I like the new interface.  Do you think that you can put the picture vars as data inside the app...  I have a lot of stuff already in my vars list even though I try to keep it at a minimum.   ;D   I like the new look of the slope field generator.  Keep up the amazing work!  :thumbsup:

EDIT: I will be leaving tomarrow on a trip with my family so I will be gone for a little while.  ;)
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 20, 2014, 12:03:22 pm
i thought that if you compiled the pics along with the program in basicbuilder, that you didn't had to have them on your calc but apparently i was wrong...
and yeah i'll be on a trip with my class to france, so i won't be online too :P
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 22, 2014, 02:50:05 pm
*NEW UPDATE*


i've changed the name to "App4Calc"
and i've fixed some minor bugs, and i've removed the line integral function because it wasn't working properly (i'm working on that)
please check it out :D
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 23, 2014, 04:46:30 am
another minor update
fixed some bugs, like the one in the taylor series function, and i've optimized the partial fractions function
Title: Re: Great program for calculus
Post by: Sorunome on March 23, 2014, 05:30:47 am
Looking nice!
Also, definite integrals containing asymptotes aren't working :P
It gives me ERR: TOL NOT MET
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 23, 2014, 07:05:20 am
yeah i know about that bug, i'll try to fix it but i'm not quite sure how to :P

EDIT:
another update ;D (jeez, they'll keep coming, don't they?)
i've added a limit calculator which atm is kinda buggy, but it works
and the line integral function finally works properly :D

the ERR: TOL NOT MET bug is still present but i'll fix that eventually
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 24, 2014, 02:15:15 am
W00T another update :D

well, the limit calculator is gone, because i thought that anyone should be able to do that themselves.
and i've fixed some other minor bugs.
Title: Re: Great program for calculus
Post by: ruler501 on March 24, 2014, 02:56:24 am
Some limits can be rather difficult, though most of those aren't things I'd expect a calculator program to do better(and usually what makes them hard is writing out the proof anyways).
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 25, 2014, 03:34:56 am
ANOTHER UPDATE :D


the program can now simplify fractions with pi in them or with the constant of euler
just check it out :D
Title: Re: Great program for calculus
Post by: Streetwalrus on March 25, 2014, 01:38:43 pm
Some limits can be rather difficult, though most of those aren't things I'd expect a calculator program to do better(and usually what makes them hard is writing out the proof anyways).
/me pokes limited development. :P
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 25, 2014, 03:23:02 pm
/me pokes limited development. :P

i don't understand this sentence ???
Title: Re: Great program for calculus
Post by: ruler501 on March 25, 2014, 03:35:02 pm
He wants an example is my guess. An easy example would be limits of integrals that aren't expressible in elementary functions(\lim_{x \to 1} \int_x^10 \frac{dx}{\ln x} Note that I'm not sure if this limit actually exists) Some 2+ dimensional limits are also hard to do.
Title: Re: Great program for calculus
Post by: DJ Omnimaga on March 25, 2014, 03:37:08 pm
We can do math on a calculator? O.O


Anyway good job on this :), I wish we had that many programs when I was still in hi school. I usually made my own or got ones from teachers but they weren't as good and I wasn't familiar with ticalc.org as much at that time since their archives were either down or cluttered.
Title: Re: Great program for calculus
Post by: Streetwalrus on March 25, 2014, 05:18:50 pm
/me pokes limited development. :P

i don't understand this sentence ???
I don't know how it is called on English, but it's like linear approximations but even better (more accurate since it uses polynomials, Xeda once posted a very nice arctan approx). It is based on Taylor's theorem and o (negligibility, again not sure of the accuracy of this word in English).
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 26, 2014, 10:47:53 am
ohh i understand now :P
i thought the limit calculator was kinda pointless, because anyone with a brain could do it themself (no offence to people without brains :P)
so that's why i decided to remove it (and because i desperately needed space to fit in the simplification programs :P)
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 27, 2014, 04:21:03 am
UPDATE:
added some functions, rearranged some of the functions and i've fixed some bugs

known bugs:
the partial fractions function in the integrals menu doesn't work, i forgot to remove that one :P

please check it out :D
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 29, 2014, 06:05:38 am
*UPDATE*

i hope this will be the last one in a while, as i think it's relatively stable now
new features:
you can calculate the surface area of a 3-dimensional function
you can calculate surface integrals
added polar integrals and arclength

EDIT: feel the power of my triple post :P
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 29, 2014, 12:28:12 pm
bump
just wanted to let you guys know that i've updated my program
also, quadrapost :3
Title: Re: Great program for calculus
Post by: Aspiring on March 29, 2014, 12:31:14 pm
Wow!  Lots of new features...  I am only in calculus II right now so don't even need them all yet.  :thumbsup:   
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 29, 2014, 12:33:37 pm
i'm not even doing calculus yet at my school (i live in holland btw)
i'm just doing this because i'm interested in maths :D
so, technically i don't even need any feature of my program :P
Title: Re: Great program for calculus
Post by: GinDiamond on March 31, 2014, 09:47:59 am
I wish I knew assembly like you
Title: Re: Great program for calculus
Post by: TheCoder1998 on March 31, 2014, 10:09:26 am
I wish I knew assembly like you

this isn't assembly, it's just BASIC compiled into an app using this convenient tool:
http://www.ticalc.org/archives/files/fileinfo/321/32127.html

and thank you very much for your response :D
Title: Re: Great program for calculus
Post by: TheCoder1998 on April 02, 2014, 01:47:04 pm
another update:
the partial fractions function is now a seperate app because of memory issues
also, i've added functions for calculating the hessian and the jacobian
and now you can calculate double or triple integrals in other coordinate systems
Title: Re: Great program for calculus
Post by: Aspiring on April 02, 2014, 01:54:40 pm
Maybe you could add a feature to calculate x number of derivatives in explicit and implicit mode.  (Also it seems like you are having trouble with the size of your program.  I have a few ideas about how to minimize the size of the app to only one single app and a appvar (no picvars even).  I am not completely sure if it will work.  More on that later because I have schoolwork and classes I need to go to.  It may be even possible to have just the app.)


EDIT: removed silly question
Title: Re: Great program for calculus
Post by: TheCoder1998 on April 02, 2014, 01:56:34 pm
patience, my young apprentice :P

i always post the update first and then i upload the download link using the modify button

crazy me, i know

also, if you know more about that appvar thingie, be sure to let me know (then i'll include your name in the credits :D)
Title: Re: Great program for calculus
Post by: Aspiring on April 02, 2014, 01:57:57 pm
Lol.  I love star wars.  ;D  (Although the older movies were much better.)
Title: Re: Great program for calculus
Post by: TheCoder1998 on April 02, 2014, 01:58:47 pm
i recently watched them all again :D

i love those movies to death
Title: Re: Great program for calculus
Post by: Streetwalrus on April 02, 2014, 04:19:15 pm
Same here. :D
Title: Re: Great program for calculus
Post by: TheCoder1998 on April 03, 2014, 08:08:54 am
another update:


added change of variables for partial derivatives and multiple integrals
Title: Re: TI84+ App4Calculus
Post by: TheCoder1998 on April 12, 2014, 06:12:28 am
another update:


added some more functions


known bug: the tangent function doesn't work properly, i'll fix that
Title: Re: TI-84+ App4Calculus
Post by: TheCoder1998 on April 24, 2014, 02:16:23 am
ANOTHER UPDATE:



i've optimised some of the code so now it doesn't take up that many space.
remember, for all programs in the folder you need symbolic, omnicalc and prettyprint to run!!!


new features:
i've added a quaternion arithmetic program, because i can :P
Title: Re: TI-84+ App4Calculus
Post by: GinDiamond on April 24, 2014, 12:18:54 pm
Too bad this can't be entered in a true CAS environment like you can with ZoomMath
Title: Re: TI-84+ App4Calculus
Post by: TheCoder1998 on April 24, 2014, 12:48:26 pm
well, do you want to pay a shitload of money for zoommath, or do you want an alright and free program like mine?
Title: Re: TI-84+ App4Calculus
Post by: TheCoder1998 on May 05, 2014, 02:37:02 pm
*another update*


too lazy to name the new functions, take a look at it yourself
i've added some subroutines to take care of some memory issues
Title: Re: TI-84+ App4Calculus
Post by: Streetwalrus on May 05, 2014, 02:41:38 pm
Also note this is much smaller than ZoomMath anyway. ;)
Title: Re: TI-84+ App4Calculus
Post by: TheCoder1998 on May 06, 2014, 03:15:34 am
Also note this is much smaller than ZoomMath anyway. ;)

it's just much better overall, exept for the symbolic integration, which the symbolic app can't do sadly
although with zoommath, you don't have any memory issues which i have now :/