Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. b=0;
  2. x=1;
  3. a=1;
  4. f=a*x+b;
  5. e=a*(f+x)+b;
  6. p=a*(f)+a*(x)+b;
  7.  
  8. if b == 0 and f == a*p and e == f:
  9.  
  10. print("funkcja jest liniowa")
  11.  
  12. else:
  13.  
  14. print("funkcja nie jest liniowa")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement