# Implementing pressure curves

<figure><img src="/files/ESLckvDOujMqsjKN5ttC" alt=""><figcaption></figcaption></figure>

Ultimately a pressure curve is a mathematical function that takes input logical pressure (p) and returns an output logical pressure (p’)

that is it maps logical pressure to logical pressure. The logical pressure comes in as a value between zero and one, and the output is a logical pressure between zero and one. The specifics of the mapping of the input to the output are completely arbitrary and we can make pressure curves do whatever we want.

<figure><img src="/files/lbR7dETIApMeZZeBRSiZ" alt=""><figcaption></figcaption></figure>

In reality we wouldn't just have one pressure curve function with a single input logical pressure parameter like that. More typically we'd have a pressure curve function that accepts multiple parameters. By tweaking these additional parameters we can control what the pressure curve is actually doing in a dynamic way.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sevenpens.com/drawtab/tech/pressure-curve-implement.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
