I want to define random values for cos and sin using the variable command. I wanted to do so by using random number generation for the argument, from 0 to pi. Is the argument defined in degrees or radians?

Thanks

I want to define random values for cos and sin using the variable command. I wanted to do so by using random number generation for the argument, from 0 to pi. Is the argument defined in degrees or radians?

Thanks

[athomps@…5834… src]$ lmp_mac_mpi

LAMMPS (29 Jan 2016)

variable x equal cos(1)

print $x

0.54030230586814