| Author |
Comment/Response |
Mingdong
|
11/30/05 1:50pm
Hi, can anyboby help me about output of the Dsolve function. why i get y[2] but not the exact value 2 which is the value of y[2]? Thanks.
************************************
Clear[y, x, de0]
de0 = DSolve[ {y'[x] == x, y[0] == 0}, y[x] , x]
y[2] /. de0
bb = Table[y[i] /. de0, {i, 0, 5, 1}]
strm = OpenWrite["temps1.dat"]
Write[strm, bb]
!! temps1.dat
Close["temps1.dat"]
************************************
RESULT
------------------------------------
{{y[x] -> x\^2\/2}}
{y[2]}
{{y[0]}, {y[1]}, {y[2]}, {y[3]}, {y[4]}, {y[5]}}
------------------------------------
URL: , |
|