MIPS Taylor Series sine

Taylor Series for Sin Description
Write a program that takes an input floating-point number and calculates the sine of that number using the Taylor Series expansion. Your program should display the output value.
The Taylor series expansion for sine is:
We will first give you an integer number , you should regard it as the number of terms in your Taylor Series Expansion calculation.
After that, we will give you a floating-point number . You can use the above formula to calculate the sine of a number by adding up the terms of the series until the number of terms equals .
Then, output the latest sum.
ALL NUMBERs in the calculation as well as IO should be taken as float (single- precision) . And please use the above methods to calculate.
The number of terms is calculated by counting the terms in the Taylor Series Expansion. For example, if and , then your Taylor Series Expansion should be:
Sample inputs and outputs Input #1
0.84147096

Programming Help
-0.9874984
Code Help