Dodanie co jest czym w rozwiazaniu
This commit is contained in:
parent
9115aa5875
commit
37b5b68451
@ -152,8 +152,15 @@ yq = 4
|
|||||||
xr = 6
|
xr = 6
|
||||||
yr = 0
|
yr = 0
|
||||||
|
|
||||||
|
# 1) -Q
|
||||||
puts punktPrzeciwny(xq,yq).inspect
|
puts punktPrzeciwny(xq,yq).inspect
|
||||||
|
|
||||||
|
# 2) R + [0,0]
|
||||||
puts sumaPunktow(a,b,p,xr,yr,0,0).inspect
|
puts sumaPunktow(a,b,p,xr,yr,0,0).inspect
|
||||||
|
|
||||||
|
# 3) P + Q
|
||||||
puts sumaPunktow(a,b,p,xp,yp,xq,yq).inspect
|
puts sumaPunktow(a,b,p,xp,yp,xq,yq).inspect
|
||||||
|
|
||||||
|
# 4) 2R
|
||||||
puts sumaPunktow(a,b,p,xp,yp,xp,yp).inspect
|
puts sumaPunktow(a,b,p,xp,yp,xp,yp).inspect
|
||||||
##################################################
|
##################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user