We’re always adding quality tutors to our site, which is why you’ll see some profiles which have yet to acquire customer reviews and ratings. Don’t let this faze you, with over 7 applications for each tutor place, you can rest assured that all our tutors are of the highest standard. We do, however, offer a guarantee for new tutors. So if you’re not completely satisfied, just let us know within 48 hours and we’ll refund you in full.

This tutor has experience on our Schools Programme, which means they have worked with education professionals to provide one-to-one tuition in schools across the country. They have been trusted by teachers to deliver high quality, in-depth Online Lessons which complement what students learn in class.

About me

Hi

I'm an Electronic Engineering student at the University of York. I like to play basketball, tennis and go on surf trips. I'm also trying to learn to play the guitar.

I love using my technical skills in order to work on creative projects. My specialty is software programming, which I have enjoyed at an academic and proffesional level. I would love to have the oppertunity to help enthusiastic students start to learn about the things I'm interested in.

During sessions it's best if you have some idea of the area you want to go over. Then together we can look deeper into that area and try different approaches to find the ideal technique that helps develop understanding. Every student learns differently so sometimes finding the best learning process for the individual can be as valuable as learning the content itself.

I'm an Electronic Engineering student at the University of York. I like to play basketball, tennis and go on surf trips. I'm also trying to learn to play the guitar.

I love using my technical skills in order to work on creative projects. My specialty is software programming, which I have enjoyed at an academic and proffesional level. I would love to have the oppertunity to help enthusiastic students start to learn about the things I'm interested in.

During sessions it's best if you have some idea of the area you want to go over. Then together we can look deeper into that area and try different approaches to find the ideal technique that helps develop understanding. Every student learns differently so sometimes finding the best learning process for the individual can be as valuable as learning the content itself.

Find the sum of all multiples of 2 less than 10000

We are finding all the multiples of 2 less than 10000 so first it's a good idea to iterate over 10000.

For this we use a loop such as a for loop to check each number from 0 to 10000.

Then we need to check if the number we are iterating over is a multiple of 2. For this we need an if statement. One way to find a multiple of 2 is to use the modulus operator '%'. The modulus evaluates the remainder of two numbers for example 4 % 2 would evaluate to 0 as there is no remainder. This can be used to find the numbers that are multiples of 2.

Finally we need to sum these multiples. To store the sum we need to create a variable. Every time a number we are iterating over satisifies our if condition we must add it on top of whatever is already stored in our sum variable.

The final code might look something like this:

var sum = 0, i

for (i = 0; i < 10000; i++) {
if (i % 2 == 0) {
sum = sum + i
}
}

console.log(sum)

N.b notice that in standard js syntax no semicolons are used as line terminators and indentation is two spaces.

We are finding all the multiples of 2 less than 10000 so first it's a good idea to iterate over 10000.

For this we use a loop such as a for loop to check each number from 0 to 10000.

Then we need to check if the number we are iterating over is a multiple of 2. For this we need an if statement. One way to find a multiple of 2 is to use the modulus operator '%'. The modulus evaluates the remainder of two numbers for example 4 % 2 would evaluate to 0 as there is no remainder. This can be used to find the numbers that are multiples of 2.

Finally we need to sum these multiples. To store the sum we need to create a variable. Every time a number we are iterating over satisifies our if condition we must add it on top of whatever is already stored in our sum variable.

The final code might look something like this:

var sum = 0, i

for (i = 0; i < 10000; i++) {
if (i % 2 == 0) {
sum = sum + i
}
}

console.log(sum)

N.b notice that in standard js syntax no semicolons are used as line terminators and indentation is two spaces.

With MyTutor you can sign up and meet our tutors for free. You only ever pay for the Online Lessons you have. Online Lessons are an hour long and cost between £18 and £36, with 80% of Online Lessons priced between £18-£24. You can see how much each tutor charges on their profile. My Tutor also charges a small service fee of approximately 50 pence per Online Lesson.

You will meet your tutor in our Online Lesson Space where the two of you will have access to video, audio and text chat, as well as using our handy online whiteboard where you can share documents and use the drawing tools. Sessions are live and one-to-one, and they're even recorded so you can watch them back later for revision.