import math


def uni_comp_strength(c, Phi):
    """
    calculates and returns the Uniaxial Compressive Strength of the rock given Cohesion (c) and Friction Angle (Phi).
    """
    return (2*c*math.cos(math.radians(Phi)))/(1-math.sin(math.radians(Phi)))