Top answers


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
1904 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
5465 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
2328 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
12400 Views

Translate the following text into German

I come from Leipzig, a city in the east of Germany. Before I was born, Germany was divided - the Federal Republic of Germany and the German Democratic Republic. There were two different political systems in ...
Answered by German tutor
1949 Views