Answer:
a. 4
b. 3
c. pi
Explanation:
Generic formula of a sine wave: s(t) = Amp * sin ( 2*pi*freq*t + phase)
where, Amp => Amplitude
freq => frequency
phase => phase
Given sine wave: s(t) = 4sin(2π3t + π)
Comparing it with the generic form , we can identify that :
a. Amplitude : 4
b. Frequency : 3
c. Phase : pi
Amplitude measures peak displacement from origin, Frequency is the number of cycles per second and phase is the relative positioning of the wave with respect to the origin.
1. Social Media Influence (ex; influence by videos on snapchat, youtube or Tv)
2. Peer pressure (but that mostly falls into the same category as 1), so another reason could be "Teenage rebellion" in todays society we see everywhere that it is expected for teens to act up and experience things such as underage
drinking.
3. Influence at home! Believe it or not a lot of parents will allow their teens to drink at home and/or invite their friends over and provide them alcohol because "they rather have the teens do it at their house than the kids hiding that from the parents" <span />
Answer:
HII
Explanation:
Who, What, When Where, and Why.
Answer:
The program to this question can be given as:
Program:
#include<iostream> //header file
using namespace std;
int main() //main method
{
int x[10],i,largest = 0,second_largest=0,n; //variable
cout << "Enter Number of elements :"; //message
cin>>n;
cout << "Insert array elements :"; //message
for(i=0;i<n;i++) //insert elements in array
{
cin >>x[i];
}
//Finding Largest element
for(i=0;i<n;i++)
{
if (x[i]>largest)
{
largest = x[i];
}
}
//finding second largset element
for(i=0;i<n;i++)
{
if (x[i]>second_largest)
{
if(x[i]==largest)
{
continue; //Ignoring largest in order to get second largest
}
second_largest=x[i];
}
}
//print value
cout <<"Largest Number:"<<largest<<endl;
cout <<"Second Largest Number:"<<second_largest;
return 0;
}
Output:
Enter Number of elements :5
Insert array elements :33
45
75
87
23
Largest Number:87
Second Largest Number:75
Explanation:
In the above program firstly we define the header file then we define the main method in the main method we define the array and other variables. We first input the number for the size of the array. Then we insert array elements after inserting array elements we search the largest number and the second largest number in the array. To search the largest number in the array we use the loop. To search the first largest number we define a condition that array is greater than the largest number and store the value into the largest variable. Then we check the second largest number in the array for this we use two conditions that are array is greater than the second largest number in this we use another condition that is array is equal to the largest number. If the inner condition is true then it will move forward and end of an inner condition. In the outer condition, the value will be stored on the second_largest variable all the conditions will be done inner the loop. At the last we print values.
Answer:
It is the size of a file with heading.
Explanation:
I'm jp the average size is 14 byte file header. Hope this help :P