Solving Equation Sinus: Best Software & Arguments

  • Thread starter Deuskull
  • Start date
In summary, the conversation revolves around solving an equation involving constants a, b, c, and k with x as the variable. The individual tried to solve it manually and with software, but was unable to find a simple solution. They are seeking the best software and method to find either an analytical or numerical solution. The equation is related to diffusion in porous material and a plot of the equation reveals multiple roots. Both Mathematica and Mathcad were used to find numerical solutions for the equation. The conversation ends with the individual thanking for the answers and expressing their intention to use the solutions in their next equation.
  • #1
Deuskull
2
0
Good morning everyone,

I'm working on an equation like :
a.sin(x(1+k))+b.sin(x(1-k))-c.sin(x) = 0
where x is the variable and the others one (a,b,c,k) are constant.

I tried to solve it manually but I didn't find any simple solutions.
I tried to solve it using some softwares (Mathematica and Matlab) using solve, nsolve and dsolve but without success.

What's the best software and/or the best argument (xsolve) to use ?
I want to find the analytical solution or, if it's not possible, I would like to have 10 positive numerical solutions.

Thank you.

PS : For anyone interested, this equations is a prior to use an equation of diffusion in porous material.

a = 5,95E-01
b = 5,22E-02
c = -3,53E-01
k = 0,14
 
Physics news on Phys.org
  • #2
I'm not sure that there is an analytic solution ... I suspect that it's in it's simplest form already.

I may not have understood the problem, though. It seem as though any of the mathematical applications should handle giving you values as it looks as though you have, implicitly, a straightforward function of x. For example, implementing it in Mathcad gives the following ...

attachment.php?attachmentid=52273&stc=1&d=1351106971.jpg
 

Attachments

  • phys - 12 10 24 diffusion equation 01.jpg
    phys - 12 10 24 diffusion equation 01.jpg
    36.9 KB · Views: 731
  • #3
In[1]:= a=5.95*10^-1;
b=5.22*10^-2;
c= -3.53*10^-1;
k=0.14;
f=a*Sin[x(1+k)]+b*Sin[x(1-k)]-c*Sin[x];
Plot[f,{x,0,25}]

Out[6]= <plot snipped>

By inspection pick starting points "near" each of the roots

In[7]:= Map[FindRoot[f==0,{x,#}]&, {0,3,6,9,12,14,17,20,22,24}]

Out[7]= {{x -> 0.}, {x -> 2.9177220113446776}, {x -> 5.822871346236126}, {x -> 8.701118634689632}, {x -> 11.534799430135319}, {x -> 14.302537173735368}, {x -> 16.98315627393366}, {x -> 19.56859265877026}, {x -> 22.08324005185527}, {x -> 24.587711402920295}}
 
Last edited:
  • #4
Silly me ... didn't read the question properly. A Mathcad solution validating the Mathematica one:

attachment.php?attachmentid=52276&stc=1&d=1351118674.jpg
 

Attachments

  • phys - 12 10 24 diffusion equation roots 01.jpg
    phys - 12 10 24 diffusion equation roots 01.jpg
    26.1 KB · Views: 677
  • #5
Thank you for your answers.

I was too much trying to find a solution that I didn't plot the curve.
I will try to take all the roots and implement them in my next equation.

Have a good day !
 

Related to Solving Equation Sinus: Best Software & Arguments

1. What is the best software for solving sinus equations?

The best software for solving sinus equations is subjective and depends on personal preference and the specific equation being solved. Some popular options include MATLAB, Wolfram Mathematica, and Maple.

2. Can I solve sinus equations without using software?

Yes, sinus equations can be solved by hand using various mathematical techniques, such as trigonometric identities and substitution. However, using software can save time and reduce the chances of errors.

3. Are there any arguments against using software for solving sinus equations?

Some arguments against using software for solving sinus equations include the cost of purchasing the software, the learning curve to use the software effectively, and the potential for the software to make mistakes in more complex equations.

4. How accurate are the results from software for solving sinus equations?

The accuracy of the results from software for solving sinus equations depends on the precision of the input and the algorithms used by the software. In general, these software programs have a high level of accuracy and can handle complex equations with many variables.

5. Is there a specific method or approach for solving sinus equations?

There are various methods and approaches for solving sinus equations, such as the unit circle method, the sum and difference formulas, and the double-angle formulas. The best approach will depend on the specific equation and the desired level of accuracy.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
2K
  • Special and General Relativity
Replies
2
Views
812
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
14
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
696
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
1K
Replies
2
Views
778
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
2
Replies
41
Views
8K
Back
Top