It is 32 because highest number subtracted by lowest
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;
}
Answer:
-4 and -2
Step-by-step explanation:
First find all the factors of 8, that would be 1 and 8, -1 and -8, 2 and 4, and -2 and -4.
Then, adding the groups of numbers you have should show you what would equal -6. So 1 + 8 = 9, -1 + (-8) = -9, same vice versa, 2 + 4 = 6, -2 + (-4) = -6. So -2 and -4 would be your two numbers.
(t^2+1)^100
USE CHAIN RULE
Outside first (using power rule)
100*(t^2+1)^99 * derivative of the inside
100(t^2+1)^99 * d(t^2+1)
100(t^2+1)^99 * 2t
200t(t^2+1)^99
Answer:
The equation of line with given points is 2Y - X - 5 = 0
Step-by-step explanation:
Given points are ( - 3 , 1) and (9 , 7)
Equation of line is y = mx +c
where m is the slop of line
Now m = 
Or, m = 
so, slop = 
∴ slop = 
Now the equation of line with points ( -3 , 1) and slop m is :
Y - y1 = m ( X - x1)
Or, Y - 1 =
(X + 3)
Or, 2Y - X - 5 = 0
Hence The equation of line with given points is 2Y - X - 5 = 0 Answer