TutorMe homepage
Subjects
PRICING
COURSES
Start Free Trial
Nilay A.
Computer Science Tutor
Tutor Satisfaction Guarantee
Physics (Waves and Optics)
TutorMe
Question:

Using diffraction seems to be a useful technique for measuring size of small object. Is there a lower limit for size of objects that can be measured this way?

Nilay A.

We know that: $$\sin(\theta) = m\lambda/a$$ Since $$\sin(\theta) \leq 1 \implies \lambda \leq a$$ So you cant measure the size of the object shorter than the wavelength of the light.

Python Programming
TutorMe
Question:

What will be output of following program ? b = [2,5,6,7,8,9,10,23,15] b[::2] = 11,22,33,44,55,66 print(b)

Nilay A.

It will give ValueError since we are attempting to assign sequence of size 6 go extended slice of size 5.

C Programming
TutorMe
Question:

What is Dangling Pointer?

Nilay A.

Dangling Pointer is a pointer that doesn't point to a valid memory location. They arise when an object is deleted or de-allocated, without modifying the value to the pointer, so that the pointer still points to the memory location of the deallocated memory. Following is an example: int *ptr = (int *)malloc(sizeof(int)) free(ptr) In this example "ptr" becomes a dangling pointer after freeing it and any operation on "ptr" now like *(value of) or &(address of) becomes invalid.

Send a message explaining your
needs and Nilay will reply soon.
Contact Nilay