Verify that for any C the function y= (Ce^t)+1+t is a solution of the differential equation y'= y-t. Determine the value of C so that the solution satisfies the initial condition y(2)=1
so you just need to plug in
first do you know how to find y' given y=Ce^t+1+t
C= =2/e^2
-2*
oh I guess you are passed the verification
you just want to find C when t=2 and y=1
\[y=Ce^{t}+1+t \\ 1=Ce^{2}+1+2 \\ 1=Ce^{2}+3 \\ -2 =Ce^{2}\] yep you are right C is -2/e^2
so y(t)= (-2/e^2)e^t+1+t
yep
theres a second part to it, but im not sure why i had to find that last part
what's the second part?
Using the file ode.xls determine approximately how many subintervals are needed using Euler method and the modified Euler method in order to estimate to three decimal places the solution at t=4 of the initial value problem in problem a).
what does it mean use the file ode.xls
what would be the initial problem in the previous one? I have to use excel for this, but i am having trouble figuring out the initial value
and i dont see how y(t)= (-2/e^2)e^t+1+t has anything to do with b
how many steps do we use
oh that is what we need to determine to get withint 3 decimal places
I don't know how to do that I can do Euler formula given the step number but I don't know how to determine the amount of steps to get within a certain accuracy
I will do some further investigation I have food though right now so I will be back in a few hours http://math.sci.ccny.cuny.edu/document/show/2156 this site is what I will be reading on my food break
hey back
so using our \[y(t)=\frac{-2}{e^2}e^{t}+1+t \\ \text{ we evaluate this at } t=4 \\ y(4)=\frac{-2}{e^2}e^{4}+1+4 =-2e^2+5 \approx -9.778\] now you just use the file you have to determine the number of steps to get to -9.778 using f(t,y) is y-t enter in the exact solution -2e^2+5 initial time was given as y(2)=1 which is t=2 , 2 would be what you type in finial time since we are looking for y(4) would be t=4, 4 would be what you type in initial y value is 1 given from y(1)=2 number of sub-intervals is the number you need to play with
oops the exact solution is suppose to be y evaluated at t that is the exact solution is (-2/e^2 )e^t+1+t
anyways let me know if you need more help
im sorry, this site froze
i plug in (-2/e^2)e^t+1+t into excel?
tell me does your ode editor thing... look like figure 3.3 http://math.sci.ccny.cuny.edu/document/show/2156
somewhat, the problem i am looking at is 15b
I do not have access to that file... but if your "ode editor" looks like that you can enter... f(t,y) is y-t check the box saying you know the exact solution which we found to be (-2/e^2)e^t+1+t then initial time was given as 2 finial time is given as 4 initial y is given as 1 and just play with the number of sub-intervals til we get -9.778
the exact solution would be -9.778, so just fill that in for exact solution?
no
fill in what I said
also, when i play with the subintervals, i go past 400...
they are talking about the solution to the differential equation in that field
oh, alright. I will fill that out
if you want me to play with this file I would need you to send it to me
i hope you dont mind
i will save my work, and if its okay with you, i'll send it over
err it is complaining about macro being diabled or whatever and I try to enable it and it doesn't work
you typed in stuff right we are suppose to look at the yapprox column and try to get its last row as -9.778 so instead of 50 see what 100 gives
ok so just keep going until i hit -9.778. 100 gives me -9.489
double 100 try 200
and yes
keep doubling until you get there
okay, thank you very much
im up to 1000
where has the y approx landed there
-9.749
well that is a little closer i wonder if 2000 is going to put us over
-9.763
keep going?
yep double 2000
i did this the first time but i thought i was doing it wrong because it took so long
at 8000 its -9.774
lol thank god you don't have to it by hand
we are getting closer
16000 is probably going to put us over... but try it and see
im at 20,000......
20,000 what does it say?
-9.777
then i have to do 40,000 and i get -9.777
thats good enough right?
i got the program to work
yay, this is insane. 40,000 subintervals
i think we stop here. it wont let me go to 80,000
hey....
exactly what number were you looking at?
you were suppose to be looking at the last line of the second column
...yes i was
y approx
thats right?
did i do it wrong
for 50 I get -9.213 for 100 I get -9.489 for 200 I get -9.632 for 400 I get -9.705 for 800 I get -9.741 for 1600 I get -9.760 for 3200 I get -9.769 for 6400 I get -9.773 for 12800 I get -9.776 .... this program is kinda weird
I'm trying to do 25600 right now but it goes over
:( my professor told me once we hit 800 we go to 1000, 2000, 4000, 8000
he was going over it in class, and if 20,000 is -9.777 and then 40,000 is -9.777 then its fine...but i dont know
it looks like the biggest number we can put in is 18,000 but if you put in a bigger number than 18,000 it is automatically going to spit out the answer for 50,000
and if n=50,000 it does give -9.778
so maybe we should go for whatever n first gave you -9.777
i will leave it at n=20,000
i emailed my professor, this is due 2 weeks from now haha
the problem is that the results I'm getting for n=20,000 is actually for n=50,000
I know this because the last row is on 50,019
anyways interesting program thanks for giving it to me
for n=15000, I get -9.778
I wonder if I can find a smaller n that gives me that value
n=14000 also gives me -9.778
wait so i cant use n=20000?
well the problem with n=20000 as I said earlier is it is giving you the results for n=50000
because when i type in 20,000 for subinterval, and go down to 4, i get -9.777
I know but it is on row 50019
which means it did n=50000
not n=20000
oh, nobody in class mentioned that...
and i had my own modified euler instead of euler for n=14,000,18,000 whatever I entered a few posts ago
mentioned what?
oh, the problem asks for modified euler as well
Join our real-time social learning platform and learn together with your friends!