Top answers


Give a segment of python code that will print the numbers 1 to 7, each one on a new line

for x in range(1,8) : print(x) The range(1,8) function gives us an array of numbers from 1 to 7. The number on the right is the upper bound of the numbers which is why only 1 to 7 is returned.From here, a fo...
JC
Answered by Jamie C. Python tutor
4166 Views

Given that y = x^2 +2x + 3, find dy/dx.

We use a typical rule for polynomials in the form y = a x b , where a and b are real numbers. Also, for a polynomial equation y = a x b +c x d +.... , dy/dx = d( a x b )/dx + d(c x d )/dx + ...With this info...
JC
Answered by Jamie C. Maths tutor
6171 Views

How to differentiate e^x . sin(x)

e x sin(x) is a product of two functions: e x and sin(x). This means we can use the product rule. Let e x = u and sin(x) = v The differential of uv is u'v + v'u where u' and v' are the two functions differen...
BW
Answered by Brent W. Maths tutor
45004 Views

A bag contains only apple and oranges. The probability an apple is picked randomly is 1 in 5. The apple is returned, and five more apples are added to the bag. The probability of an apple being picked is now 1in 3. How many apples were there originally?

2 simultaneous unknown equations. Let x be the number of apples originally, and n the number of fruits in the bag in total originally. i) first scenario, where probability is 1/5, x/n = 1/5 5x= n ii) second ...
CL
Answered by Chloe L. Maths tutor
4241 Views

Using examples, describe and explain how erosion results in the formation of two coastal landforms.

Coastal erosional landforms are commonly found in high energy environments, where large waves, strong winds and tidal currents drive erosion. There are a number of different mechanisms which cause erosion, i...
JB
Answered by James B. Geography tutor
8610 Views