Name: Muddasir Jawed 20191-
26717
Assignment
Optimization
Optimization is defined as maximization or minimization of a function relative
to some set often representing a range of choices available on a certain solution.
The function allows comparison of different choices for determining which
might be the “best". Basically, Optimization is act of making something (such
as a design, function, or decision) as fully perfect, functional, and effective as
possible. These are some of the common functions of optimization:
● Minimal cost, Maximum profit, Minimal error, Optimal design, Optimal
management, and Variation principle
These are the certain ways on which we apply optimization.
Optimization is also applied on slope, as it shows change in Y variable due to
change in X variable.
(Slope) m= dY/dX
m= (Y2-Y1)/(X2-X1)
We can also find slope using some other ways as well.
Finding a slope
If f(x) is the derivative of f(x) input the x-value of the point of f(x) having
f(x)=X2, then the derivative is f'(x)= 2X.
To find the slope of X2 at the point (3,9), put the x value of the point into the
derivative f'(3) = 2×3=6
So, at (3-9) the function is sloping upwards 6 units.
This is also one of the ways to find the slop.
Types of Derivatives:
● Total Derivative: It is a function at a point is the best linear
approximation near this point of the function with respect to its
arguments. The total derivative is primarily used when ‘f’ is a function,
and the total derivative is the same as derivative of a function.
Example
1. Y=3x2
dy/dx =3[(2x2-1)]
=3[2x]
=6x
2. Y=4x3
dy/dx=4(3x3-1)
=4(3x2)
=12x2
In this equation y variable is depend on X variable. On the basis of X variable,
we can find that how much change in y variable has occurred.
2) Partial derivates
Function of several variable and its derivative with respect to one of those
variables while keeping the remaining variable constant. Partial derivates are
used on vector calculus and differential geometry.
y=f(x,z) =x2 +xz+z2
dy/dx = 2x +z
dy/dz= x+2z
There are some other ways to find the slope which is graphical analysis on
which sets of data and find the line of best fit and to identify and interpet slope
any y intercept Of The line.
The equation of a linear line is
Y=mx+b
The y intercept is where the line crosses, the y axis.
The y intercept will have units of the y axis.