 Numerical Analysis Questions

Subject Mathematics Numerical Analysis

Question

Check the file: Questions.pdf

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

1.

clear; clc; close all;
f=[-30;-30;-35];%Objective function coeff. which is maximization of profit or minimization of negative profit
A=[7 5 13;1 2 4;1 1 1];%Inequality constraints
b=[3000;1100;450];%RHS of inequality constraints
lb = zeros(3,1);%Lower bounds of the 3 variables
[x,fval,exitflag,output,lambda] = linprog(f,A,b,[],[],lb);%Solve the LP problem
fprintf('Optimized maximum profit is %8.4f for following weekly production.\nx1=%6.2f, x2=%6.2f and x3=%6.2f\n\nSolution is matching with the graphically solved solution.\n\n',-fval,x(1),x(2),x(3));...

This is only a preview of the solution. Please use the purchase button to see the entire solution

Related Homework Solutions

Numerical Approximation in Matlab \$163.00
Numerical Analysis
Numerical Approximation
Matlab
Equation Systems
Matrices
Corresponding Force
Geometry
Tables
Values
Built-In Functions
Summation
Approximations
First Derivative
Computation
Round-Off Error
Binary Num
Numerical Analysis Questions \$70.00
Mathematics
Numerical Analysis
Plots
Computer Science
Programming
Errors
Conditional Numbers
Relative Norms
Systems
Accuracy
Polynomials
Approximation
Factors
Codes
Numerical Analysis \$3.00
Mathematics
Numerical Analysis
Problems
Jacobi
Gauss-Seidel
Formula
Numerical Integration Using Matlab \$98.00
Numerical Analysis
Integration
Intervals
Matlab
Integrals
Simpson's Rule
Points
Romberg Integration
Functions
Statements
Accuracy
Numerical Analysis Questions \$8.00
Numerical Analysis
Functions
Polynomials
Proofs
Theorems
Functions
Points
Symmetry
Constants
Statements
Sums
Numerical Methods \$50.00
Mathematics
Numerical Methods
Matlab