The 7th term of an AP is 15 and the fourth is 9. Find the sequence, first term and the common difference
f(×)=6/ײ3×-10
a. X=-2
b. x= 0
c. x=5
(Probability Distribution)
(Distribution Probability)
Find the solution set of x1+2x2-3x3+x4=0
3X1-X2+5X3-X4=0
2X1+X2+X4=0
Find the solution x1+2x2-3x3+x4=0
3x1-x2+5x-3x4=0
2x1+x2+x4=0
‘Bhartdarshan’ is an Internet-based travel agency wherein customers can see videos of the cities they plan to visit. The number of hits daily is a normally distributed random variable with a mean of 10,000 and a standard deviation of 2,400.
a. What is the probability of getting more than 12,000 hits?
b. What is the probability of getting fewer than 9,000 hits?
Ravan's dream is to win tic-tac-toe championship.to accomplish this he practices alone at home to learn the strategies of the game . your task is to identify the cell where Ravan should place his third piece so that he wins the game. Assume that each cell in the tic-tac-toe board is marked with a number as shown in the below
TIC TAC TOE
0 1 2
3 4 5
6 7 8
input:
The first line of input contain two space-seperated integers representing the cells where Ravan has placed his first two pieces
output:
output should be a single line integer representing the cell where ravan should place his final piece
explanation
sample Output 1 :
ravan's first two moves are 0 and 1 so he not 2 to win the game .because it will complete the first row so the out put is 2
sample Output 2 :
ravan's first two moves are 0 and 3 so he not 6 to win the game .because it will complete the first row so the out put is 6
Instructions:
Using the do…while() loop, continuously scan for integers, but add up only all the positive integers and store the total in one variable.
The loop shall only be terminated when the inputted integer is zero. Afterwards, print out the total of all inputted positive integers.
Input
1. A series of integers
Output
The first multiple lines will contain message prompts to input the integers.
The last line contains the total of all positive integers inputted.
Enter·n:·2
Enter·n:·3
Enter·n:·4
Enter·n:·-1
Enter·n:·-5
Enter·n:·1
Enter·n:·0
Total·of·all·positives·=·10
Instructions:
Continuously ask for floating point values (decimal numbers) using the do…while() loop, sum them all up, and store the total into one variable.
The loop shall only terminate for the following reasons:
A negative decimal number is inputted (but still included in the total sum)
The total sum reaches 100.0 or more
Input
1. A series of float numbers
Output
The first multiple lines containing message prompts for float numbers.
The last line contains the sum with 2 decimal places.
Enter·a·number:·1.1
Enter·a·number:·1.2
Enter·a·number:·1.3
Enter·a·number:·1.4
Enter·a·number:·-1.0
Sum·=·4.00