user
Create a function to calculate the total cost of a book order, given the unit price, quantity, shipping cost, and tax rate.
Unit Price: 10.99
Quantity: 3
Shipping Cost: 5
Tax Rate: 0.03

assistant
def calculateCost(unitPrice, quantity, shippingCost, taxRate): 
    totalPrice = (unitPrice * quantity) + shippingCost
    totalTax = totalPrice * taxRate
    totalCost = totalPrice + totalTax
    return totalCost