Jump to content



Photo
- - - - -

Numerical Methods


  • Please log in to reply
24 replies to this topic

#1 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 14 June 2006 - 05:23 PM

I'm looking forward some Program, Add-in Aplication, eActivity and so on
about Numerical Methods.

#2 Orwell

Orwell

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 777 posts
  • Gender:Male
  • Location:Paris - France

  • Calculators:
    Casio AFX 1.02 / Casio ClassPad 300

Posted 14 June 2006 - 08:58 PM

http://www.casiocalc...lua-numerical-a :rolleyes:

#3 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 15 June 2006 - 06:43 AM

I'm looking forward some Program, Add-in Aplication, eActivity and so on
about Numerical Methods.

Like Orwell said, LNA should be what you are looking for. Keep in mind, however, that LNA is not (and it will never be) an educational tool. The aim is to let the user solve numerical problems in an efficient way. Introductory numerical methods are not included in the package, since they are inaccurate and/or slow. For example, you will not find a simple fixed-stepsize Runge Kutta method, because it is never used in practice. Instead, you will find a more complex Runge-Kutta method with adaptive stepsize control. Gauss-Seidel or Gauss-Jordan are inroductory methods, with educational value only, since they are slow, compared to modern methods. They are not used in real problems, and they will never be a part of LNA; instead, you will find LU decomposition and Broyden's method.

#4 Nati

Nati

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    Classpad300

Posted 15 June 2006 - 09:04 AM

I need Runge-Kutta program for classpad300. do you know where i can found it?

#5 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 15 June 2006 - 05:45 PM

I need too, but the educational versions not practical ones!

#6 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 15 June 2006 - 08:35 PM

I need Runge-Kutta program for classpad300. do you know where i can found it?

I need too, but the educational versions not practical ones!

If you need a simple, inaccurate, and never-used-in-practice Runge-Kutta method, you can easily make one: just copy the local function RK4Step, which is part of the file "LNA/RK4Rich". This function takes a single Runge-Kutta step, so you will need to call it iteratively from a simple CPLua program. You can, of course, write a new function for this from scratch. In any case, you will never find in LNA a user-calllable function implementing such a simple method.

#7 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 16 June 2006 - 06:27 PM

How?
I need them stepsized!

#8 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 16 June 2006 - 06:53 PM

How?
I need them stepsized!

Sorry, I'm not planning to develop simple numerical methods for educational use only. If that is what you need, you should read a good introductory book on Numerical Analysis (a very good book for this is listed in LNA's bibliography section). LNA is not designed for this. The goal is to provide accurate (and usually complex) numerical methods for solving real-life problems.

#9 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 21 June 2006 - 12:51 AM

How can I copy LNA fuctions to do one step? :huh:
Explain more, please

#10 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 21 June 2006 - 08:47 PM

How can I copy LNA fuctions to do one step? :huh:
Explain more, please

I'm planning to implement such a simple, inaccurate, educational RK method tomorrow, just because you insist :P. However, I'm not promising anything, it all depends on the free time I will have. If implemented, get ready to pay the price for it :greengrin:: a nice proverb of your country :plol:.

#11 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 21 June 2006 - 09:22 PM

Thanks PAP.
I have Numerical Analysis on this week in which
I should do(use) many of Numerical Analysis methodes
step by step :banghead:
And for convenience I wanted to use LNA functions
stepsized and in an iterative manner to get result :roflol:
I hope to repay your kindness someday

#12 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 21 June 2006 - 09:32 PM

Thanks PAP.
I have Numerical Analysis on this week in which
I should do(use) many of Numerical Analysis methodes
step by step :banghead:
And for convenience I wanted to use LNA functions
stepsized and in an iterative manner to get result :roflol:

That means you want to cheat! I know this kind of exams: you are asked to solve a numerical problem by writing down all the steps needed, to prove that you really know the method. You want ClassPad to do it for you, cheater :P.

I hope to repay your kindness someday

Not someday, before getting anything. No proverb, no help :greengrin:. Btw, I suspect that you are french. If so, post a rare proverb; I already know plenty of common french proverbs...

#13 Orwell

Orwell

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 777 posts
  • Gender:Male
  • Location:Paris - France

  • Calculators:
    Casio AFX 1.02 / Casio ClassPad 300

Posted 22 June 2006 - 04:45 PM

I already know plenty of common french proverbs...

Heureusement que je n'ai rien ? payer :greengrin:

#14 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 22 June 2006 - 08:37 PM

Btw, I suspect that you are french.


Hmmm... I don't think so...

I didn't say persian-english dictionary :profanity: ,
we all need an English-English dictionary :banghead:
In Persian:
(lotfan adaie motojaded haie gharb zadaro dar naiar :rant: )


But this doesn't prove anything...

#15 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 23 June 2006 - 07:32 AM

Take a glance at my profile :roflol:
Stop proverb competition and
start the topic :rant:

Take a glance at my profile :roflol:
Stop proverb competition and
start the topic :rant:

#16 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 23 June 2006 - 08:48 AM

"From: Iran"
Okay this is clear now. :D As I don't know anything about NM, I let you continue the topic. :P

#17 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 23 June 2006 - 08:49 AM

Stop proverb competition and
start the topic :rant:

This sounds like an order to me, and I hate orders. Nobody here is your own personal programmer. You should be more careful on what you say and how you say it.
--[[ End ]]--

#18 Orwell

Orwell

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 777 posts
  • Gender:Male
  • Location:Paris - France

  • Calculators:
    Casio AFX 1.02 / Casio ClassPad 300

Posted 23 June 2006 - 10:05 AM

I was expecting something like that :rolleyes:

#19 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 23 June 2006 - 10:13 AM

I was expecting something like that :rolleyes:

...and you were right.

#20 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 23 June 2006 - 01:53 PM

Dear PAP
Sorry for what went wrong.
Nobody can't order you even God I think. :twisted:
I didn't mean to order anybody!
I'm the slave and you are the lord now.
Btw, I thank you and everybody for the time he/she
spend on this forum and specially on my Post. :bow:

#21 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 24 June 2006 - 09:29 AM

Dear PAP
Sorry for what went wrong.
Nobody can't order you even God I think. :twisted:
I didn't mean to order anybody!
I'm the slave and you are the lord now.
Btw, I thank you and everybody for the time he/she
spend on this forum and specially on my Post. :bow:

Ok, ok, I forgive you. I assume that what you wanted to say was more pollite, but has been "lost in translation" to english.
The fixed-stepsize Runge-Kutta method you asked for is ready. I have implemented it as a CPLua program that runs stand-alone (you don't need to install LNA to use it). I'll post it as soon as I will get "paid". The proverb, Behnoud!

#22 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 24 June 2006 - 05:28 PM

First thank you again and again,
What I send were some proverb (Idiom) in my language
they weren't exact words
And you khow my english is weak :banghead:
If my English was better, I wouldn't make this mistake. B)

#23 omegavirus

omegavirus

    Casio Freak

  • Members
  • PipPipPipPip
  • 150 posts
  • Gender:Male
  • Location:Morelia, M?xico

  • Calculators:
    ClassPad 300

Posted 24 June 2006 - 05:32 PM

Ok, ok, I forgive you. I assume that what you wanted to say was more pollite, but has been "lost in translation" to english.
The fixed-stepsize Runge-Kutta method you asked for is ready. I have implemented it as a CPLua program that runs stand-alone (you don't need to install LNA to use it). I'll post it as soon as I will get "paid". The proverb, Behnoud!

Wow nice new avatar ;) Looks pretty nice for the LNA creator... What does it mean PAP? just for curiosity...

Here is one proverd of the famous mexican Benito Juarez:
"Entre los individuos como entre las naciones, El Respeto al Derecho Ajeno es la Paz".
"Between humans and nations, the respect to the individuals rights is the peace" (something like that...)

I want to see the fixed-stepsize Runge-Kutta method... B)

#24 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 24 June 2006 - 07:06 PM

First thank you again and again,

Here is a fixed stepsize Runge-Kutta method of forth order. To use it, you must:
(1) change the function RHS for your own differential equation(s),
(2) set xleft and xright (the left- and right-end of the integration interval, respectively),
(3) set InitialConditions (a vector giving the value of the functions at x=xleft),
(4) set N (the number of fixed integration points).
As it is now, the program solves the problem described in Section 4.6.1, example 1 of LNA's manual (pages 59-60). However, the solution is less accurate than that obtained by LNA's RK4Rich function.
The program solves the problem, then asks for a point number. Enter:
* 1-N to see the solution at the corresponding point,
* 0 to see the solution at all points, or
* a negative number to terminate.
You can change the program at will. You can solve one differential equation, or a system of differential equations. Let me know if you have any questions :rolleyes:.

This program is not (and it will never be) a part of the LNA package. I uploaded it because you asked for it, and it may be useful only for educational purposes. Fixed stepsize Runge-Kutta is a fast but inaccurate method, and should never be used in real-life problems. You have been warned ;).

Wow nice new avatar ;) Looks pretty nice for the LNA creator... What does it mean PAP? just for curiosity...

Thank you, but the avatar is just some practicing with animated gif images. "PAP" is just my nickname ;).

#25 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 27 June 2006 - 08:56 PM

Thanks PAP
It was so great
I'm on my summer holidays and I'm going
to study whole of LNA Manual.




1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


    Bing (1)