Top answers


Write a recursive function to find the factorial of a number n.

def factorial(n): if n == 1 or n == 0: return 1 else: return n * factorial(n-1)
MB
Answered by Micah B. Python tutor
1628 Views

In a class of 28 students, the average height of the 12 boys is 1.58 metres. The average height of the class is 1.52 metres. What is the average of the girls?

If we take x to be the total heights of the all the boys (1.58 * 12) be x and y to be the total height of all the students (1.52 * 28) then we may define the total heights of the girls, z, as y – x. If we di...
MB
Answered by Micah B. Maths tutor
11056 Views

One apple costs 0.56p, if i wanted 12 Apples what would be my total?

Method1) 1 Apple = £0.56 10 Apples = £0.56 x 10 = £5.60 I want 12 Apples, so 10 Apples = £5.60 + 1 Apple = £0.56 + 1 Apple = £0.56 + Total: 12 Apples = £6.72 Method 2) 0.56 x 12 = £6.72 - Grid method multipl...
AM
Answered by Aqeeb M. Maths tutor
2343 Views

. “¿Qué adelanto científico del futuro, por ejemplo la manipulación genética, la exploración espacial o la creación de nuevas fuentas de energía, mejorará más la condición humana?” Discuta.

Personalmente, opino que la creación de nuevas fuentes de energía no será la solución para mejorar nuestras condiciones futuras. Por el contrario, apostaría por el uso más frecuente de energías renovables, c...
AM
1865 Views

Simplify the Equation, 60x+20y-4x-10y

60x+ 20y - 4x -10y Step 1 ) collate the X's together = 60x -4x = 60-4= 56 add the x = 56x Step 2) collate the Y's together = +20y - 10y = +20 -10 = +10 add the y = +10yStep 3) add answers to step 1 and 2 tog...
AM
Answered by Aqeeb M. Maths tutor
2901 Views