File size: 676 Bytes
0128def
a38fe4d
0128def
 
 
 
 
 
 
3ce50c4
e0cc0af
e8d4494
 
 
e3d7fcc
677455e
0128def
 
0774926
 
 
 
 
 
 
 
 
 
a38fe4d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
title: First Agent - Monte Carlo integration
emoji: 
colorFrom: pink
colorTo: yellow
sdk: gradio
sdk_version: 5.15.0
app_file: app.py
pinned: false
tags:
- smolagents
- agent
- smolagent
- tool
- agent-course
short_description: An agent with Monte Carlo integration tool
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Sample prompts:
```
Calculate the approximate integral of sin(x) from 0 to 3.14
  compare with the prompt
Calculate the approximate integral of sin(x) from 0 to pi

Compute the integral of 'x**2 + 3*x + 2' from 0 to 10
Estimate the area under the curve for f(x) = exp(-x**2) between -1 and 1
```