#include<stdio.h>
#include<conio.h>
#include<string.h>
int main() {
int i, number, num1, num2=0;
char str1[50];
num1 = number;
for(i=2; i<=20; i+=2) {
printf("%d", i);
printf(", ");
}
return 0;
}
BODMAS=Bracket, Order, Division, Multiplication, Addition and Subtraction. In certain regions, PEMDAS (Parentheses, Exponents, Multiplication, Division, Addition and Subtraction) is the synonym of BODMAS. It explains the order of operations to solve an expression.
Here, f(x)=x2 -6 logx-3=0
f(2)=4-6 log2-3=-0.806
f(3)=9-6 log3-3=3.1373
f(2).f(3)=-0.806*3.1373=-2.529422 which is negative.
Hence, the root lies between 2 and 3
c0 =(2+3)/2=2.5
f(2.5)=6.25-6 log 2.5-3=0.8623
Now
| n | a(-ve) | b(+ve) | cn | f(cn) |
| 0 | 2 | 3 | 2.5 | 0.8623 |
| 1 | 2 | 2.5 | 2.25 | -0.050595 |
| 2 | 2.25 | 2.5 | 2.375 | 0.38664 |
| 3 | 2.25 | 2.375 | 2.3125 | 0.1631658 |
| 4 | 2.25 | 2.3125 | 2.28125 | 0.05506 |
| 5 | 2.25 | 2.28125 | 2.265625 | 0.001925 |
From the table,
f(2.265625)=0.001928<10-2
Therefore, the...
A negative of a vector represents the direction opposite to the reference direction. It means that the magnitude of two vectors are same but they are opposite in direction.
For example, if A and B are two vectors that have equal magnitude but opposite in direction, then vector A is negative of vector B.
Yes, a vector which has zero magnitude is also a vector in case of two vectors travelling in opposite directions with equal magnitudes. At this case, the resultant vector has zero magnitude but it is still a vector. We call it a null vector.
