import math


def determine_num_particles(pack_frac, num_vertices):
    """Return the number of model particles to be created
    based on the packing fraction"""
    
    num_particles = num_vertices * pack_frac
    num_particles = int(math.ceil(num_particles))
    
    return num_particles