DiscussWorldIssues - Socio-Economic Religion and Political Uncensored Debate

DiscussWorldIssues - Socio-Economic Religion and Political Uncensored Debate (http://www.discussworldissues.com/forums/index.php)
-   General Discussion (http://www.discussworldissues.com/forums/forumdisplay.php?f=27)
-   -   Maple help (http://www.discussworldissues.com/forums/showthread.php?t=246264)

advabHixavoip 08-01-2007 06:42 PM

Maple help
 
How would I go on solving a trigonometric solution in a given interval? We're working on revising local extremes in differential calculus, so I'd, for instance like the solution to

f'(x) := x-> cos(x)+sin(x)

f'(x) > 0 within the interval [0; 2π]

The symbol for f' is fm

I've tried the Ti89 syntax with Maple's solve function, like
solve(fm(x) > 0, x) | 0 < x < 2π

But it doesn't work. Is there a parameter for solve that would give me solutions within a given interval?

Zysyewgg 08-01-2007 09:23 PM

Hi :-) I should know how to do this but I can't remember. I don't think this is exactly what you are looking for:

> restart;
> f1:= x ->cos(x) + sin(x);


> plot(f1(x), x = 0..3*Pi, color = black);

> fsolve(f1(x)=0 , x=0..3);
2.356194490

> fsolve(f1(x)=0 , x=4..7);
5.497787144

Basically, look at the plot and selecting the limits for fsolve, to "guide it in" to the solution you want.

Gareth

advabHixavoip 08-01-2007 11:33 PM

Exactly what I was looking for! Thank you!

Zysyewgg 08-02-2007 06:15 AM

Woohoo, no problem :-)
Gareth


All times are GMT +1. The time now is 06:16 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2