Answer:
// here is code in c++ to find the approx value of "e".
#include <bits/stdc++.h>
using namespace std;
// function to find factorial of a number
double fact(int n){
double f =1.0;
// if n=0 then return 1
if(n==0)
return 1;
for(int a=1;a<=n;++a)
f = f *a;
// return the factorial of number
return f;
}
// driver function
int main()
{
// variable
int n;
double sum=0;
cout<<"enter n:";
// read the value of n
cin>>n;
// Calculate the sum of the series
for (int x = 0; x <= n; x++)
{
sum += 1.0/fact(x);
}
// print the approx value of "e"
cout<<"Approx Value of e is: "<<sum<<endl;
return 0;
}
Explanation:
Read the value of "n" from user. Declare and initialize variable "sum" to store the sum of series.Create a function to Calculate the factorial of a given number. Calculate the sum of all the term of the series 1+1/1!+1/2!.....+1/n!.This will be the approx value of "e".
Output:
enter n:12
Approx Value of e is: 2.71828
The report that shows what mobile devices were used to view a website is the Devices report under “Mobile”
<h3>What is a mobile device?</h3>
This is known to be a is a small hand-held device that shows screen with touch input and it is said to be also made up of QWERTY keyboard as well as others.
Note that The report that shows what mobile devices were used to view a website is the Devices report under “Mobile”
See full question below
What report shows what mobile devices were used to view a website?
The Exit Pages report under “Site Content”
The Landing Page report under “Site Content”
The Engagement report under “Behavior”
The Devices report under “Mobile”
Learn more about website from
brainly.com/question/13171394
#SPJ12
True. Museums usually specialize in one area in specifics.
Ex. WWII Museums give great historical info on WWII
The Hierarchical drawing of the In- House solutions includes Four categories such as product, service, training, support and about.
<h3>What is Hierarchical drawing?</h3>
Hierarchical drawing is also known as Layered Graph Drawing which includes the drawing in the vertices and are made on the Horizontal rows and layers.
The complete solution is attached below.
The In-House solutions' hierarchical diagram covers four categories, including product, service, training, support, and about.
Learn more about Hierarchical drawing here:
brainly.com/question/26031625
#SPJ1