Jump to content



Photo
- - - - -

Cas Numerical Routines In Basic + Engineering Prog


  • Please log in to reply
14 replies to this topic

#1 The_AFX_Master

The_AFX_Master

    Casio Overlord

  • [Legends]
  • PipPipPipPipPipPipPip
  • 519 posts
  • Gender:Male
  • Location:Black Mesa Research Facility (sector C)
  • Interests:BASIC +FORTRAN 90+ C++.....and HALF LIFE

  • Calculators:
    Casio Algebra FX 2.0 Plus, Casio fx 570 ms, Classpad 300, And a crowbar

Posted 10 July 2005 - 07:56 PM

im a second year student of mechanical engineering, i bought my AFX 2.0 one month ago..this is a very powerful calc, but math & enginnering programs are too little or nonexistent :banghead: ......i am developing near to 20 programs in calculus and engineering in basic.....double & triple numerical integration......numerical differentiation with respect to another variable different from x ( :banghead: the AFX only derivates with respect of x in RUN.MAT).....and so on......

MLC have the power for do this better and faster than BASIC??

in my university ANITHING HAVE hp49g+ ang hp49g....but....NOTHING knows to use them correctly....is too hard to program (RPN SUCKS!!!) and too complex to use, for that reason i buys casio, and I have exploit it


one month ...and my programs stay HERE :rolleyes:

excuse my badly english, i believe that Betoe?s and i speak spanish in this forum

#2 Andy.Davies

Andy.Davies

    Forum Ghost

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1547 posts
  • Gender:Male
  • Location:Dorset, England
  • Interests:Age: 18
    Studying: MEng in cybernetics at Reading uni
    Interests: Progaming (VB, VB.Net, C#, Casio Basic)
    Computers UBBD (Using, Building, Breaking & Destroying)
    Gaming (FPS, RTS, RPG)
    Electronics
    Rock Music (Preferably Loud)
    Riley's (Pool & Snooker Bar)
    Driving (Preferably fast)
    Aikedo (Martial Art)

  • Calculators:
    Algebra FX 2.0 ROM 1.01, FX9750G

Posted 11 July 2005 - 10:15 AM

Please dont use the report post button to get admins attention, its not what its for.

If you want lots of Maths programs then try www.casiofortissimo.co.nr, look under AFX > Basic :)

#3 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 11 July 2005 - 12:39 PM

>MLC have the power for do this better and faster than BASIC??

No. MLC is pretty much useless for mathematical programs. It doesn't support floating point for starters.

>in my university ANITHING HAVE hp49g+ ang hp49g....but....NOTHING knows to use them correctly....is too hard to program (RPN SUCKS!!!) and too complex to use, for that reason i buys casio, and I have exploit it


RPN is optional. You don't have to use it. If you found a HP too difficult you should have purchased a TI.

#4 The_AFX_Master

The_AFX_Master

    Casio Overlord

  • [Legends]
  • PipPipPipPipPipPipPip
  • 519 posts
  • Gender:Male
  • Location:Black Mesa Research Facility (sector C)
  • Interests:BASIC +FORTRAN 90+ C++.....and HALF LIFE

  • Calculators:
    Casio Algebra FX 2.0 Plus, Casio fx 570 ms, Classpad 300, And a crowbar

Posted 12 July 2005 - 02:38 PM

thanks andy......the programs are :plol: ++++++

#5 Andy.Davies

Andy.Davies

    Forum Ghost

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1547 posts
  • Gender:Male
  • Location:Dorset, England
  • Interests:Age: 18
    Studying: MEng in cybernetics at Reading uni
    Interests: Progaming (VB, VB.Net, C#, Casio Basic)
    Computers UBBD (Using, Building, Breaking & Destroying)
    Gaming (FPS, RTS, RPG)
    Electronics
    Rock Music (Preferably Loud)
    Riley's (Pool & Snooker Bar)
    Driving (Preferably fast)
    Aikedo (Martial Art)

  • Calculators:
    Algebra FX 2.0 ROM 1.01, FX9750G

Posted 12 July 2005 - 04:53 PM

thanks andy......the programs are  :plol: ++++++

<{POST_SNAPBACK}>



What do you mean by that ???

#6 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 12 July 2005 - 04:56 PM

I think he does not mean what the smilie suggest but rather what
the "+++++" suggest so they are peobably OK.

#7 R00KIE

R00KIE

    Casio Freak

  • Members
  • PipPipPipPip
  • 155 posts
  • Location:Portugal
  • Interests:Electronics, games, programming

  • Calculators:
    HP49G ROM 1.24; CASIO CFX-9850GB PLUS;CASIO FX-6300G; CASIO FX-82TL

Posted 12 July 2005 - 11:24 PM

>in my university ANITHING HAVE hp49g+ ang hp49g....but....NOTHING knows to use them correctly....is too hard to program (RPN SUCKS!!!) and too complex to use, for that reason i buys casio, and I have exploit it

maybe not enough, i've allways used CASIO calcs before i got my HP49G and i don't find RPN that difficult, you just have lots of ways to do the same thing, and if RPN sucked so much people wouldn't be doing addins for other calcs that emulate RPN.
it's more difficult than basic no doubt about it but it's by far more powerfull than basic

#8 The_AFX_Master

The_AFX_Master

    Casio Overlord

  • [Legends]
  • PipPipPipPipPipPipPip
  • 519 posts
  • Gender:Male
  • Location:Black Mesa Research Facility (sector C)
  • Interests:BASIC +FORTRAN 90+ C++.....and HALF LIFE

  • Calculators:
    Casio Algebra FX 2.0 Plus, Casio fx 570 ms, Classpad 300, And a crowbar

Posted 13 July 2005 - 08:10 PM

i meant.....the programs are the best ones than I have found until now......

a new notice......a new rare math bug in the CAS.....

if you have the original CAS of the AFX, and you try to solve an integral of periodic function, whose integral has the same period, for example 1/(2-sin(x)), between the limits zero and 2*pi, the result in the CAS is ZERO!!!!....that is false

the problem is that as much the function as his integral have the same period, 2*pi, and both are in "phase" (i dont know the proper term in english), this means that the fundamental theorem of calculus does not work correctly if you evaluate traditionally. this because the integral is IMPROPER, i check it graphing the integral and his derivative (the function)......THE CAS DON?T FAILED....the correct solution in this case is is to divide in two the interval, 0,pi + pi,2*pi.....problem solved

Andy.Davies: Please dont double post unless nessacary (sp?)

EDIT:

other bad notice for the AFX owners.....the CLASSPAD does commit that error......... :o ....i?m so scared!!!

God that does not happen this in an exam
from now on... to..view the doubtful integrals of numerica form :banghead:


#9 R00KIE

R00KIE

    Casio Freak

  • Members
  • PipPipPipPip
  • 155 posts
  • Location:Portugal
  • Interests:Electronics, games, programming

  • Calculators:
    HP49G ROM 1.24; CASIO CFX-9850GB PLUS;CASIO FX-6300G; CASIO FX-82TL

Posted 14 July 2005 - 02:36 AM

you should have posted the correct result.
is it 2*sqrt(3)*pi/3 ?

#10 The_AFX_Master

The_AFX_Master

    Casio Overlord

  • [Legends]
  • PipPipPipPipPipPipPip
  • 519 posts
  • Gender:Male
  • Location:Black Mesa Research Facility (sector C)
  • Interests:BASIC +FORTRAN 90+ C++.....and HALF LIFE

  • Calculators:
    Casio Algebra FX 2.0 Plus, Casio fx 570 ms, Classpad 300, And a crowbar

Posted 19 July 2005 - 08:38 PM

Hey andy davies.....what is your opinion if i create a new poll about the MLC,..i think that the MLC is a very powerful tool, but it?s focused to games :banghead: developement. ??why not math programming in MLC??, , if we program calculators, MATH must be a priority! ...is logic!, combining games and fast math (basic is too slow,with every loop), WLC would be greater.
i?m working in a program that converts more than 144 units, using menus with "Text,#,#,"xxxxxxxx" command, too too slow, three seconds for load a menu!!! :rant: !!, i saved the main menu in a pict (3 seconds of my life saved!),but i dont do this with the others, 2041 bytes each one x12 types of conversions: :D more than 24kb only in menus....no no no.....so heavy

in summary, with the power of MLC, and the funcionality of BASIC in math, these little headaches would be avoided

#11 Marco

Marco

    Casio Freak

  • Members
  • PipPipPipPip
  • 185 posts
  • Location:Dresden, Germany

  • Calculators:
    Casio CFX 9850G (broken),
    Casio CFX 9850GB,
    Casio Algebra FX 2.0 Plus

Posted 19 July 2005 - 09:20 PM

??why not math programming in MLC,, if we program calculators, MATH must be a priority!

:!: Because: this would be completely useless as Basic is aimed on math already, and math is implemented really good there (because: math is the priority). But Basic isn't meant for games, there are much features it doesn't provide, too slow (esp. graphics) et.c.

That's why MLC exists, it's aimed on gaming. If you'd implement a better math in MLC, it hardly would be faster than Basic math (at least when you do floating point maths, pure integer is faster of course). If you wanna make application programs using math features very extensiv, you should use Basic, you don't need all the gaming features then anyways.

Math programming in MLC would mean:

- bigger code for the interpreter (depending on how much math features you want), so fewer mem left for the games (note: the ROM stores 4MB or sth.)
- wasted work for the interpreter programmers is implementing math features needs much time but hardly anyone would use it

PS: if you need fraction numbers in your MLC games, you don't need floating point math features, use integers as fixed point numbers instead of :)

#12 R00KIE

R00KIE

    Casio Freak

  • Members
  • PipPipPipPip
  • 155 posts
  • Location:Portugal
  • Interests:Electronics, games, programming

  • Calculators:
    HP49G ROM 1.24; CASIO CFX-9850GB PLUS;CASIO FX-6300G; CASIO FX-82TL

Posted 19 July 2005 - 10:01 PM

from what i can see MLC is an interpreted language, what if you do something like SysRPL, it consists of pointers to the Rom where the code is stored, of course you will need to compile the code first but once you do it it becomes very small, you could do it at runtime, compile all and then run from there it should be even faster than an interpreter and because the math you have does not respect operation priorities it's not that hard to do it.
(easyer said than done anyway)

#13 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 20 July 2005 - 03:46 PM

I don't really understand what you mean.

1) We can't write to ROM
2) We can't access the on ROM math programs since we
don't know how they work exactly or what interrupts they use

SO what do you want us to point on in ROM?

#14 R00KIE

R00KIE

    Casio Freak

  • Members
  • PipPipPipPip
  • 155 posts
  • Location:Portugal
  • Interests:Electronics, games, programming

  • Calculators:
    HP49G ROM 1.24; CASIO CFX-9850GB PLUS;CASIO FX-6300G; CASIO FX-82TL

Posted 30 July 2005 - 09:33 PM

Point to your code, you know what it does, but you need to place it at a known location so you can write other code that points into it, most probably this is a stupid idea and i'm just thinking HP's SysRPL, sory.

#15 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 31 July 2005 - 07:47 AM

we can actually execute programs from Flash ...

it is called RXE programms and was made possible by dscoshpe




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users