You are on page 1of 6

Trying to compile calcu techniques Solving DE problems with initial values

Page 1 of 6
Last Saved: 12/4/2014

Version History:
0.1 - Initial Draft

:)

Algie Jefferson E. Olmilla


ajolmilla@yahoo.com

v0.1

Trying to compile calcu techniques Solving DE problems with initial values

Sample Problem:
Given a D.E.

Page 2 of 6
Last Saved: 12/4/2014

Answer :
dy
= 1 x
dx

find Y(3) when Y(0)=0

A) 4.50
B) 5.40
C) 4.05
D) 5.04

y ( x) =

y ( 3 ) = 4.5
1.) Firstly, the format for solving D.E.s on the calcu is like this
Y+(dy/dx)+D->Y : X+D->X : 1->X : 2->Y : 3->D
Acutal Formula Initial Values

where:
Y,D and X are variables
dy/dx is the Differential Eq.
1,2,3 are just numbers to be used
later for the calcu method
(can be changed as needed)

To type the first part in the calcu, press


Y
- ALPHA + Y
+
(
THE DE GOES HERE
- in this case, it should only be X
)
D
- APLHA +D
At this point, the calcu should look like this:
Y+(X)D
2.) Next, is to insert the -> Y in the calcu

This is just actually done by pressing SHIFT + STORE + Y


Basically, it's just storing into the variable Y.
NOTE : From this point onward,
DO NOT PRESS AC NOR THE ON BUTTON
EVEN IF YOU MAKE A SYNTAX ERROR
If ever you press it, you will need to go back to the start
Just use the left and right keys to see and fix the errors.
The calcu will do some math and at this point, press the Left key to go back
to adding more data.

:)

Algie Jefferson E. Olmilla


ajolmilla@yahoo.com

v0.1

Trying to compile calcu techniques Solving DE problems with initial values

Page 3 of 6
Last Saved: 12/4/2014

3.) Now, add the colon.


Yes, this is very important that I had to make a separate step for it.
The colon is entered using ALPHA + :
At this point, the calcu should look like this:
Y+(X)D->Y:
4.) Enter the rest of the main format
Enter the Following Keys:
X
- ALPHA + X
+
D
SHIFT
STORE
-for the ->X in the calcu
X
when you finish this, you will notice that the Y+(X)D->Y is the only one displayed.
Press equals(=) once and you will see the X+D->X
Once you see the X+D ->X, press left to go back to the formula.
You will not be able to press left unless you are looking at the last equation before the
colon. In this case, that would be the X+D->X
Add another colon before we continue.
At this point, the calcu should look like this:
Y+(X)D->Y: X+D->X:

5.) Adding the Initial values

The last 3 parts of the format, 1->X , 2->Y and 3->D represent the initial values.
This has to be one one at a time so we'll start with X
Remember that the problem had an initial value of Y(0)=0

:)

Algie Jefferson E. Olmilla


ajolmilla@yahoo.com

v0.1

Trying to compile calcu techniques Solving DE problems with initial values

Page 4 of 6
Last Saved: 12/4/2014

To add the first 0 initial value, press


0
SHIFT,STORE,X
You will see the Y+(X)D->Y again. Press equals 2 times to see the 0->X line.
When you see the 0->X, press left. Don't forget to add a colon.
Repeat for the Y and D.
To add the second 0 initial value, press
0
SHIFT,STORE,Y
You will see the Y+(X)D->Y again. Press equals 3 times to see the 0->Y line.
When you see the 0->Y, press left.Don't forget to add a colon.
To add the last initial value, press
0.1
SHIFT,STORE,D
You will see the Y+(X)D->Y again. Press equals 4 times to see the 0.1->D line.
When you see the 0.1->D, press left. (NO MORE COLON TO ADD)

Explaination :
The first 2 values may make sense to you since they are part of the given. The first
0 represents the initial value of X. (the 0 in the parenthesis). The second is the initial value
of Y. (the equals 0).
The last one is actually a value for accuracy. The only reason it's lettered D is because
1.) I wanted it to be the letter D
2.) It's easy to relate with the dx term when explaining this technique with the actual math.
The smaller the value, the more accurate the solution, but the more iterations needed
and therefore the longer the solution. Normally, I would use 1 since I taught mixture problems
using a "by the minuite" analysis and the only reason it is 0.1 is beause I have a table to show
later
At this point, the calcu should look like this:
Y+(X)D->Y: X+D->X: 0->X: 0->Y : 0.1->D

:)

Algie Jefferson E. Olmilla


ajolmilla@yahoo.com

v0.1

Trying to compile calcu techniques Solving DE problems with initial values

Page 5 of 6
Last Saved: 12/4/2014

6.) Preparing for the actual solving


At this point, we need to remove the initial values from the calcu.
AGAIN, DO NOT PRESS AC.
Move the pointer of the calcu to the very right and slowly press DEL many times
to remove the inital values
Stop at the colon before the between the X+D->X and the 0->X.
DO NOT DELETE TOO MUCH. It's too difficult to recover the ->X that you
are better off restarting if you do.
At this point, the calcu should look like this:
Y+(X)D->Y: X+D->X
7.) The actual solving
From this point, all you need to do from this point is to keep on pressing the equals button.
Whenever you see the Y+(X)D->Y, that is the value of Y.
Whenever you see the X+D->X, that is the value of X.
To get used to the value pairs, when you see the Y value, say to yourself "when X is"
In the table in the next page, the Euler column are the values of Y you will see with the
corresponding x values.

When you try this, it will go like this.


Y is 0.0 when X is 0.1
Y is 0.01 when X is 0.2
Y is 0.03 when X is 0.3
and so on...
Naturally, the final answer will be the one displayed before X is 3.0
(or the value one equals after X is 2.9)
so start slowing down on pressing equals as you get too close
If you go too far, (and only if you go too far), press AC to clear everything
and press the up and down button to see the last numbers in reverse order they showed you.
So if you press AC when the value shown was 4.65, you will see the numbers
3.0, 4.35, 2.9 4.06, 2.8 .... etc. in that order. The answer would then be 4.35
:)

Algie Jefferson E. Olmilla


ajolmilla@yahoo.com

v0.1

Trying to compile calcu techniques Solving DE problems with initial values

Page 6 of 6
Last Saved: 12/4/2014

Obviously, this will never get you the exact answer.


But then, all you need is a close answer.
If the choices are kinda far apart, then the value of D could be larger.
(I use 1 when solving mixture problems. 0.5 or 0.1 if the choices are too close to each other)

:)

Algie Jefferson E. Olmilla


ajolmilla@yahoo.com

v0.1

You might also like