---
title: "Discussion on \"Cairo exercise: Polynomial Equation\" | Hashnode"
description: "Discussion on \"Cairo exercise: Polynomial Equation\". Problem\nWrite a program poly.cairo that computes the expression:\n$$\nx^3 + 23x^2+ 45x + 67 = 0, x = 100\n$$\n\nAfter the program ends, the value should be at [ap - 1].\n\nFor this exercise, you may assume that the fp register is constant and initialized to..."
url: "https://hashnode.com/posts/cairo-exercise-polynomial-equation/636a162976482c21aebbce6a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Cairo exercise: Polynomial Equation](https://peterblockman.hashnode.dev/cairo-exercise-polynomial-equation?utm_source=hashnode&utm_medium=feed)

Problem Write a program poly.cairo that computes the expression: $$ x^3 + 23x^2+ 45x + 67 = 0, x = 100 $$ After the program ends, the value should be at \[ap - 1\]. For this exercise, you may assume that the fp register is constant and initialized to...

Nov 8, 2022 · 3 min read · peterblockman.hashnode.dev  
Read the article

-   [#polynomial-equation](https://hashnode.com/tag/polynomial-equation)
-   [#cairo-lang](https://hashnode.com/tag/cairo-lang)
-   [#web3](https://hashnode.com/tag/web3)
-   [#starknet](https://hashnode.com/tag/starknet)

## Written by

[Peter Blockman](https://hashnode.com/@peterblockman)

@peterblockman · localhost

  
[View profile](https://hashnode.com/@peterblockman)

Blockchain developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
