Firstly, my question is not Python related, but maths A-level related. I don't know how to change that in my profile but I would like to only tutor maths GCSE and potentially A-level. My question: Integrate sin(x)^3 over x=0 and x=pi/2.

I Cant write up my solution without LaTeX (markup language for mathematical text) and can't seem to find a way to use the whiteboard, so I shall try to explain my answer, and show my answer exactly if need be during the interview.
answer:re-write sin3x as sinxsin2x. Then using the identity of (sinx)^2+(cosx)^2=1, make the relevant substitution. I then expanded the brackets of the sinx. I then integrate sinx as normal and for the sinx(cosx)^2 I use the chain rule. I then evaluate the integral at the limits and obtain 2/3 as the answer.

AS
Answered by Arjun S. Python tutor

1224 Views

See similar Python Mentoring tutors

Related Python Mentoring answers

All answers ▸

What is the difference between a FOR loop and WHILE loop and how do I write them?


Write a simple Python program that asks a user to input their age and name and then return the text: "Hi my name is *NAME*, and I am *AGE* years old."


Create a program that checks for syntactical errors in an email address.


Define a function that takes in the age of the user and adds it to an output sentence such as "You are ..... old".


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning