A few drops of concentrated HNO\(_3\) is added to an unknown solution and boiled for…