linear function - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: linear function (/thread-17866.html) |
linear function - Deiota - 12-29-2021 06:09 AM I have a linear function, for instance, f(x)=2*x, I want to know which x I have to give me a f(x)=11226. This is just a basic and a dumb exemple just an explain my doubt. I know I to define my function App and the plot it and go to Num to view my function values. Also know how to determine my F(x) when x=15 for instance but I don know to do the opposite. F(9)=????. Just received my HP Prime G2 yesterday late and i'm just learning... sorry and thanks in advance! Deiota\ RE: linear function - roadrunner - 01-01-2022 12:03 AM In CAS: f(x):=2*x solve(11226=f(x),x) -> {5613} f(9) -> 18 solve(5=f(x)) -> {5/2} -road RE: linear function - C.Ret - 01-02-2022 09:42 AM Alternatively, since Dieota is currently in the long process of learning how to used its HP Prime. He may also discover other way to do it. The first on is to use the Function Application and the Menu/Fcn/Intersecion of the plot view. The easiest way to discover where \( f(x)=2.x \) is solution of the equation \( f(x)=11226 \) is to plot it.
Another approach is to used the Linear Solver:
Another way is to use the Solver Application:
A simplest way of solving \( f(x) = 11226 \) with \( f(x)=2.x \) in CAS mode:
Etc... As you may have understand, there is a multitude of way for solving \( f(x)=11226 \) and you don't have to made a program or to know specific syntax. Of course, the way explain by road is valid. You canuse HOME view for the seek of numeric solutions (numerical application cases) and CAS view for the seek of literal solutions (academic and more general symbolic solutions). This are really powerful numeric or symbolic methods. But there is a plétore of methods and applications easy to use, intuitive with efficient and clear display of results with no programming ! Same are complex, other are really simple. The simplest I jave found; in HOME view, type-in 11226 / 2 ENTER, the solution is show |