Top answers

All subjects
All levels

Use recursion to print all the sublists of a given list

def withoutIndex (lst, i): return lst[ : i] + lst[i + 1 : ]def printSublists(lst): print(lst) for i in range(len(lst)): printSublists(withoutIndex(lst, i))printSublists([1, 2, 3])

NM
Answered by Nikolai M. Python tutor
1420 Views

Find y if dy/dx = y² sec²(x), given that y(0) = 1

1/y² dy/dx = sec²(x)∫ 1/y² dy/dx dx = ∫ sec²(x) dx-1/y + C1 = tan(x) + C2y = -1/(tan(x) + A) where A = C2 - C1y(0) = -1/A so y(0) = 1 means A = -1. Finished!

NM
Answered by Nikolai M. Maths tutor
3229 Views

Expand the brackets (3x^2 + 6x + 7)(x - 3)

To help the student understand how to expand the brackets I would start by splitting the equation to:3x2(x - 3) + 6x(x - 3) + 7(x - 3)I then would ask the student to expand these brackets to:3...

JD
Answered by Jasmine D. Maths tutor
3027 Views

what is palaeomagnetism

Palaeomagnetism deals with the past magnetic states of the earth. In the 1900's geographers were interested in the mid Atlantic ridge, its on a constructive plate margin, meaning the crust further away fr...

AW
Answered by Alex W. Geography tutor
3911 Views

Name 3 organelles found in animal cells.

Rough endoplasmic reticulum, Mitochondria, Golgi apparatus

DF
Answered by Darragh F. Biology tutor
2318 Views

We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences