Top answers


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
3518 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
1863 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
5404 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
2315 Views

Differentiate f = ln(x^2 + 1) / (x ^ 2 + 1).

We'll apply the quotient rule using "u = ln(x 2 + 1)" and "v = x 2 + 1". First we'll need to calculate u' and v'.Using normal differentiation rules, we can see "v' = 2x". Now th...
WP
Answered by William P. Maths tutor
12359 Views