Answer To: Theory (40 points) 1. The cost per day of running a hospital is 200,000 +0.002x2 dollars, where x =...
Sampad Swarup answered on Nov 04 2021
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Subjective"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"1."
]
},
{
"cell_type": "raw",
"metadata": {},
"source": [
"cost_per_day = 200000 + 0.002*x*x\n",
"x = number_of_patient\n",
"let y is a function that calculate cost per capita\n",
"then \n",
"y = cost_per_day /x \n",
"to find min or max y we have to find the equetion of the slope of the function and equate it to zero so we can find the min and max values.\n",
"So \n",
"dy/dx = 0\n",
"=> -200,000/x**2 + 0.002 = 0\n",
"=> x = 10,000\n",
"\n",
"To check whether the value is a minima or maxima we have to take the derivative of the slope and put the value we got from our first derivative.\n",
"\n",
"z = d/dx(dx/dy)\n",
"=> z = d/dx(-200,000/x**2)\n",
"=> z = 400,000/x**3 \n",
"\n",
"then at 10,000 the z is positive so it is the minima of the function \n",
"\n",
"Hance for 10,000 patient the cost per capita will be minimum."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"2."
]
},
{
"cell_type": "raw",
"metadata": {},
"source": [
"a = price_of_adv\n",
"p = price_per_unit\n",
"\n",
"total_unit_sell = 1000 - 100p + 20*a**1/2\n",
"manufacture_cost_per_unit = 6$\n",
"profit_per_unit = p-6\n",
"\n",
"total_profit = total_unit_sell * profit_per_unit\n",
"total_profit_fun = (1000 - 100p +...