Find the equation (formula) of a circle with radius r and center C(h,k) and if the Center of a circle is at (3,-1) and a point on the circle is (-2,1) find the formula of the circle.
Find the equation (formula) of a sphere with radius r and center C(h, k, l) and show that x2 + y2 + z2 - 6x + 2y + 8z - 4 = 0 is an equation of a sphere. Also, find its center and radius.
You are a network administrator, been tasked to create a network connection of 3 different departments. Each department has got 3 pc's. In your network include DNS server, Web server, email server
1. a. Construct a truth table for (p ↔ q) and (p → q) ^ (q → p).
b. Determine whether these compound propositions are logically equivalent.
2. Let R(x, y): x² + y² = 1. Find the truth values of the propositions R(2 3 , 6 4 ) and R(3 5 , 7 4 ) .
3. Let P(x, y, z): x + y = z, where x, y and z are all real numbers.
a. Express the quantifications ∀x∀y∃z P(x, y, z) and ∃z∀x∀yP(x, y, z) as statements.
b. Find the truth value of the quantifications ∀x∀y∃z P(x, y, z) and ∃z∀x∀yP(x, y, z).
c. Determine whether both quantifications are logically equivalent.
According to a survey, 32% of drivers tailgate other vehicles before passing them (thinking it will incite them to speed up). Consider 45 drivers selected at random. Use a normal approximation to find the probability that:
(a) at least 17 drivers tailgate? (Use only 3 decimal places)
(b) more than 9 but less than 25 drivers tailgate? (Use only 3 decimal places) ans_a is 0.251
according to study the average number of hours of tv of viewing per household per week is philippines is 50.4 hours and the standard deviation is 11.8 hours.if a random sample of 42 households is taken what is the probability that the sample average is less than 47.5 hours
Find the password:
Joey is planning escape room and to exit the room he has to find the password for the final door .To know the password he is given a sentence G and told to rearrange the sentence by rotating it's w words in the right.Can you help joey find the password
input:
The input is a string G
The second line input is integer w
i/p:
Raju is going to school
3
o/p:
going to school Raju is
i/p: Trapezium order pattern
1
o/p: pattern Trapezium order
CONCATENATION GAME:
Sameer is playing a game. To win that game he has to combine the list of strings vertically(column wise) and present the final answer in that pattern.
input:
The first line of input contains an integer N that denotes the number of lists to combine
Each of the next N lines of the input contains strings separated by space.
i/p:
1
Hy
o/p:Hy
i/p:
2
by by
hy hy
o/p:
byhy
byhy
i/p:2
by hy
hy
o/p:
byhy
hy
i/p:3
Not you kid
They are got
Like great
o/p:
NotTheyLike
youaregreat
kidgot
A golf ball is selected at random from a golf bag. If the golf bag contains 8 type A balls, 5 type B balls, and 3 type C balls, find the probability that the golf ball is not a type A ball.
SUM OF POWERS:
you are given a list of integers L of size N. write a program to compute the value of SUM
SUM=x1pow1+x2pow2+x3pow3+-----+xNpowN
where xi concatenated with powi is the i th element of the list L and powj is single digit number
input:
The input contains space-separated N integers
Explanation: L=[25]
x1=2 ,pow1=5
SUM=2^5=32
i/p: L=[132,301]
x1=13,pow1=2
x2=30,pow2=1
SUM=13^2 +30^1=199
i/p:25
o/p:32
i/p:132 301
o/p:199
Program to calculate discount If customer purchase clothes on Offseason, set discount 15% and on Onseason 40%
Should use two classes, Onseason and Offseason
Use two methods- discount(method name should be same)