so i got a project from my college to make a calculator including numerous things. everything was done but at the last moment my teacher refused the use of sin() function and asked us to make it manually and not use the sin() function.
please i need help in creating the new code. with a deadline of less than 24 hours. thank you so much in advance.
here is the part of code that needs the change, we need to eliminate the use of sin() function.
r=n1*(M_PI/180);
v= sin(r);
printf("%f",v);