logo

Crowdly

Consider the following function: There are 22 roots of this equation (wh...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Consider the following function:

There are 22 roots of this equation (where y = 0) for x = [0, 40].

Write a script that will calculate and store all roots of the equation within this domain, and then calculate the sum of all of these values. Your final answer is this sum of all the roots, given to at least 4 decimal places (i.e. if your roots were at x = [1, 2, 3, 4], your answer should be 1 + 2 + 3 + 4 = 10.0000).

Hint: you may wish to use a modified version of your false-position method function

More questions like this

Want instant access to all verified answers on learning.monash.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!