Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
TI 84- solve an equation in program?
Is it possible to solve an equation at a given variable within a program? say y=5x, how would you make the program solve for y at x=2?
2 Answers
- Empire539Lv 79 years agoFavorite Answer
If you're already given an equation and a specific point, what's the point of making a program for it? You could easily get the same result simply by computing 5×2.
Even if it were a case of more complicated equations, you can easily set a variable to a value and use that in your computations. For example, say you wanted to find y, where y = x² + 5x − 2 at x = 6. You could just do directly on the home screen:
6→X:X²+5X−2
which would yield 64.
- 9 years ago
it most programming langs, it would work like:
int x = 2; int y = 5*x; //or
var x = 2; var y = 5*x