Question: I need a matlab code to solve for this problem. L7.1 Pig O solutions submitted (max: Unlimited) You are running a pig farm and there

I need a matlab code to solve for this problem.
I need a matlab code to solve for this problem. L7.1 Pig

L7.1 Pig O solutions submitted (max: Unlimited) You are running a pig farm and there is a pig weighting 200 lbs now. Suppose the cost of raising this pig is 45 cents per day, and the price for this pig on the market is 65 cents per pound now but the price is decreasing for 1 cent per day. According to your many years experience you know the weight of the pig is going to increase with time as 2000.0221 where t is time in days. In how many days should you sell your pig? Write a script to answer this question and store your result in a variable T. Give the result with 6 accurate significant digits. I can tell you this number should be less than 12. Script e 1 % Do NOT use 'clear' in your code! Save your result in variable 'T

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!