BaşlayınÜcretsiz Başlayın

Partial derivatives with SymPy

You are an economist working for an automotive company. Your manager has modeled the production process as a function of the number of machines \(K\) and the number of workers \(L\) to produce \(F = -3K^2 + 100K - \frac{1}{2}L^2 + 100L\) cars. This is your multivariate objective function. You'll need to use partial derivatives to optimize this function.

symbols, diff, and solve have been loaded for you.

Bu egzersiz

Introduction to Optimization in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Define symbols K, L
K, L = ____(____)

F = -3*K**2 + 100* K - (1/2)*L**2 + 100*L
Kodu Düzenle ve Çalıştır