Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Creating an aplication N900

Creating an aplication N900

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 3 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    edgarillo1
    wrote on last edited by
    #1

    Hello I just received a N900 and have been playing with it and wanted to learn how to make application for it so my first project I tough I could make a simple program that can find the root of an equation using the Bisection method.
    I Should contain a friendly user interface,
    Consisting of a text box where the user enter the equation
    Two more where the user enter two points
    an additional one where the the user indicate the number of repetition to do.

    The method is base in replacing the 'x' in the equation with the first point given and obtaining the result, them repeat with the secound point and finally It necessary to find a third point and obtain a result.

    Example
    Solve
    F(x)=x-2
    equation
    a=0
    Initial point
    b=5
    second point
    c=(b-a)/2=2.5
    Third point

    Solve for
    F(a)=0-2=-2
    then
    F(b)=5-2=3
    Then
    F(c)=2.5-2=.5

    Then compare sign of solution
    F(a) is negative
    F(b) is positive
    If there are different that means that theirs at least one solution in between them
    and if any of them is equal to zero them that is the solution (F(x)=0).

    Then it necessary to obtain f( c) sign.(positive)
    comparing to F(a) and F(b) it necessary to determine which has the same kind of sign and replace there value with c

    Example
    F(b) and F( C) are both positive then b is replace with c
    b=c

    and repeat until F(x)=0 or the amount of repetitions said by the user.
    And then give the user that is the answer.

    I think it a good challenge, has anyone have some advise on ho to tackle the problem?
    I will appreciated any help

    Never the less

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Nokia N900 is with Maemo OS. You can learn more information about app development for this device at "Nokia Developer":http://www.developer.nokia.com/Devices/Maemo/ and "maemo.org":http://maemo.org/

      http://anavi.org/

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mlong
        wrote on last edited by
        #3

        However, I don't think this is necessarily a N900-specific problem.

        Are you new to Qt also? New to C++? If so, it would probably be easier to work through creating the "business logic" of your app in a desktop environment, so that you can focus on solving the problem at hand. Then, after you have the logic down, you could work on the specifics of porting to the mobile device. Just less of a learning curve that way and it wouldn't necessarily clutter up the most important parts.

        Software Engineer
        My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved