Zet de formule om in een een Python functie
- \(D=6ab+7c\)
- \(Z=2xyz+9\)
- \(T=3p+2q+19r\)
- \(T=8xy+2z\)
- \(D=10ab+13c\)
- \(R=4xy+19z\)
- \(R=4ab+7c\)
- \(D=5xy+9z\)
- \(I=7abc+16\)
- \(F=8abc+5\)
- \(R=8ab+12c\)
- \(R=7pq+5r\)
Zet de formule om in een een Python functie
Verbetersleutel
- \(D=6ab+7c\\ \begin{align} \textbf{def } &D(a,b,c):\\ & \textbf{return } 6*a*b+7*c\end{align}\)
- \(Z=2xyz+9\\ \begin{align} \textbf{def } &Z(x,y,z):\\ & \textbf{return } 2*x*y*z+9\end{align}\)
- \(T=3p+2q+19r\\ \begin{align} \textbf{def } &T(p,q,r):\\ & \textbf{return } 3*p+2*q+19*r\end{align}\)
- \(T=8xy+2z\\ \begin{align} \textbf{def } &T(x,y,z):\\ & \textbf{return } 8*x*y+2*z\end{align}\)
- \(D=10ab+13c\\ \begin{align} \textbf{def } &D(a,b,c):\\ & \textbf{return } 10*a*b+13*c\end{align}\)
- \(R=4xy+19z\\ \begin{align} \textbf{def } &R(x,y,z):\\ & \textbf{return } 4*x*y+19*z\end{align}\)
- \(R=4ab+7c\\ \begin{align} \textbf{def } &R(a,b,c):\\ & \textbf{return } 4*a*b+7*c\end{align}\)
- \(D=5xy+9z\\ \begin{align} \textbf{def } &D(x,y,z):\\ & \textbf{return } 5*x*y+9*z\end{align}\)
- \(I=7abc+16\\ \begin{align} \textbf{def } &I(a,b,c):\\ & \textbf{return } 7*a*b*c+16\end{align}\)
- \(F=8abc+5\\ \begin{align} \textbf{def } &F(a,b,c):\\ & \textbf{return } 8*a*b*c+5\end{align}\)
- \(R=8ab+12c\\ \begin{align} \textbf{def } &R(a,b,c):\\ & \textbf{return } 8*a*b+12*c\end{align}\)
- \(R=7pq+5r\\ \begin{align} \textbf{def } &R(p,q,r):\\ & \textbf{return } 7*p*q+5*r\end{align}\)