Ask your own question, for FREE!
Mathematics 82 Online
OpenStudy (jackiem272):

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

OpenStudy (freckles):

so you just need to plug in

OpenStudy (freckles):

first do you know how to find y' given y=Ce^t+1+t

OpenStudy (jackiem272):

C= =2/e^2

OpenStudy (jackiem272):

-2*

OpenStudy (freckles):

oh I guess you are passed the verification

OpenStudy (freckles):

you just want to find C when t=2 and y=1

OpenStudy (freckles):

\[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

OpenStudy (jackiem272):

so y(t)= (-2/e^2)e^t+1+t

OpenStudy (freckles):

yep

OpenStudy (jackiem272):

theres a second part to it, but im not sure why i had to find that last part

OpenStudy (freckles):

what's the second part?

OpenStudy (jackiem272):

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).

OpenStudy (freckles):

what does it mean use the file ode.xls

OpenStudy (jackiem272):

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

OpenStudy (jackiem272):

and i dont see how y(t)= (-2/e^2)e^t+1+t has anything to do with b

OpenStudy (freckles):

how many steps do we use

OpenStudy (freckles):

oh that is what we need to determine to get withint 3 decimal places

OpenStudy (freckles):

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

OpenStudy (freckles):

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

OpenStudy (freckles):

hey back

OpenStudy (freckles):

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

OpenStudy (freckles):

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

OpenStudy (freckles):

anyways let me know if you need more help

OpenStudy (jackiem272):

im sorry, this site froze

OpenStudy (jackiem272):

i plug in (-2/e^2)e^t+1+t into excel?

OpenStudy (freckles):

tell me does your ode editor thing... look like figure 3.3 http://math.sci.ccny.cuny.edu/document/show/2156

OpenStudy (jackiem272):

somewhat, the problem i am looking at is 15b

OpenStudy (freckles):

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

OpenStudy (jackiem272):

the exact solution would be -9.778, so just fill that in for exact solution?

OpenStudy (freckles):

no

OpenStudy (freckles):

fill in what I said

OpenStudy (jackiem272):

also, when i play with the subintervals, i go past 400...

OpenStudy (freckles):

they are talking about the solution to the differential equation in that field

OpenStudy (jackiem272):

oh, alright. I will fill that out

OpenStudy (freckles):

if you want me to play with this file I would need you to send it to me

OpenStudy (jackiem272):

i hope you dont mind

OpenStudy (jackiem272):

i will save my work, and if its okay with you, i'll send it over

OpenStudy (freckles):

err it is complaining about macro being diabled or whatever and I try to enable it and it doesn't work

OpenStudy (jackiem272):

OpenStudy (freckles):

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

OpenStudy (jackiem272):

ok so just keep going until i hit -9.778. 100 gives me -9.489

OpenStudy (freckles):

double 100 try 200

OpenStudy (freckles):

and yes

OpenStudy (freckles):

keep doubling until you get there

OpenStudy (jackiem272):

okay, thank you very much

OpenStudy (jackiem272):

im up to 1000

OpenStudy (freckles):

where has the y approx landed there

OpenStudy (jackiem272):

-9.749

OpenStudy (freckles):

well that is a little closer i wonder if 2000 is going to put us over

OpenStudy (jackiem272):

-9.763

OpenStudy (jackiem272):

keep going?

OpenStudy (freckles):

yep double 2000

OpenStudy (jackiem272):

i did this the first time but i thought i was doing it wrong because it took so long

OpenStudy (jackiem272):

at 8000 its -9.774

OpenStudy (freckles):

lol thank god you don't have to it by hand

OpenStudy (freckles):

we are getting closer

OpenStudy (freckles):

16000 is probably going to put us over... but try it and see

OpenStudy (jackiem272):

im at 20,000......

OpenStudy (freckles):

20,000 what does it say?

OpenStudy (jackiem272):

-9.777

OpenStudy (jackiem272):

then i have to do 40,000 and i get -9.777

OpenStudy (jackiem272):

thats good enough right?

OpenStudy (freckles):

i got the program to work

OpenStudy (jackiem272):

yay, this is insane. 40,000 subintervals

OpenStudy (jackiem272):

i think we stop here. it wont let me go to 80,000

OpenStudy (freckles):

hey....

OpenStudy (freckles):

exactly what number were you looking at?

OpenStudy (freckles):

you were suppose to be looking at the last line of the second column

OpenStudy (jackiem272):

...yes i was

OpenStudy (jackiem272):

y approx

OpenStudy (jackiem272):

thats right?

OpenStudy (jackiem272):

did i do it wrong

OpenStudy (freckles):

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

OpenStudy (freckles):

I'm trying to do 25600 right now but it goes over

OpenStudy (jackiem272):

:( my professor told me once we hit 800 we go to 1000, 2000, 4000, 8000

OpenStudy (jackiem272):

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

OpenStudy (freckles):

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

OpenStudy (freckles):

and if n=50,000 it does give -9.778

OpenStudy (freckles):

so maybe we should go for whatever n first gave you -9.777

OpenStudy (jackiem272):

i will leave it at n=20,000

OpenStudy (jackiem272):

i emailed my professor, this is due 2 weeks from now haha

OpenStudy (freckles):

the problem is that the results I'm getting for n=20,000 is actually for n=50,000

OpenStudy (freckles):

I know this because the last row is on 50,019

OpenStudy (freckles):

anyways interesting program thanks for giving it to me

OpenStudy (freckles):

for n=15000, I get -9.778

OpenStudy (freckles):

I wonder if I can find a smaller n that gives me that value

OpenStudy (freckles):

n=14000 also gives me -9.778

OpenStudy (jackiem272):

wait so i cant use n=20000?

OpenStudy (freckles):

well the problem with n=20000 as I said earlier is it is giving you the results for n=50000

OpenStudy (jackiem272):

because when i type in 20,000 for subinterval, and go down to 4, i get -9.777

OpenStudy (freckles):

I know but it is on row 50019

OpenStudy (freckles):

which means it did n=50000

OpenStudy (freckles):

not n=20000

OpenStudy (jackiem272):

oh, nobody in class mentioned that...

OpenStudy (freckles):

and i had my own modified euler instead of euler for n=14,000,18,000 whatever I entered a few posts ago

OpenStudy (freckles):

mentioned what?

OpenStudy (jackiem272):

oh, the problem asks for modified euler as well

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
YouMyPlug: A lil sum sum
7 minutes ago 18 Replies 4 Medals
SnowKitty: Can I get some help please
2 hours ago 7 Replies 2 Medals
Coyote: Trigonometry
2 hours ago 3 Replies 2 Medals
Thayes: Listen
4 hours ago 5 Replies 1 Medal
Aubree: Happy birthday @barnbuns! I hope u have a better day!
56 minutes ago 15 Replies 3 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!