Ask Your Question

# Revision history [back]

### SAGETEX: Howto compute solution of a function

Hello,

how can i display the solution of the following function with sagetex?

\documentclass[11pt,a4paper,landscape]{article}
\usepackage[utf8]{inputenc}
\usepackage[german]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{sagetex}
\usepackage[left=10cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\author{}
\title{Vordimensionierung Hallentragwerk}
\begin{document}

\begin{sagesilent}

lambda_z = 5
s_ka = 4
loesung (lambda_z, s_k) = lambda_z * s_k + g

\end{sagesilent}
$\sage {loesung }$
\end{document}


Sincerely reb_reb

### SAGETEX: Howto compute solution of a function

Hello,

how can i display the solution of the following function with sagetex?

\documentclass[11pt,a4paper,landscape]{article}
\usepackage[utf8]{inputenc}
\usepackage[german]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{sagetex}
\usepackage[left=10cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\author{}
\title{Vordimensionierung Hallentragwerk}
\begin{document}

\begin{sagesilent}

lambda_z = 5
s_ka = 4
loesung (lambda_z, s_k) = lambda_z * s_k + g
s_k

\end{sagesilent}
$\sage {loesung }$
\end{document}


Sincerely reb_reb