1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Drupady [299]
4 years ago
8

Develop an M-file to implement parabolic interpolation to locate a minimum. The function should have the following features:____

___. A• Base it on two initial guesses, and have the program generate the third initial value at the midpoint of the interval. B• Check whether the guesses bracket a maximum. If not, the function should not implement the algorithm, but should return an error message. C• Iterate until the relative error falls below a stopping criterion or exceeds a maximum number of iterations. D• Return both the optimal x and f(x).Use a bracketing approach to replace old values with new values.
Mathematics
1 answer:
Natali [406]4 years ago
8 0

Answer:

b

Step-by-step explanation:

b

You might be interested in
5. If two angles are complementary and one angle is 40°, what is the other angle?
Strike441 [17]

5. complementary angles = 90°

90 - 40 = 50

50°

6. supplementary angles = 180°

180 - 40 = 140

140°

5 0
3 years ago
Read 2 more answers
If 4 - 7x = 39 then what is the value of x + 1
Lady bird [3.3K]
4-7x=39
-4 = -4
7x=35
÷7. ÷7
35 divided by 7 equals 5. Therefore x=5. So, 5+1=6
Your final answer is 6.
8 0
4 years ago
I'm doing a task which involves magic v's, a maths pattern which has the rule of having the same total on each side. For e.g.
iogann1982 [59]

Answer:

--1-- (of set 23456)

2   4

5 3

 6

--2-- (of set 23456)

2   3

5 4

 6

--3-- (of set 23456)

2   5

6 3

 4

--4-- (of set 23456)

2   3

6 5

 4

--5-- (of set 23456)

3   5

4 2

 6

--6-- (of set 23456)

3   2

4 5

 6

--7-- (of set 23456)

3   6

5 2

 4

--8-- (of set 23456)

3   2

5 6

 4

--9-- (of set 23456)

3   5

6 4

 2

--10-- (of set 23456)

3   4

6 5

 2

--11-- (of set 23456)

4   5

3 2

 6

--12-- (of set 23456)

4   2

3 5

 6

--13-- (of set 23456)

4   6

5 3

 2

--14-- (of set 23456)

4   3

5 6

 2

--15-- (of set 23456)

5   4

2 3

 6

--16-- (of set 23456)

5   3

2 4

 6

--17-- (of set 23456)

5   6

3 2

 4

--18-- (of set 23456)

5   2

3 6

 4

--19-- (of set 23456)

5   6

4 3

 2

--20-- (of set 23456)

5   3

4 6

 2

--21-- (of set 23456)

6   5

2 3

 4

--22-- (of set 23456)

6   3

2 5

 4

--23-- (of set 23456)

6   5

3 4

 2

--24-- (of set 23456)

6   4

3 5

 2

--1-- (of set 34567)

3   5

6 4

 7

--2-- (of set 34567)

3   4

6 5

 7

--3-- (of set 34567)

3   6

7 4

 5

--4-- (of set 34567)

3   4

7 6

 5

--5-- (of set 34567)

4   6

5 3

 7

--6-- (of set 34567)

4   3

5 6

 7

--7-- (of set 34567)

4   7

6 3

 5

--8-- (of set 34567)

4   3

6 7

 5

--9-- (of set 34567)

4   6

7 5

 3

--10-- (of set 34567)

4   5

7 6

 3

--11-- (of set 34567)

5   6

4 3

 7

--12-- (of set 34567)

5   3

4 6

 7

--13-- (of set 34567)

5   7

6 4

 3

--14-- (of set 34567)

5   4

6 7

 3

--15-- (of set 34567)

6   5

3 4

 7

--16-- (of set 34567)

6   4

3 5

 7

--17-- (of set 34567)

6   7

4 3

 5

--18-- (of set 34567)

6   3

4 7

 5

--19-- (of set 34567)

6   7

5 4

 3

--20-- (of set 34567)

6   4

5 7

 3

--21-- (of set 34567)

7   6

3 4

 5

--22-- (of set 34567)

7   4

3 6

 5

--23-- (of set 34567)

7   6

4 5

 3

--24-- (of set 34567)

7   5

4 6

 3

Step-by-step explanation:

This javascript code is extremely brute-force, but it does the job:

function checkIfInSet(i, set) {

   return i.toString().split('').sort().join('') === set;

}

function checkIfMagic(s) {

   return (parseInt(s[0]) + parseInt(s[1]) == parseInt(s[3]) + parseInt(s[4]))

}

function printMagic(s) {

   console.log(`${s[0]}   ${s[4]}`);

   console.log(` ${s[1]} ${s[3]}`);

   console.log(`  ${s[2]}\n`);

}

function checkSet(set) {

   let counter = 1;

   for(let i=1; i<99999; i++) {

       if (checkIfInSet(i, set) && checkIfMagic(i.toString())) {

           console.log(`--${counter++}-- (of set ${set})`);

           printMagic(i.toString());

       }

   }

}

checkSet('23456');

checkSet('34567');

6 0
3 years ago
If EF = 2x+13, FG = 20, and EG = 71 what's the value of x​
klemol [59]

Answer:

<h2>x = 19</h2><h2></h2>

Step-by-step explanation:

|<----------------- 71 ----------------------->|

E-----------------------F---------------------G

       2x + 13                 20

find: x

EF + FG = DG

2x + 13 + 20 = 71

2x = 71 - 20 - 13

x = 38 / 2

x = 19

6 0
3 years ago
James wants to compete in the international speed texting competition next year where participants compete on text speed and acc
lions [1.4K]

Complete question :

James wants to compete in the international speed texting competition next year where participants compete on text speed and accuracy. James’s current text speed is 2 characters per second. James has found that his texting speed increases at a rate of 1⁄2 a character per second for each month that he practices.

1. a. What is James’s new texting speed if he practices for only 1 month? __________

b. What is James’s new texting speed if he practices for 2 months? ____________

c. What is his new texting speed if he practices for 3 months? _____________

d. Write an algebraic equation that gives James’s texting speed s for m months of

practice.

Answer:

2 1/2 ; 3, 3 1/2 ; s = 2 + 1/2m

Step-by-step explanation:

Given that :

Speed = 2 characters per second

Rate of change = 1/2 character per second increase per month

New texting speed after 1 month :

Initial speed + (change per month * number of months)

2 + 1/2 * 1

= 2 1/2 or 2.5

After 2 months :

Initial speed + (change per month * number of months)

2 + (1/2 * 2)

2 + 1

= 3 characters per second :

After 3 months :

Initial speed + (change per month * number of months)

2 + 1/2 * 3

= 2 + 1.5

= 3.5

For the algebraic equation :

New texting speed, s

Number of months, m

Initial speed + (change per month * number of months)

s = 2 + 1/2 * m

s = 2 + 1/2m

4 0
3 years ago
Other questions:
  • What is 28.96 x 9.41?<br><br> what is 63.7 x 2.5?
    11·2 answers
  • $20 earns $0.80 in interest. What is the percent interest?
    11·1 answer
  • 8. The quotient of two<br> numbers subtracted from 20
    5·1 answer
  • Pleaseeeeeee. Helpppppppppppp meeeeeeeeeeee
    12·1 answer
  • How do you find the mode if two numbers like 21 has 21 twice and 34 has that twice
    11·1 answer
  • Evaluate 7 + (-3x^2) for x = 0.
    15·1 answer
  • The price of an 8​-minute phone call is ​$2.80. What is the price of a 14​-minute phone​ call?
    9·2 answers
  • Erin and Aimee are each responsible for mowing half of their back yard. the yard is rectangular with dimensions 75 feet by 90 fe
    6·1 answer
  • Does anyone know the bottom answer please
    11·1 answer
  • Plan out an experiment that you could use to demonstrate experimental and theroretical probability
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!