#include <iostream>
using namespace std;
#include <math.h>
#define M_PI 3.14159265358979323846
//Decription:
//This function inputs a point as (x,y,) co-rds
//inputs an angle
//rotates the point about the z-axis by the angle
//outputs the new rotated point - ONCE YOU'VE CODED IT!!!
int main(void)
{
	//P=(x,y)
	float x = 0;//x co-ord of point
	float y = 0;//y co-ord of point
	//Pnew=(xnew,ynew)
	float xnew = 0;//x co-ord of point
	float ynew = 0;//y co-ord of point
	
	float angle = 0; //rotation angle

//Input point to be Rotation
	cout << "Please enter a point (x,y)" << endl;
	cout << "Please  enter a value for x:";
	cin >> x;
	cout << "Please  enter a value for y:";
	cin >> y;

	//Input an angle
	
	cout << "Please  enter an angle in degrees:";
	cin >> angle;
	
	cout << "Angle of rotation is " << angle << " degrees"<<endl;

	//rotation calculation

	cout << sin(60.0  / 180 * M_PI)<<endl;


	//cout << "The rotated point Pnew=(" << xnew << ", " << ynew  ")" << endl;
	return 0;
}