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

  • Thread starter Thread starter sara_87
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around finding the value of k in a specific equation involving exponential and rational expressions. The original poster expresses a desire to solve this equation using MATLAB but lacks access to the software and knowledge of its usage. Alternatives to MATLAB are also being considered.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants discuss the possibility of using MATLAB for solving the equation and explore alternative methods such as graphing the function to identify roots. There are inquiries about how to implement the solution in MATLAB and the feasibility of using the Lambert W function.

Discussion Status

The conversation is ongoing, with some participants suggesting methods for finding k while others express frustration with the time-consuming nature of these methods. There is a recognition that no simple formula exists for the problem, and guidance on using MATLAB has been referenced.

Contextual Notes

Participants note the lack of access to computational tools and the desire for a quicker solution without detailed working out. There is an acknowledgment of the complexity of the equation and the absence of a closed-form solution.

sara_87
Messages
748
Reaction score
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
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'.
 
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.
 
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!
 
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.
 
yes but how do i type that into MATLAB and how do i find k using matlab? what do i type?
 
Yahoo search "solving equations Matlab" results in http://www.mathworks.com/matlabcentral/newsreader/view_thread/157139 among others.
 
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".
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
1K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
21
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K