Is There a Way to Solve an Equation with One Unknown Using MATLAB?

  • Thread starter sara_87
  • Start date
In summary, the conversation discusses finding the value of k in an equation without using special tools like MATLAB. The suggested methods include graphing and bisection, but the person asking the question is looking for a quick solution without having to do the work. The conversation also mentions the possibility of using the Lambert W function and provides a link to resources on using MATLAB to solve equations. Ultimately, it is concluded that there is no simple formula for solving this type of problem.
  • #1
sara_87
763
0

Homework Statement


i want to find the value of k in the following equation:
8.7-(0.75/k)=[e^(8k)](11.7-(0.75/k))


Homework Equations





The Attempt at a Solution



i know i can use MATLAB but i don't have MATLAB and i don't even know how to do it on matlab; does anyone know how to do it on matlab?
is there an alternative method to find k?

thank you
 
Physics news on Phys.org
  • #2
If you don't have any special tools, write the problem as f(k)=exp(8*k)*(11.7-.75/k)-(8.7-0.75/k). Now you want to find where f(k)=0. Now graph it and look for a zero, or just try different values of k until you find one where f(x) is positive and one where it's negative. E.g. f(0.03)<0 and f(0.04)>0. That means there is a root between 0.03 and 0.04. Try the midpoint k=0.035 and keep refining the interval containing the root until you get enough significant digits for the needs of the problem. This is called 'bisection'.
 
  • #3
yes i know that method but it takes too long and I'm lazy.
i just need the answer without the working out so i don't want to take too much time finding the value for k.
 
  • #4
sara_87 said:
yes i know that method but it takes too long and I'm lazy.
i just need the answer without the working out so i don't want to take too much time finding the value for k.

Well, you should just probably wait until you get to a computer with maple or MATLAB or whatever. Otherwise, you'll need to do it the long way!
 
  • #5
There is no simple formula for such a problem. You might be able use the Lambert W function, but I suspect just getting it into the right form for that would be much more work that the graph Dick suggested.
 
  • #6
yes but how do i type that into MATLAB and how do i find k using matlab? what do i type?
 
  • #7
Yahoo search "solving equations Matlab" results in http://www.mathworks.com/matlabcentral/newsreader/view_thread/157139 among others.
 
  • #8
EnumaElish said:
Yahoo search "solving equations Matlab" results in http://www.mathworks.com/matlabcentral/newsreader/view_thread/157139 among others.

In other words, there is NO "closed form" solution- it's not just a matter of "not knowing how to put it in".
 

FAQ: Is There a Way to Solve an Equation with One Unknown Using MATLAB?

What is "one equation one unknown"?

"One equation one unknown" refers to a mathematical equation that contains only one variable or unknown quantity. This means that there is only one value that can be determined from the equation.

Why is "one equation one unknown" important in science?

"One equation one unknown" is important in science because it allows us to solve for a single unknown quantity in a system of equations. This is essential in understanding and predicting the behavior of physical systems and phenomena.

How do you solve a "one equation one unknown" problem?

To solve a "one equation one unknown" problem, you need to isolate the unknown variable on one side of the equation and simplify the other side. This can be done by using algebraic operations such as addition, subtraction, multiplication, and division on both sides of the equation until the unknown variable is the only thing left on one side.

Can "one equation one unknown" be used in real-life situations?

Yes, "one equation one unknown" can be used in real-life situations. It is commonly used in fields such as engineering, physics, and chemistry to solve for unknown variables in mathematical models and equations that represent real-world phenomena.

Are there any limitations to "one equation one unknown"?

Yes, there are limitations to "one equation one unknown" as it can only be applied to systems of equations that have a single unknown quantity. In more complex situations, multiple equations with multiple unknowns may be needed to accurately describe and solve the problem.

Similar threads

Back
Top