## Week 10

We looked at finite differences for the Heat Equation.

In VBA we implemented same.

## Easter

You will receive regular correspondence from me over the next week or so such as sample VBA Assessment 2, sample 40% Written Assessment, sample solutions of both, better programs.

Some of you need to put in a serious effort to get yourselves up to scratch or you will fail this module. It is up to you to be organised and be keeping an eye on the email correspondence.

Feel free to email me any questions that you might have. If you put in the effort I will reciprocate.

## Week 11 — 2nd 20% VBA Assessment

DME Group A are to come in 12:05 – 12:55 (SHARP) and 14:00-16:00 for a tutorial and VBA Assessment 2.

DME Group B are to come in 09:05-12:00 for a tutorial (09:05-09:55) and VBA Assessment 2 (10:00-12:00).

The VBA 20% Assessment 2 will be based on

- Shooting Method for BVPs
- Finite Difference Method for Laplace’s Equation
- Finite Difference Method for Heat Equation

## Week 12 – 40% Written Test (with aid of Excel).

The 40% assessment will take place in the VBA lab time. Therefore:

DME Group A are to come in 12:05 – 12:55 (SHARP) and 14:00-16:00 for a tutorial and VBA Assessment 2.

DME Group B are to come in 09:05-12:00 for a tutorial and VBA Assessment 2.

It will be based on everything we have studied:

- Everything up to fourth-order Runge-Kutta (including Euler and Heun by hand and theoretical questions for higher order RK)
- Second Order IVPs
- Boundary Value Problems — shooting method and finite differences
- Laplace’s Equation using Finite Differences
- Heat Equation using Finite Differences

## Study

Study should consist of

- doing exercises from the notes
- completing VBA exercises

## Student Resources

Please see the Student Resources tab on the top of this page for information on the Academic Learning Centre, etc..

## 2 comments

Comments feed for this article

August 31, 2017 at 11:03 am

StudentJ.P.

Just wondering could you give me a hand with Written Assessment 2. Have you done a solution out for the test? I am stuck on Q.2, can you tell me if I’m going the right way or not, little confused about this, and which formulas to use. I’ve attached the question and my attempt, much appreciated if you can tell me.

August 31, 2017 at 11:11 am

J.P. McCarthyNearly, but not quite.

First of all there is no variable. When you write you should be writing .

Your is correct however (what should be) your is not.

The previous value, from , is two (not zero).

Therefore you should have

.

This in turn makes your Heun approximation wrong… you correctly have the two for the slope at the previous point,

but ‘magic’ up

,

when you should have used (which you, incorrectly, had).

Of course we see from above that so what you should have had is:

,

and also

.

It remains to find and, the final answer, (you are not asked to approximate ).

Regards,

J.P.