| | |
give me start
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
hello friend
i want to make java program to slove trigomeric eq but i dont know how to stare as i m new in java i don't 9 how trigomeric eq can slove bye java can u tell me how i should thikg logicaly i need u r logical help so i can write my code with help that logic.
plz help me so that i can write code by myself.
Example 1: http://www.sosmath.com/algebra/solve...9/s91/img1.gif
There are an infinite number of solutions to this problem. To solve for x, you must first isolate the sine term.
http://www.sosmath.com/algebra/solve...9/s91/img2.gif
We know that the http://www.sosmath.com/algebra/solve...9/s91/img3.giftherefore http://www.sosmath.com/algebra/solve...9/s91/img4.gif The sine function is positive in quadrants I and II. The http://www.sosmath.com/algebra/solve...9/s91/img5.gifis also equal to http://www.sosmath.com/algebra/solve...9/s91/img6.gif Therefore, two of the solutions to the problem are http://www.sosmath.com/algebra/solve...9/s91/img7.gif and http://www.sosmath.com/algebra/solve...9/s91/img8.gif
The period of the sin http://www.sosmath.com/algebra/solve...9/s91/img9.gif function is http://www.sosmath.com/algebra/solve.../s91/img10.gif This means that the values will repeat every http://www.sosmath.com/algebra/solve.../s91/img11.gif radians in both directions. Therefore, the exact solutions are http://www.sosmath.com/algebra/solve.../s91/img12.gif and http://www.sosmath.com/algebra/solve.../s91/img13.gif where n is an integer. The approximate solutions are http://www.sosmath.com/algebra/solve.../s91/img14.gif and http://www.sosmath.com/algebra/solve.../s91/img15.gif where n is an integer.
note:this is one ex of trignometric eq.
i want to make java program to slove trigomeric eq but i dont know how to stare as i m new in java i don't 9 how trigomeric eq can slove bye java can u tell me how i should thikg logicaly i need u r logical help so i can write my code with help that logic.
plz help me so that i can write code by myself.Example 1: http://www.sosmath.com/algebra/solve...9/s91/img1.gif
There are an infinite number of solutions to this problem. To solve for x, you must first isolate the sine term.
http://www.sosmath.com/algebra/solve...9/s91/img2.gif
We know that the http://www.sosmath.com/algebra/solve...9/s91/img3.giftherefore http://www.sosmath.com/algebra/solve...9/s91/img4.gif The sine function is positive in quadrants I and II. The http://www.sosmath.com/algebra/solve...9/s91/img5.gifis also equal to http://www.sosmath.com/algebra/solve...9/s91/img6.gif Therefore, two of the solutions to the problem are http://www.sosmath.com/algebra/solve...9/s91/img7.gif and http://www.sosmath.com/algebra/solve...9/s91/img8.gif
The period of the sin http://www.sosmath.com/algebra/solve...9/s91/img9.gif function is http://www.sosmath.com/algebra/solve.../s91/img10.gif This means that the values will repeat every http://www.sosmath.com/algebra/solve.../s91/img11.gif radians in both directions. Therefore, the exact solutions are http://www.sosmath.com/algebra/solve.../s91/img12.gif and http://www.sosmath.com/algebra/solve.../s91/img13.gif where n is an integer. The approximate solutions are http://www.sosmath.com/algebra/solve.../s91/img14.gif and http://www.sosmath.com/algebra/solve.../s91/img15.gif where n is an integer.
note:this is one ex of trignometric eq.
Last edited by ajay_tabbu; Mar 1st, 2007 at 4:18 am.
•
•
Join Date: Feb 2007
Posts: 27
Reputation:
Solved Threads: 1
You need to import the java math package, (import java.lang.Math)
use the method sin(). It takes doubles.
Eg.
use the method sin(). It takes doubles.
Eg.
Java Syntax (Toggle Plain Text)
double x = //something double answer = sin(x); answer = 2*answer - 1;
Nel sogni, come in amore, non ci sono cose impossible
All of the methods you need are in the Math Class.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
Similar Threads
- Help win XP will not start. (Windows NT / 2000 / XP)
- hijackthis log pls help quick (Viruses, Spyware and other Nasties)
- Forum lurkers, introduce yourself ... !! (Community Introductions)
- PHP Templating system (PHP)
- C++ is dying a slow death (C++)
- I don't know how to start (JavaScript / DHTML / AJAX)
- having problem with this Question (Java)
- I need help (C++)
- HiJackThis & Startup Logs attached (Viruses, Spyware and other Nasties)
- Slow start up Win2000Pro (Windows NT / 2000 / XP)
Other Threads in the Java Forum
- Previous Thread: hide the title bar
- Next Thread: Path for BDK1.1
Views: 1101 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for Java
android api apple applet application apps arguments array arrays automation binary bluetooth businessintelligence card chat class classes client code collision component crashcourse database draw eclipse ee error event exception file fractal free game gis givemetehcodez graphics gui helpwithhomework html ide image input integer integration j2me java javadoc javafx javaprojects jmf jni jpanel julia jvm linux list loop machine map method methods migrate mobile netbeans newbie nls number object oracle physics print problem program programming project radio recursion scanner screen security server service set size sms socket software sort sql string swing test textfield threads time transfer tree trolltech utility windows






