you gave the clear explanation. if the parameters such as "a and c" are not given. in such case how can we calculate the "a and c" parameter values. i have a data that plane hkl values are (002) and their d-space value is 3.2 nm. using these data is it possible we can do the parameter calculation?
When you have only got the 002 peak of hexgonal system you can only calculate c for given d002 spacing. The lattice constants a and b are skipped when applying the d-spacing formula for hexagonal system. In this case you have to use other peaks in which h and k are involved different from zero, such as 100 and 010.
For examples of the variety of hexagonal peaks please have a look at the examples gives in:
Article Chemical synthesis of zinc oxide nanorods for enhanced hydro...
Article Hydrothermal synthesis and chromic properties of hexagonal W...
Article Template-free synthesis of BiVO4 nanostructures: I. Nanotube...
In general you need three peaks in order to solve for the lattice constants a, b, c independent of the lattice type. One peak is not enough...
In this video tutorial, I have explained in detail how and how to calculate lattice constants for cubic and orthorhombic structures from the XRD data using OriginLab software. In the case you want to further ask about it, please do comment on the specific video, I'll respond to it shortly. I have provided the practice as well as calculations files here. Thanks