Graph the line using the slope and y-intercept, or two points.
Slope:
2
3
2
3
y-intercept:
(
0
,
−
4
)
(
0
,
-
4
)
x
y
0
−
4
3
−
2
Answer:
Algorithm
Start
Int n // To represent the number of array
Input n
Int countsearch = 0
float search
Float [] numbers // To represent an array of non decreasing number
// Input array elements but first Initialise a counter element
Int count = 0, digit
Do
// Check if element to be inserted is the first element
If(count == 0) Then
Input numbers[count]
Else
lbl: Input digit
If(digit > numbers[count-1]) then
numbers[count] = digit
Else
Output "Number must be greater than the previous number"
Goto lbl
Endif
Endif
count = count + 1
While(count<n)
count = 0
// Input element to count
input search
// Begin searching and counting
Do
if(numbers [count] == search)
countsearch = countsearch+1;
End if
While (count < n)
Output count
Program to illustrate the above
// Written in C++
// Comments are used for explanatory purpose
#include<iostream>
using namespace std;
int main()
{
// Variable declaration
float [] numbers;
int n, count;
float num, searchdigit;
cout<<"Number of array elements: ";
cin>> n;
// Enter array element
for(int I = 0; I<n;I++)
{
if(I == 0)
{
cin>>numbers [0]
}
else
{
lbl: cin>>num;
if(num >= numbers [I])
{
numbers [I] = num;
}
else
{
goto lbl;
}
}
// Search for a particular number
int search;
cin>>searchdigit;
for(int I = 0; I<n; I++)
{
if(numbers[I] == searchdigit
search++
}
}
// Print result
cout<<search;
return 0;
}
<h3>
Answer: False</h3>
Explanation:
If the sample is biased, then it does not represent the population. A biased sample favors one or more groups over others.
For example, if the sample consisted of only men, then the sample is biased toward men and leaves out women from the group. Hence, this sample does not represent everyone.
Answer:
A. =4x3+9x2−25x+12
Step-by-step explanation:
(x+4)(4x−3)(x−1)
=((x+4)(4x−3))(x+−1)
=((x+4)(4x−3))(x)+((x+4)(4x−3))(−1)
=4x3+13x2−12x−4x2−13x+12
=4x3+9x2−25x+12