Naby

48 Reputation

2 Badges

14 years, 44 days

MaplePrimes Activity


These are replies submitted by Naby

Thanks Doug. Is there any way to find out how many roots there are to an fsolve solution if there is more than one solution? In my case, I needed to know when T returns to 300.15 again. The fsolve command you provided returns the answer t=0 because we already define T(0)=300.15 when solving the ODE. I didn't think of that when I posed my question and it took me a minute to figure out why I got t=0 for an answer. I adjusted the command to be: fsolve (T=300.15, 1..1000); and got the answer I was looking for. Because I didn't yet know about the utility of fsolve for the assignment I had to do I just kept narrowing the graph of T vs t until I could read the correct value for t at T=300.15.
Thanks Doug. Is there any way to find out how many roots there are to an fsolve solution if there is more than one solution? In my case, I needed to know when T returns to 300.15 again. The fsolve command you provided returns the answer t=0 because we already define T(0)=300.15 when solving the ODE. I didn't think of that when I posed my question and it took me a minute to figure out why I got t=0 for an answer. I adjusted the command to be: fsolve (T=300.15, 1..1000); and got the answer I was looking for. Because I didn't yet know about the utility of fsolve for the assignment I had to do I just kept narrowing the graph of T vs t until I could read the correct value for t at T=300.15.
Thanks Robert. For a known value of T (other than that I wanted to find for dT/dt=0) can I use fsolve to output the time at which that T occurs?
Thanks Robert. For a known value of T (other than that I wanted to find for dT/dt=0) can I use fsolve to output the time at which that T occurs?
Page 1 of 1