Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Solving Transcendental Equations ~ sin(x)/x
Replies: 3   Last Post: Nov 26, 2012 5:17 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alan Weiss

Posts: 1,325
Registered: 11/27/08
Re: Solving Transcendental Equations ~ sin(x)/x
Posted: Oct 11, 2012 8:40 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 10/11/2012 12:33 AM, ehahn wrote:
>>> syms y;
>>> p=0;
>>> k = -2*pi;.01:2*pi;
>>> s='P*sin(y*a)/(y*a)+cos(y*a)=cos(x*a)';
>>> solve(s)

> Warning: Explicit solution could not be found.
>> In solve at 169
> ans =
> [ empty sym ]
> Hi all, I am trying to solve this transcendental eqn for a class project. I only know Matlab basics and I am having trouble figuring out what is not working.
> Ideally I would solve this for p = [0 3*pi/2 3*pi/10 1000] and then plot(x,y)
> Thanks for any help
> -Eric
> --http://compgroups.net/comp.soft-sys.matlab/

In my opinion, you should be looking for numerical solutions, not
symbolic ones. Take a look at the documentation for fzero.

Alan Weiss
MATLAB mathematical toolbox documentation

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.