Python functies

Hoofdmenu Eentje per keer 

Zet de formule om in een een Python functie

  1. \(R=8abc+7\)
  2. \(R=4p-3q+13\)
  3. \(I=4p+13\)
  4. \(I=2pqr+19\)
  5. \(D=2x+13y\)
  6. \(I=6a+11\)
  7. \(I=5x-11y+12\)
  8. \(R=6pqr+7\)
  9. \(Z=8x-13y+2\)
  10. \(Z=2pqr+3\)
  11. \(R=7xy+14z\)
  12. \(I=6pq+14r\)

Zet de formule om in een een Python functie

Verbetersleutel

  1. \(R=8abc+7\\ \begin{align} \textbf{def } &R(a,b,c):\\ & \textbf{return } 8*a*b*c+7\end{align}\)
  2. \(R=4p-3q+13\\ \begin{align} \textbf{def } &R(p,q):\\ & \textbf{return } 4*p-3*q+13\end{align}\)
  3. \(I=4p+13\\ \begin{align} \textbf{def } &I(p):\\ & \textbf{return } 4*p+13\end{align}\)
  4. \(I=2pqr+19\\ \begin{align} \textbf{def } &I(p,q,r):\\ & \textbf{return } 2*p*q*r+19\end{align}\)
  5. \(D=2x+13y\\ \begin{align} \textbf{def } &D(x,y):\\ & \textbf{return } 2*x+13*y\end{align}\)
  6. \(I=6a+11\\ \begin{align} \textbf{def } &I(a):\\ & \textbf{return } 6*a+11\end{align}\)
  7. \(I=5x-11y+12\\ \begin{align} \textbf{def } &I(x,y):\\ & \textbf{return } 5*x-11*y+12\end{align}\)
  8. \(R=6pqr+7\\ \begin{align} \textbf{def } &R(p,q,r):\\ & \textbf{return } 6*p*q*r+7\end{align}\)
  9. \(Z=8x-13y+2\\ \begin{align} \textbf{def } &Z(x,y):\\ & \textbf{return } 8*x-13*y+2\end{align}\)
  10. \(Z=2pqr+3\\ \begin{align} \textbf{def } &Z(p,q,r):\\ & \textbf{return } 2*p*q*r+3\end{align}\)
  11. \(R=7xy+14z\\ \begin{align} \textbf{def } &R(x,y,z):\\ & \textbf{return } 7*x*y+14*z\end{align}\)
  12. \(I=6pq+14r\\ \begin{align} \textbf{def } &I(p,q,r):\\ & \textbf{return } 6*p*q+14*r\end{align}\)
Oefeningengenerator wiskundeoefeningen.be 2025-08-29 03:03:42
Een site van Busleyden Atheneum Mechelen