What is the yellow area??
ฝัง
- เผยแพร่เมื่อ 11 พ.ย. 2024
- This problem had lots of different solutions. Can you find just 1 of them? If you worked it out in a different way to me make sure to share it in the comments below! What did you think of my solution? Let me know below!
This is a problem shared on twitter by: / silverbali7
Check them out for more tricky problems!
Thank you to everyone who watches and helped us reach over 700 subscribers. It is crazy to me how far this channel has come in under a year of putting out a video every week. The next target 1000 subscribers!
I release a new video every Monday at 5pm! If there is a problem you would like me to cover in next week's video make sure to put it down in the comments! Put the link if it is a question you have found!
If you would like to support the channel you can also buy me a coffee at the following link: www.buymeacoff...
very nice using the scaling factor! To be honest, I got stumped and ended up figuring it out analytically lol
answer: calculate the coordinates of the intersection and use either the gauss formula or input known surfaces, see line 120:
10 print "mrtalbotmath-what is the yellow area?":dim x(6,2),y(6,2)
20 l1=8:l2=6:l3=4:@zoom%=@zoom%*1.4:rem den schnittpunkt berechnen ***
30 xg11=0:yg11=0:xg12=l1+l2:yg12=l2:xg21=l1:yg21=0:xg22=l1+l2-l3:yg22=l2+l3
40 a11=yg12-yg11:a12=xg11-xg12:a131=xg11*(yg12-yg11):a132=yg11*(xg11-xg12)
50 a21=yg22-yg21:a22=xg21-xg22:a231=xg21*(yg22-yg21):a232=yg21*(xg21-xg22)
60 a13=a131+a132:a23=a231+a232:ngl1=a12*a21:ngl2=a22*a11
70 ngl=ngl1-ngl2:if ngl=0 then print "keine loesung":end
80 zx1=a23*a12:zx2=a13*a22:zx=zx1-zx2
90 zy1=a13*a21:zy2=a23*a11:zy=zy1-zy2
100 xl=zx/ngl:yl=zy/ngl:print "x=";xl;"y=";yl
110 xi=xl:yi=yl:a1=yi*(xi-l1)/2:atr=(yi+l2)/2*(l1+l2-xi)
120 a6=l3^2/2:atr2=(l2+l3)/2*(l2+l3):ages=atr2-a1-atr-a6
130 print "die gesuchte flaeche=";ages
140 x(0,0)=0:y(0,0)=0:x(0,1)=l1:y(0,1)=0:x(0,2)=xi:y(0,2)=yi
150 x(1,0)=l1:y(1,0)=0:x(1,1)=xi:y(1,1)=0:x(1,2)=xi:y(1,2)=yi
160 x(2,0)=xi:y(2,0)=0:x(2,1)=l1+l2:y(2,1)=0:x(2,2)=xi:y(2,2)=yi
170 x(3,0)=xi:y(3,0)=yi:x(3,1)=l1+l2:y(3,1)=0:x(3,2)=l1+l2:y(3,2)=l2
180 x(4,0)=xi:y(4,0)=yi:x(4,1)=l1+l2:y(4,1)=yi:x(4,2)=l1+l2:y(4,2)=l2
190 x(5,0)=xi:y(5,0)=yi:x(5,1)=l1+l2:y(5,1)=l2:x(5,2)=l1+l2-l3:y(5,2)=l2+l3
200 x(6,0)=x(5,2):y(6,0)=y(5,2):x(6,1)=x(3,1):y(6,1)=l2:x(6,2)=x(3,1):y(6,2)=y(5,2)
210 masx=1200/x(2,1):masy=850/y(5,2):if masx
run in bbc basic sdl and hit ctrl tab to copy from the results window