PARALLEL COMPUTING
parallel computing whre we take numeric value and non numeric values to compare parallelism
imagine thre is 0 and 1
0 parallele to 1 then answer will be 1 and if and 0 and 1 not parallel it gives 0
1 parallel to 0 then answer will be 1 here 0 is entity if 1 and 0 not parallel it gives 0
1 parallel to 1 then 1 if 1 and 1 not parallel then 0
0 parallel to 0 then 1 if 0 and 0 not parallel then it 0
here 0 and 1 is entity of compares
now for numebr is
if 2 is parllel to 1 means point like line then it gives 1
if 2 is not parallel to 1 means point like then it gives 0
then we have used parallele comptuing for
cooridnates
(1,2) parallel (2,3) if parallene then it returns 1 distance will be result of two coordinates,
if
(1,2) not parallel (2,3) then iit returns 0 distance will be 0
how we calculte distcne because its not in binary we have to make distance circuit,
then cirucist we use formual of disatnce sqrt (x1-x2)square + (y1-y2)square
we make te cirucitys where we put bianyr of x1 with x2 and then y1 with y2
then substract ((x1-x2)square+(y1-y2)square))1/2(in binary format)
it happens by wave if 1 returns then we made circuit of variable by wave functions
doatnce we use extara sqrt gate in whcih we substract and square means same like wave
Comments
Post a Comment