Page 1 of 1

Homework 6, due October 13, 2010.

Posted: Fri Oct 08, 2010 1:58 pm
by goodwine
Reading: I hope to get through Chapter 5 by the end of next week.

The first three problems constitute the re-take for the exam. It is not exactly the same, so don't work from the exam itself, but rather refer to this and the indicated problem in the course text. Submit this separately from the "regular" homework listed below.
  1. 2.31, do all three parts from the book and also do part three as it was written on the exam.
  2. Do problem 2 on the exam, but with one important difference: use F(t)=k_p(x_d - x(t)), which has the opposite sign of what was on the exam.
  3. 3.29, do all 27 from the book, not just 13 like you had to do on the exam.
These three problems will be weighted as they were on the exam. Your score on these will be averaged with the exam to become your recorded examination score. You may work on these collaboratively, but what you submit must be in accordance with the course homework policy, which essentially does not allow copying and the work must reflect your own effort and understanding.

Exercises: from the course text, 5.3, 5.4 ad 5.7.

Re: Homework 6, due October 13, 2010.

Posted: Mon Oct 11, 2010 4:38 pm
by cmork
Problem 3.29 from the book asks us to sketch each of the plots by hand and then indicate which equation goes to which solution on that sketch. Can we answer in the same format as the test, only using words, or do you want us to draw the graphs as well?

Re: Homework 6, due October 13, 2010.

Posted: Mon Oct 11, 2010 4:46 pm
by goodwine
cmork wrote:Problem 3.29 from the book asks us to sketch each of the plots by hand and then indicate which equation goes to which solution on that sketch. Can we answer in the same format as the test, only using words, or do you want us to draw the graphs as well?
Doing the same as the test is fine.

Re: Homework 6, due October 13, 2010.

Posted: Mon Oct 11, 2010 8:57 pm
by sprender
For 5.3, do we need initial conditions to solve this equation fully? Or do you want a general solution?

Re: Homework 6, due October 13, 2010.

Posted: Mon Oct 11, 2010 8:59 pm
by goodwine
sprender wrote:For 5.3, do we need initial conditions to solve this equation fully? Or do you want a general solution?
I want the general solution. Write the series solution as a_0 times a series plus a_1 times another series. You should get that one of the series is sin and the other cos.

Re: Homework 6, due October 13, 2010.

Posted: Mon Oct 11, 2010 10:13 pm
by sprender
For problem 5.7, do you want us to solve Airy's equation as it is listed in that question with a (+) sign or as listed in the chapter with a (-) sign?

Re: Homework 6, due October 13, 2010.

Posted: Mon Oct 11, 2010 10:16 pm
by goodwine
sprender wrote:For problem 5.7, do you want us to solve Airy's equation as it is listed in that question with a (+) sign or as listed in the chapter with a (-) sign?
I didn't really notice that I assigned a problem that I worked out twice in class. Since it's a + in the book I think I have to say to use that. A minus would just flip some signs anyway.

Re: Homework 6, due October 13, 2010.

Posted: Mon Oct 11, 2010 10:29 pm
by ceramics
Professor Goodwine, can you post the MATLAB and Fortran codes you created in class from Last Friday and today's classes?

Re: Homework 6, due October 13, 2010.

Posted: Mon Oct 11, 2010 10:32 pm
by goodwine
ceramics wrote:Professor Goodwine, can you post the MATLAB and Fortran codes you created in class from Last Friday and today's classes?
I already did. They are under "Course Administration"

Re: Homework 6, due October 13, 2010.

Posted: Tue Oct 12, 2010 9:41 am
by sprender
When the questions ask for a series solution, do you want us to represent our answer as a partial sum or an equation containing the summation signs? I know we have to plot each as a partial sum, I am just unsure about the format of actual answer.

Re: Homework 6, due October 13, 2010.

Posted: Tue Oct 12, 2010 10:31 am
by goodwine
sprender wrote:When the questions ask for a series solution, do you want us to represent our answer as a partial sum or an equation containing the summation signs? I know we have to plot each as a partial sum, I am just unsure about the format of actual answer.
It's actually non-trivial to convert a recursion relation into an answer with a sum sign. So, the answer is \sum a_n t^n where a_0=something, a_1=something, etc, and then the recursion relation. As long as you have a way to compute each a_n, that's good enough.

Re: Homework 6, due October 13, 2010.

Posted: Tue Oct 12, 2010 3:56 pm
by whawes
For 5.4 are we supposed to use the method of numerical methods to find a solution that compares with the partial sums?

Re: Homework 6, due October 13, 2010.

Posted: Tue Oct 12, 2010 4:35 pm
by goodwine
whawes wrote:For 5.4 are we supposed to use the method of numerical methods to find a solution that compares with the partial sums?
Yes.

Re: Homework 6, due October 13, 2010.

Posted: Tue Oct 12, 2010 5:03 pm
by whawes
Could you possibly post the matlab code for how to load the data.d/graph the columns?

Re: Homework 6, due October 13, 2010.

Posted: Tue Oct 12, 2010 6:10 pm
by goodwine
whawes wrote:Could you possibly post the matlab code for how to load the data.d/graph the columns?
load data.d;
plot(data(:,1),data(:,2))

That's something you probably should have written down since I did it quite a few times in class.

Re: Homework 6, due October 13, 2010.

Posted: Tue Oct 12, 2010 6:16 pm
by sprender
What do we need to type into the terminal once we have established the .f file and how do we save the output into a readable file for Matlab to use?

Re: Homework 6, due October 13, 2010.

Posted: Thu Oct 14, 2010 8:13 pm
by mhubbar3
Professor Goodwine, I'm not sure if you remember, but the other day I was asking about problem 1 on the homework, specifically part 3 from the book (problem 2.31 in the book). I thought we had figured it out when you told me to convert the acceleration do to gravity from m/s^2 to km/hr^2, however, at the time, I forgot that this affects the value that you get for k from the equation for v_term (v_term = sqrt((m*g)/k), and using this new value for k when solving for the integration constant (c) in the equation for v(t), causes the solution for c to be non-real, because the term inside the arctanh operation is greater than zero...do you have any suggestions?

thanks

Re: Homework 6, due October 13, 2010.

Posted: Thu Oct 14, 2010 8:37 pm
by goodwine
mhubbar3 wrote:Professor Goodwine, I'm not sure if you remember, but the other day I was asking about problem 1 on the homework, specifically part 3 from the book (problem 2.31 in the book). I thought we had figured it out when you told me to convert the acceleration do to gravity from m/s^2 to km/hr^2, however, at the time, I forgot that this affects the value that you get for k from the equation for v_term (v_term = sqrt((m*g)/k), and using this new value for k when solving for the integration constant (c) in the equation for v(t), causes the solution for c to be non-real, because the term inside the arctanh operation is greater than zero...do you have any suggestions?

thanks
If it's > 0 it should be ok. I'm pretty sure the range for tanh is (-1,+1).

Re: Homework 6, due October 13, 2010.

Posted: Thu Oct 14, 2010 8:55 pm
by mhubbar3
Sorry...I meant to say that it is greater than 1...my mistake

Re: Homework 6, due October 13, 2010.

Posted: Thu Oct 14, 2010 8:58 pm
by mhubbar3
If its easier, I can just talk to you about it before or after class tomorrow...and I really don't mean to drag this question on, I only persist because I, like most people I'm sure, did poorly on the test, and so want to understand whats going on in the problem and earn back as many points as possible

Re: Homework 6, due October 13, 2010.

Posted: Thu Oct 14, 2010 9:11 pm
by goodwine
mhubbar3 wrote:Sorry...I meant to say that it is greater than 1...my mistake
I don't think I can be much help without seeing your work. The solution I've seen has a positive value and everything works out. That's fine. If you are satisfied with your effort, then drop it for tonight. I can talk about it for a bit after class tomorrow.