If someone wants to try that calculation here is the code for it:

Code:

#include <iostream>
#include <math.h>
using namespace std;

inline void michael_calculation(double x, double y, double z) {
double temp = sqrt( x*x+y*y*cos( y)/sin( x)*z*z+y*y)/sqrt(2);
cout << temp << endl;
}

int main() {
double x = 0;
double y = 0;
double z = 0;
cout << "Please enter a number for x: ";
cin >> x;
cout << "Please enter a number for y: ";
cin >> y;
cout << "Please enter a number for z: ";
cin >> z;
michael_calculation(1.0,1.0,1.0);
}



though the result is always 1.14937...