Numerical Methods
#1
Posted 14 June 2006 - 05:23 PM
about Numerical Methods.
#3
Posted 15 June 2006 - 06:43 AM
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.I'm looking forward some Program, Add-in Aplication, eActivity and so on
about Numerical Methods.
#4
Posted 15 June 2006 - 09:04 AM
#5
Posted 15 June 2006 - 05:45 PM
#6
Posted 15 June 2006 - 08:35 PM
I need Runge-Kutta program for classpad300. do you know where i can found it?
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.I need too, but the educational versions not practical ones!
#7
Posted 16 June 2006 - 06:27 PM
I need them stepsized!
#8
Posted 16 June 2006 - 06:53 PM
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.How?
I need them stepsized!
#9
Posted 21 June 2006 - 12:51 AM
Explain more, please
#10
Posted 21 June 2006 - 08:47 PM
I'm planning to implement such a simple, inaccurate, educational RK method tomorrow, just because you insist . 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 : a nice proverb of your country .How can I copy LNA fuctions to do one step?
Explain more, please
#11
Posted 21 June 2006 - 09:22 PM
I have Numerical Analysis on this week in which
I should do(use) many of Numerical Analysis methodes
step by step
And for convenience I wanted to use LNA functions
stepsized and in an iterative manner to get result
I hope to repay your kindness someday
#12
Posted 21 June 2006 - 09:32 PM
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 .Thanks PAP.
I have Numerical Analysis on this week in which
I should do(use) many of Numerical Analysis methodes
step by step
And for convenience I wanted to use LNA functions
stepsized and in an iterative manner to get result
Not someday, before getting anything. No proverb, no help . Btw, I suspect that you are french. If so, post a rare proverb; I already know plenty of common french proverbs...I hope to repay your kindness someday
#13
Posted 22 June 2006 - 04:45 PM
Heureusement que je n'ai rien ? payerI already know plenty of common french proverbs...
#14
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 ,
we all need an English-English dictionary
In Persian:
(lotfan adaie motojaded haie gharb zadaro dar naiar )
But this doesn't prove anything...
#15
Posted 23 June 2006 - 07:32 AM
Stop proverb competition and
start the topic
Take a glance at my profile
Stop proverb competition and
start the topic
#16
Posted 23 June 2006 - 08:48 AM
Okay this is clear now. As I don't know anything about NM, I let you continue the topic.
#17
Posted 23 June 2006 - 08:49 AM
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.Stop proverb competition and
start the topic
--[[ End ]]--
#18
Posted 23 June 2006 - 10:05 AM
#19
Posted 23 June 2006 - 10:13 AM
...and you were right.I was expecting something like that
#20
Posted 23 June 2006 - 01:53 PM
Sorry for what went wrong.
Nobody can't order you even God I think.
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.
#21
Posted 24 June 2006 - 09:29 AM
Ok, ok, I forgive you. I assume that what you wanted to say was more pollite, but has been "lost in translation" to english.Dear PAP
Sorry for what went wrong.
Nobody can't order you even God I think.
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.
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
Posted 24 June 2006 - 05:28 PM
What I send were some proverb (Idiom) in my language
they weren't exact words
And you khow my english is weak
If my English was better, I wouldn't make this mistake.
#23
Posted 24 June 2006 - 05:32 PM
Wow nice new avatar Looks pretty nice for the LNA creator... What does it mean PAP? just for curiosity...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!
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...
#24
Posted 24 June 2006 - 07:06 PM
Here is a fixed stepsize Runge-Kutta method of forth order. To use it, you must:First thank you again and again,
(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 .
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 .
Thank you, but the avatar is just some practicing with animated gif images. "PAP" is just my nickname .Wow nice new avatar Looks pretty nice for the LNA creator... What does it mean PAP? just for curiosity...
#25
Posted 27 June 2006 - 08:56 PM
It was so great
I'm on my summer holidays and I'm going
to study whole of LNA Manual.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users