Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Save quadratic formula results as variables #8

Open
wheelercj opened this issue Mar 7, 2020 · 0 comments
Open

Save quadratic formula results as variables #8

wheelercj opened this issue Mar 7, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@wheelercj
Copy link
Owner

Is your feature request related to a problem? Please describe.
The quadratic formula results cannot be directly used with anything else. They have to be retyped.

Describe the solution you'd like
Before the quad function ends, save the two results to variables such as quad_a and quad_b, and tell the user about these variables.

e.g.

>> quad(-1, -2, 4)
quad_a = 1.236068
quad_b = -3.236068

Would be better instead of:

>> quad(-1, -2, 4)
= 1.236068 or -3.236068

@wheelercj wheelercj added the enhancement New feature or request label Mar 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant