Using python it can be done using SciPy library
And quad function can be used for general purpose integration
Code without comments(Python 3.6)
***refer to the attached snapshot for indentation***
DO NOT JUST COPY PASTE THE CODE BELOW
=================================================================
from scipy.integrate import quad
import math
def integrand(x):
return 1/(1+(x**4))
ans,err = quad(integrand,1,math.inf)
print(ans)
=================================================================
Code with comments:
=================================================================
#import quad from scipy.integrate
from scipy.integrate import quad
#import math for using the 'inf' value
import math
#function which will return the integrand
def integrand(x):
return 1/(1+(x**4))
#quad returns 2 values the answer and the error
#and it takes 3 arguments - first is integrand
#second is the lower limit of integration
#and third is upper limit of integration
ans,err = quad(integrand,1,math.inf)
#display the answer
print(ans)
=================================================================
Snapshot
Sample OUTPUT
Excel
for integration we need special functions which are not available by default. You need to download the add ins.
download excel lab calculus add in from the below link if not already installed.
it will ask to create an account, remember your id and password after creating the account as it will be needed at the time of installation.
It gives a free 15 day license, for further use you need to buy it.
you will probably need to download the 32 bit installer
after its downloaded install it. For activating the add in you may need to go to the location where you have installed excel lab and open the file ExcelLab inside bin folder.
LINK=>https://excel-works.com/order/downloadlnk
Once everything is set, you can proceed as follows:
first enter your function after the equals
here x1 is the variable
after you press enter this value will actually become 1, dont worry about that
now use the function quadf
write =quadf(
write the parameters
1st parameter is the function to be integrated
2nd is the variable of integration
third is lower limit
and 4th is upper limit
press enter
O. 1 1+x4 Note the exact value is 0.24375 calculate with excel and python
write a function in jupyter notebook in python that calculate the # exact derivative value of f(x) = sin^3(x) at x = 1/5
Evaluate S8 Sep 18 13 14 1 dxdy Y 1+x4 Give exact answer only
Determine whether the equation is exact. If it is, then solve it. (4x®y+8) dx + (x4 - 5) dy = 0 Select the correct choice below and, if necessary, fill in the answer box to complete your choice. = C, where is an arbitrary constant. O A. The equation is exact and an implicit solution in the form F(x,y) = C is (Type an expression using x and y as the variables.) OB. The equation is not exact.
1. Use an identity to find the exact value of cos(?) given that cos(O) = { with 270° << 360°
1 sine = 8,0<o< , find the exact value of each of the following. (a) sin (20) (b) cos (20) (c) sin 2 (d) cos 8 2 (a) sin (20) = (Type an exact answer, using radicals as needed.) (b) cos (20) = (Type an exact answer, using radicals as needed.) 0 2 (Type an exact answer, using radicals as needed.) (c) sin 0 (d) cos 2 (Type an exact answer, using radicals as needed.)
Let X1,X2,X3,X4 be four Normal(μ=1,σ=1) variables. Calculate Pr(X1−X2>X3+X4)
2. Consider the IVP /" -+13y-6(t-2), (o)-o,)-1 a. Solve the IVP. b. Find the exact value for the following.
5. Write a Python program to sort a dictionary by value in descending order (Note: you need to sort the entries, i.?., key-value pairs in the dictionary, not only the values in the dictionary).
f(0) = sin (O). g(0) = cos (O). Find the exact value of the function g no(3 if 0 = 300°. Do not use a calculator. Select the correct choice below and fill in any answer boxes within your choice. OA (Simplify your answer. Type an exact answer, using radicals as needed. Use integers or fractions for any numbers in the expression.) O B. The function value is undefined.
Use the appropriate sum and difference foemula to calculate the exact value of each expression. a) tan (+ b) cos (240° + 459 c) sin (7/3 - 1/1