NRF24L01 two way communication problems

Hello everyone,
I am trying to transmit a ultrasonic sensor data(HCSR04) and receive a value from another node using NRF24L01 RADIO TRANSCEIVER.
Another node will be receiving the ultrasonic sensor data and will be transmitting a value based on the sensor data.
The problem we face is that the exact value is not being received in either of the nodes and even if in some cases , the sensor data is correctly received,the value which has to be transmitted based on the data received is not done properly.The two programme sketches are also attached as well.
please advise modifications in the programmes so that tranmission and reception is done properly.

_22-10_reception.ino (926 Bytes)

_22-10_transmission.ino (809 Bytes)

This certainly won't work.

z=3.8124*(sp);
sensor1[0]=analogRead(z);

Forget the communications for now, and learn how to read the sensor.