Instructions
An empty cell after each question and each exercise is for your answer. If you need more cells for your answer, use Insert menu option.
Solution to any exercise that involves a function made by you should be tested on an example of your choice.
The phrase "make a CAS function" means "make a SageMath function."
Q2.
Use SageMath interactively to find the scalar projection of the vector on the direction of the vector
Q3
Construct a polynomial function that has a double root and plot the function.
Q4
Define the basin of attraction of a fixed point. Check that the point is the fixed point of the iteration problem Find the basin of attraction of this point.
Q5
Write the differential of the function at the point
Q6
Determine if the functions and are antiderivatives of the same function.
Exercises
E1
Make a CAS function my_PPT(s, t) that takes two odd mutually prime integers with and and returns corresponding PPT. Include a verification of the mutual primality of and Verification of the inequality conditions is not required in your code.
E2
Make a CAS function that takes the general equations of two lines, and checks if the lines are parallel. If true, the function returns the distance between the two lines. If false, the function returns zero.
E3
Make a CAS function that finds all roots of a number and plots the k-gon with vertices at the roots.
E4
Approximate the change in the radius of the base of a cone of height needed to increase the cone volume by 10%.
E5
Plot the curve
Find the area bounded by the curve.
E6
Consider a 2π-periodic function defined on as Find the partial sum of the Fourier series for this function.
Plot the function and the trigonometric polynomial that you constructed in one figure.