Drop files here
or click to upload
import streamlit as st
import numpy as np
import pandas as pd
st.title("Simulador matemático en prueba")
a = st.slider("a", -5.0, 5.0, 1.0)
b = st.slider("b", -5.0, 5.0, 0.1)
t = st.slider("t", 0.0, 10.0, 1.0)
x = np.linspace(-5, 5, 400)
y = np.sin(a * x + t) + b * x**2
df = pd.DataFrame({"x": x, "y": y})
st.line_chart(df.set_index("x"))
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?