|
Hey there TL'ers, I am in need of some quick assistance regarding a problem I'm coding. It is CS, Mechanical Engineering, and general physics-related but the key problem I'm having is simply transforming the problem into an appropriate system of FOR loops.
If I have a function
F = b_0 + b_1 + b_2[(x-x_1)+(x-x_0)(x-x_1)] + b_3[(x-x_1)(x-x_2)+x-x_0)(x-x_2)+(x-x_0)(x-x_1)] + ...
F' '(x)/d^2x = 2*b_2 + b_3 [(x-x_1)+(x-x_2)+(x-x_3)+(x-x_1)+(x-x_2)+(x-x_3)]**
+ b_4[(x-x_0)(x-x_1)+(x-x_0)(x-x_2)+(x-x_0)(x-x_3)+(x-x_1)(x-x_2)+(x-x_1)(x-x_3)+...
The ** is a special note that this pattern repeats. In fact for each b_i the pattern will repeat, so one could simplify each pattern to 2b_i[halfpattern]
Can anyone see a pattern here for which I could write for loop to create such a second derivative function??
50,000 free high fives for anyone who can solve this before 1:00, I have been staring at it and writing big sigmas and pi's all day
|
|
Had to laugh at the other thread.
|
One of the things that would help get a serious answer would be to post a version of the question that isn't the text-attempted math symbols. I, for one, have no patience to try to decipher that mess. Also if you could post what you've attempted so far it would probably be easier to point you in the right direction.
|
Use MathType within Word (or a similar math program) to make this easier to read.
|
it's recursive. every recursion have a iteration equivalent but not verse versa, need i say more? anyway that's all i can tell from your post (some crappy factorial explosion)
|
You've got about 10 minutes to show that you put any effort into doing this beyond posting the formula before your blog gets flooded again
|
shrug maybe this will entice someone to help him
doesn't make it any easier to read in my opinion lolol
|
Homework, or homework assignment, refers to tasks assigned to students by their teachers to be completed mostly outside of class, and derives its name from the fact that most students do the majority of such work at home. Common homework assignments may include a quantity or period of reading to be performed, writing or typing to be completed, problems to be solved, a school project to be built (such as a diorama or display), or other skills to be practiced.
Main objectives and reasons for homework
The basic objectives of assigning homework to students are the same as schooling in general: To increase the knowledge and improve the abilities and skills of the students. However, opponents of homework cite homework as rote, or grind work, designed to take up children's time, without offering tangible benefit. Homework may be designed to reinforce what students have already learned, prepare them for upcoming (or complex or difficult) lessons, extend what they know by having them apply it to new situations, or to integrate their abilities by applying many different skills to a single task. Homework also provides an opportunity for parents to participate in their children's education.
Homework strategies
Effective study skills can help to speed up the completion of homework, giving a student more free time.
In cases where the teacher assigns homework verbally or on the chalkboard, the student can avoid forgetting or misremembering the assignments by writing them down and keeping them well-organized in a notebook, planner, or agenda. It is also recommended that one develop a strategy that decreases the student's chances of forgetting completed homework at home.
Students with a positive attitude toward homework, who enjoy it and work on it enthusiastically, generally complete their homework faster than if they view their homework negatively. Reluctance and resistance can make homework take longer. Minimizing distractions, by studying in a quiet room and leaving the TV off, etc, make it easier to concentrate and get homework done faster, while doing a better job. Contrary to specialists' recommendations, there is no evidence that the radio, as opposed to the television, hinders performance. This may be because radios emit only audio and no video, so there is less distraction.
One approach for minimizing the amount of homework a student has to do at home is for the student to complete as much of it as possible while still at school. Spare time between classes, during lunch, and especially during classes may be enough to get most or even all of the student's homework completed, depending on how much is assigned. This approach may have negative consequences, such as causing students to skip lunch or miss important information in other courses.
|
|
|
|