More Exercises

Exercise - Swap Numbers

Arrow Swap Icons - Download Free Vector Icons | Noun Project

כתבו תוכנית המחליפה את הערכים שלהם

דרך א

דרך ב - בלי משתנה שלישי

הסבר:

Exercise - Print Digits

Numeral - Math Definitions - Letter N

כתוב תכנית

  • הקולטת מספר שלם תלת-ספרתי ומדפיסה את כל הספרות שלו בנפרד

  • מדפיסה את סכום הספרות שלו.

מומלץ לשים כאן while על מנת שמהשמתש יכול להזין עוד מספר אם הוא לא בתווך

Exercise - Clock

Magis Tempo Wall Clock by Lumens - Dwell

כתוב תכנית שקולטת מספר שלם שמהווה מספר שניות והופכת אותו לשעות, דקות ושניות. ומדפיסה את ומדפיסה אותם. לדוגמה, מספר 3669 הופך שעה 1 ,דקה 1 ,9 שניות.

Exercise - Roots of a quadratic equation

Graphs of Quadratic Functions | Boundless Algebra

נוסחת השורשים

x=b±b24ac2ax = \frac{-b\pm\sqrt[]{b^2-4ac}}{2a}
determinant=b24acdeterminant = \sqrt[]{b^2-4ac}
(x+2)(x3)=0x21x6=0(x + 2)(x - 3) = 0\\ x^2 -1x - 6 = 0

Exercise -Check if point is in radius of (x,y)

Hint: use Pythagorean theorem פיתגורס

Radius, diameter, & circumference | Circles (article) | Khan Academy
distance
distance<radiusdistance < radius

another run

Exercise - Rotate Square

Last updated

Was this helpful?