Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi there I need help with 3 problems The first is 1. Thor, a fitness trainer, has an exercise regimen that includes running, swimming, and

Hi there I need help with 3 problems

The first is

1. Thor, a fitness trainer, has an exercise regimen that includes running, swimming, and walking. He has no more than 12 hours per week to devote to exercise, including at most 4 hours running. He wants to walk at least three times as many hours as he swims. Thor will burn on average 528 calories per hour running, 492 calories per hour swimming, and 348 calories per hour walking. Using Python, calculate how many hours per week Thor should spend on each exercise to maximize the number of calories he burns, as well as the maximum number of calories he will burn. (Hint: Write the constraint involving walking and swimming in the form 0.)

The answer i got is: x1=4, x2=8, x3=0 and z=6048 which doesnt work because of the "He wants to walk at least three times as many hours as he swims". I need help setting it up maybe?

Next is:

2. To be at his best as a teacher, Phil needs at least 10 units of vitamin A, 12 units of vitamin B, and 20 units of vitamin C per day. Pill #1 contains 4 units of A and 3 of B. Pill #2 contains 1 unit of A, 2 of B, and 4 of C. Pill #3 contains 10 units of A, 1 of B, and 5 of C. Pill #1 costs 6 cents, pill #2 costs 8 cents, and pill #3 costs 1 cent. How many of each pill must Phil take to minimize his cost?

I think I did the one correctly I got x1=0, x2=0, x3=12 and z=12

and finally:

A plant food is made from three chemicals, labeled I, II, and III. In each batch of the plant food, the amounts of chemicals II and III must be in the ratio of 5 to 3. The amount of nitrogen must be at least 29 kg. The percent of nitrogen in the three chemicals is 8%, 4%, and 5%, respectively. If the three chemicals cost $1.03, $0.83, and $0.68 per kilogram, respectively, how much of each should be used to minimize the cost of producing at least 650 kg of the plant food?

I just need help correctly setting this one up.

Thanks!

Also, I do have a deadline of Saturday Oct 24 and 11:59

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Algebra Math 1st Grade Workbook

Authors: Jerome Heuze

1st Edition

979-8534507850

More Books

Students also viewed these Mathematics questions