Top answers


Jill and four friends go camping together for 5 days. The friends share the cost of the trip equally. These costs are: £120 for fuel, £58 for food, £100 for equipment and £207 for activities. How much does Jill have to pay for her share of the costs?

The first thing we need to realise that the cost of the trip is going to be split between 5 people (Jill + 4 friends). As they are all sharing the cost of the trip equally, we need to find the total cost of ...
LD
Answered by Lauren D. • Maths tutor
3552 Views

Prove by induction that f(n) = 2^(k + 2) + 3^(3k + 1) is divisible by 7 for all positive n.

First we establish our base case: f(0) = 2 2 + 3 1 = 4 + 3 = 7, so clearly f(0) is divisible by 7.Now. by the inductive hypothesis. we assume that f(k) is divisible by 7, and attempt to show that this implie...
WP
3851 Views

How do you define a class in python

Here's a simple example of a class:class Animal: def init (self, name, noise): self.name = name self.noise = noise def make_noise(self): print(self.noise) here init is the "initializer" (or sometim...
WP
Answered by William P. • Python tutor
2044 Views

how do I solve the equation x^2 + 7x + 11 = 0, to 3dp?

This is a quadratic equation and there are three ways to solve one. This question specifies that the answer should be left to three decimal places. This tells you that you can not factorise, as your answer w...
JD
Answered by Jamie D. • Maths tutor
5782 Views

Let f (x) = 5x and g(x) = x2 + 1 , for x ∈  . (a) Find f-1(x) . (b) Find ( f ° g) (7) .

a,y=5xfinding the inverse: x=5y - dividing by 5 (1/5)x=y f -1 (x)=(1/5)x b,5x(7 2 +1)=250
Answered by • Maths tutor
2430 Views