Recent Questions and Answers



Recent Questions

63731 QuestionsPage 2 of 4249.

Find the Difference Between the First and Third Number

The average of first and second of three numbers is 15 more than the average of the second and the third of these numbers what is the difference between the first and the third of these three numbers?

Asked by: Bikash Kumar Nahak on Nov 9, 2020.EDIT

C Program for Employee Salary Details

Write a c programme that accepts the salary and age from the user and displays the same on the screen as output.

Asked by: Hassan on Nov 4, 2020.  Answers (1)

Technical : Predict the Output of the Given Code

Please explain the code and predict the output:

import numpy as np
import matplotlib.pyplot as plt
from scipy import signal

"""
parameters:
rhp - spectral noise density unit/SQRT(Hz)
sr - sample rate
n - no of points
mu - mean value, optional

returns:
n points of noise signal with spectral noise density of rho
"""
def white_noise(rho, sr, n, mu=0):
sigma = rho * np.sqrt(sr/2)
noise = np.random.normal(mu, sigma, n)
return noise

rho = 1
sr = 1000
n = 1000
period = n/sr
time = np.linspace(0, period, n)
signal_pure = 100*np.sin(2*np.pi*13*time)
noise = white_noise(rho, sr, n)
signal_with_noise = signal_pure + noise

f, psd = signal.periodogram(signal_with_noise, sr)

print("Mean spectral noise density = ",np.sqrt(np.mean(psd[50:])), "arb.u/SQRT(Hz)")

plt.plot(time, signal_with_noise)
plt.plot(time, signal_pure)
plt.xlabel("time (s)")
plt.ylabel("signal (arb.u.)")
plt.show()

plt.semilogy(f[1:], np.sqrt(psd[1:]))
plt.xlabel("frequency (Hz)")
plt.ylabel("psd (arb.u./SQRT(Hz))")
#plt.axvline(13, ls="dashed", color="g")
plt.axhline(rho, ls="dashed", color="r")
plt.show()

Asked by: Saranya on Oct 30, 2020.

Determine the Mole and Weight Fraction of Acetone

A mixture of Acetone vapour and Nitrogen gas at 101.3 kPa and 295 K contains acetone vapour to the extent that it exerts a partial pressure of 20 kPa. The vapour pressure of acetone at 295 K is 26.36 kPa. Determine

a) Mole fraction of acetone in the mixture.
b) Weight fraction of acetone in the mixture.
c ) Molal Humidity.

Asked by: Harsh on Oct 29, 2020.

Change the Voice of the Sentence: Mangoes are eaten every day

Mangoes are eaten every day. Change it into active voice.

Asked by: Hillmi on Oct 29, 2020.

Create a Database for a City

Implement a city database, each database record contains the name of the city (a string of arbitrary length) and the coordinates of the city expressed as integer x and y coordinates. Your database should allow records to be inserted, deleted by name or coordinate, and searched by name or coordinate. Another operation that should be supported is to print all records within a given distance of a specified point (capital city).

Asked by: Suryajith on Oct 27, 2020.

Calculate the Number of Apples bought by a Person

A person spent Rs. 9.10 in buying oranges at the rate of 3 for 10 paise and apples at 25 paise for a dozen; if he had bought five times as many oranges and a quarter of the number of apples he would have spent Rs. 26.50. How many apples did he buy?

Asked by: Djmh on Oct 27, 2020.

Calculate the Strains of a Cube

Calculate the strains induced in a cube of 400mm side in x,y & z direction if it is subjected to the stress of 300 N/mm2 ( tensile) in Yorkshire direction & 200N/mm2 (compression) in Zurich direction.

Asked by: Justus on Oct 25, 2020.

HR Question: What sorts of facilities did you require from the company end?

What sorts of facilities did you require from the company end?

Asked by: Gautam Kumar Mandal on Oct 22, 2020.

What percentage of the number of times he scored between 25 and 49?

A cricketer has batted in 85 innings. He has scored 13 centuries, crossed the 50 run mark 21 times and crossed the 25 run mark 37 times and scored no double century. The number of times he has scored below 25 is what percentage of the number of times he scored between 25 and 49?

Asked by: Sunal on Oct 22, 2020.  Answers (1)

Find the Missing Number 1, 2, 3, 6, 9, 18, ?, 54

1, 2, 3, 6, 9, 18, ?, 54.

Asked by: Ammu on Oct 20, 2020.  Answers (1)

Find the Missing Number 7, 4, 5, 12, 45, D, 1329, 9300,

7, 4, 5, 12, 45, D, 1329, 9300.

Asked by: Hood on Oct 15, 2020.

Uses of The Floppy Disk

What are the uses of the floppy disk?

Asked by: Abubakar Sadiq Umar on Oct 15, 2020.

Find the Total Percentage of a Student

A student secures 90%, 60%, 54% marks in three test papers with maximum marks 100,150,200 respectively. Find his aggregate percentage.

Asked by: Tanvi on Oct 14, 2020.

Next Term of 3 8 16 33 57

Find the next term of 3 8 16 33 57 ?

Asked by: Abhijit Mondal on Oct 14, 2020.

Sponsored Links


Current Affairs

Quick Links