Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Each group of commands and outputs included in the Word file MUST NOT be edited.

[A word problem involving Linear Algebra in MATLAB]

You wish to prepare a meal containing certain amounts of fat, carbohydrate and protein. Your ingredients are yogourt, flax, and bran. You carefully read the package labels and determine the following information:

Yogourt flax Bran
Per 125 Per 13g Per 15g
Fat : 1g 4.5g 0.5g
Carbohydrate:8g 4g 10g
Protein: 5g 3g 2g

For example 125g of yogourt contains 5g of protein.

You now wish to prepare a dish that will contain 5g of fat, 40g of carbohydrate and 15g of protein.

Your task is to find the amount of yogourt, flax, and bran that will have the appropriate total amounts of fat, carbohydrate and protein.

1. Re-state the table above in terms of the ratios of fat, carbohydrate and protein that are found respectively in yogourt, flax, and green lentils. For example, there is 5g of protein in 125g of yogourt, so the ratio is 0.04 (=5/125) Use one or more MATLAB calculations, and keep 4 significant digits.
2. Define your UNKNOWN variables, by hand. Explain any assumptions about units.
3. Set up the equation in terms of a system of simultaneous equations, written by hand, not in MATLAB
4. EXPLAIN how you obtain each equation, using a combination of words, variables and numbers.
5. Write the system of equations in MATLAB with comments.
6. Define your unknown vector in terms of the unknown variables in #2
7. Solve the system of equations using MATLAB.
8. Check your work using MATLAB. Note: parts 5-8 should consist of one contiguous unedited chunk of MATLAB comments, code and output
9. State the values of each variable found.
10. Interpret the output in terms of the problem domain, to state your overall answer.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9651604

Have any Question?


Related Questions in Computer Engineering

Question please submit your draft apa-formatted research

Question: Please submit your draft APA-formatted research papers through this assignment page. You will have until the end of Week #4 to submit a draft of your paper for consideration as extra credit. This is Part 1 of t ...

Phosphorus pentachloride decomposes according to the

Phosphorus pentachloride decomposes according to the chemical equation PCl5 (g) ---------> PCl3 (g) + Cl2 (g) Kc = 1.80 at 250 degrees C A 0.361 mol sample of PCl5(g) is injected into an empty 4.80 L reaction vessel held ...

Today is your 35th birthday and it occurs to you that your

Today is your 35th birthday and it occurs to you that your current retirement savings may be insufficient to maintain for you the lifestyle to which you have become accustomed. • The value of your retirement account toda ...

Question suppose that an application has m input variables

Question : Suppose that an application has M input variables and that each variable partitions the input space into N equivalence classes. The multidimensional partitioning approach will divide the input domain into how ...

Need help with a java program that takes two arrays a and b

Need help with a Java program that takes two arrays a and b of length 5 storing int values, and returns the dot product of a and b. That is, it returns an array c of length n such that c[i]=a[i]*b[i].

A researcher working at a particular company wants to know

A researcher working at a particular company wants to know if workers' health would improve if they were given extra days 'off. In this company, all workers undergo a standard physical exam twice a year and after each ex ...

Please respondwhat are some other ways to troubleshoot

PLEASE RESPOND What are some other ways to troubleshoot reduced speed or latency? Or to find out what is using all the bandwidth? Perhaps might incorporate parts of this into own three issues.

Python programmingplease i would like some help in checking

Python programming Please I would like some help in checking if my source code for is susceptible to short-circuit evaluation.I don't need answers, I just need corrections. The source code is to check the integer parts o ...

Please respondexplain the properties and characteristics of

PLEASE RESPOND Explain the properties and characteristics of Transmission Control Protocol/Internet Protocol (TCP/IP).

Calculate the probability of selecting a random sample of

Calculate the probability of selecting a random sample of 225 observations with a sample proportion of 0.54 or greater, if the sample population has a population proportion of 0.50.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As