def set_parameter(L=2, k=0.5, q=1000, TA=100, TB=200, nodes=5, A=1):
    """
    Set parameter/variable of case 4.2. Default value: 
    (L=2, k=0.5, q=1000, TA=100, TB=200, nodes=5, A=1)
    
    args:
        L: length (cm) 
        k: constant thermal conductivity (W/m.K)
        q: uniform heat generation (kW/m^3)
        TA: temperature at faces A (Celcius)
        TB: temperature at faces B (Celcius)
        nodes: nodes of control volume
        A: Area (m^2)
    
    return:
        list of (L, k, q, TA, TB, nodes, A, dx)
    
    examples:
        set_parameter(nodes=10) 'Use default parameter except nodes'
    """
    # Set to meter unit
    L = L/100
    q = q*1000
    
    return L, k, q, TA, TB, nodes, A