Week 10 - Manipulate

Question 1

a) Plot tan(x) from 0 to 2π.

b) As shown in the video, now generalise the plot from part ‘a’ by creating a manipulate of tan(a*x) with ‘a’ ranging from 1 to 5.

Question 2

a) Solve the differential equation y’(x)= b*y(x) with the intial condition y(0)=1.

b) Set the answer from the differential equation as a function depending on x and b.

c) Plot this solution with x over the interval 0 to 5 and b=2.

d) Over the same range of x now use that manipulate command to vary b from 0 to 3.