I have 2 algorithms
Algorithm 1:
if( Condition1(input)==true )
print(input);
else
loop forever;
Algorithm 2:
if( Condition2(input)==true )
print(input);
else
loop forever;
for any arbitrary fully-computable condition 1 and 2.
We know both of this algorithm is partial computable.
i want to write a new algorithm (algorithm 3) by this definition.
Algorithm 3:
if (Condition1( input ) ==true) and (Condition2( input ) ==false)
print input;
Can i write algorithm3??? and how???
HINT: main problem is: can i write if( Condition2( input ) ==false )???
If I didn't misunderstood you, what you require is not possible. If x is not printed by algorithm 1, then it will loop forever, never getting into condition 2, much less 3. Now, if you want to write algorith 3 by itself, I think the way you did it is correct.