Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please write in c++, and take a screenshot of the output. You will employ each of these methods to solve each of the following three
please write in c++, and take a screenshot of the output.
You will employ each of these methods to solve each of the following three problems to find the area under the respective curves over the interval (-1, 1).
The following is a plot of the first function f(x) = 1 - sin(1 - x) 1-sin(1-x) 101 08 0.8 04 0.2 -10 -0.5 0.5 1.0 The true area under the above curve is (to 20 digits) 0.58385316345285761300. The following is a plot of the second function f(x) = sqrt(x + 1) + 1 V*+1+1 3.0 2 2.51 1.5 ch 1.0 0.5 5 -10 0.5 1.0 -0.5 0.0 Shown with Lobatto Spacing The true area under the above curve is (to 20 digits) 3.8856180831641267317 The following is a plot of the third function f(x) = tanh(x+1) tanh( X + 1) 1.0 . 0.8 0.6 0.4 0.2 N - 1.0 -0.5 0.5 1.0 The true area under the above curve is (to 20 digits) 1.3250027473578644309 The following is a plot of the first function f(x) = 1 - sin(1 - x) 1-sin(1-x) 101 08 0.8 04 0.2 -10 -0.5 0.5 1.0 The true area under the above curve is (to 20 digits) 0.58385316345285761300. The following is a plot of the second function f(x) = sqrt(x + 1) + 1 V*+1+1 3.0 2 2.51 1.5 ch 1.0 0.5 5 -10 0.5 1.0 -0.5 0.0 Shown with Lobatto Spacing The true area under the above curve is (to 20 digits) 3.8856180831641267317 The following is a plot of the third function f(x) = tanh(x+1) tanh( X + 1) 1.0 . 0.8 0.6 0.4 0.2 N - 1.0 -0.5 0.5 1.0 The true area under the above curve is (to 20 digits) 1.3250027473578644309Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started