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