Math and galaxys

I'm working on a project where I am interested in generating a spiral galaxy in two dimensions, but making very slow progress so far. Basically, I need to develop a method of taking information such as:
How many stars
How many arms
Minimum distance stars can be apart
Maximum distance stars can be apart
Density (related to the previous two)
and turning it into an array of (x, y) values that, if graphically represented, take the shape of a classical spiral galaxy. The number of stars would be anywhere from 1,000 to 10,000 or so -- plenty for realistic results, I'd say. Has anyone seen anything like this out on the web? I have some ideas on how to get started, but my math (this sort of math, anyway) is pretty rusty and I'd hate to spend a lot of time re-solving this problem.

You might want to look into perlin noise and their applications in generated geometry. Basicly the idea is to use a predefined spiral image and then modulate the points ( stars ) based on a 2d or higher perlin noise function. Since perlin noise is a pseudo noise that "flows" you could use a 3d perlin nose function and your galaxy could "flow" through time ( ie the start move in a resonable manner ).
Cheers.

Similar Messages

  • Difference between Math and StrictMath?

    What is the difference between these classes? They look the same.

    http://java.sun.com/j2se/1.4.1/docs/guide/lang/enhancements-1.3.html
    Classes java.lang.Math and java.lang.StrictMath
    The Java 2 Platform now contains two clases which provide API for performing general numeric operations.
    java.lang.StrictMath - Class java.lang.StrictMath has the same API as old class java.lang.Math, which was present previous versions of the Java platform. Unlike class Math, however, StrictMath is defined to return bit-for-bit reproducible results in all implementations.
    java.lang.Math - Class java.lang.Math provides the same set of API as does class StrictMath. However, unlike some of the numeric functions of class StrictMath, all implementations of the equivalent functions of class Math are not defined to return the bit-for-bit same results, but can vary within specified constraints. This permits better-performing implementations where strict reproducibility is not required.

  • Math and circle rotation

    Okay this is a math question! :-)
    I worked on a logo for a class I'm taking in Illustrator. It looks like this:
    I created one tiny chair icon and then rotated it around the circle to space them. Thing is: I had to guess at the angle until I got it spaced right. I know there must be some way to figure that out mathematically without doing trial-and-error, only I don't know what it is. Unfortunately, I was always good at algebra but terrible at geometry! Does anyone know that type of math? I'd love to learn that as I expect to encounter many instances of this.
    Thanks, Phyllis

    360 divided by the number of elements will give you the angle.
    See
    Teri Pettit's tutorial on transform effects
    , especially the second "page" on rotation.
    Something like that can also be done with a scatter brush. The proper brush setting will take care of rotating each element with respect to your path, and you can futz around with sliders to get the size and spacing of elements you want.

  • Math and databases - how?

    I have a project which will need to access database info and do some simple math functions. The only code I know is HTML and CSS, so I don't even know what I need to learn.
    I need to pull pricing data from a database when the visitor selects from a form or Spry menu. For example, if they select Connecticut and utility company XYZ, it will give them competive electricity rates in their area.
    Also I want to set up some simple math functions (visitor inputs their electricity usage and rate and site tells them how much they could save).
    I would appreciate anyone could tell me what I will need to learn to accomplish these tasks and if Dreamweaver has any useful tools for creating it. Thanks!

    1.  Let's start with the basics.  Go to your client and ask them what database they have so you know what you will be working with.  If they have not made up their mind, then the first step is investigating the options of mySQL, MS SQL, etc.  Then based on the server language available you can run a simple query to pull out data.
    2.  This sounds like a combination of pulling data from a database using a server-side function and then using Javascript to process the math equation on the fly with the data you pulled.
    So you will need to learn a database, a server-side language to get information out of the database and javascript to process the information in real-time.

  • Math and Integer classes gone???

    Hello,
    I'm using the J2ME Wireless Toolkit to build my applications. For some reason it is having problems when I try using these two classes. I get a "cannot resolve symbol" error when I try using Math.round(float) and new Integer(String). Anyone know why this is happening?
    Thanks,
    JD

    Maybe I misunderstood the original question, I thought he was asking for a function that rounded the division of a number to the closest integer. For example: 2.95 -> 3, 2.5 -> 3, 2.48 -> 2....
    I have never used fixed point math so I wanted to try out that little function of yours and I put it into my app and tested it. It seems to actually be doing integer division plus a tiny bit. Then purely on a random guess I tried replacing the 1 with a y and it was now rounding the numbers in the standard way. Here is my code and test cases:
    System.out.println(roundedRatio(180,39)+"-"+roundedRatio(180,40)+"-"+roundedRatio(180,41));
              System.out.println(roundedRatio(180,71)+"-"+roundedRatio(180,72)+"-"+roundedRatio(180,73));
              System.out.println(roundedRatio(180,119)+"-"+roundedRatio(180,120)+"-"+roundedRatio(180,121));
              System.out.println(roundedRatio1(180,39)+"-"+roundedRatio1(180,40)+"-"+roundedRatio1(180,41));
              System.out.println(roundedRatio1(180,71)+"-"+roundedRatio1(180,72)+"-"+roundedRatio1(180,73));
              System.out.println(roundedRatio1(180,119)+"-"+roundedRatio1(180,120)+"-"+roundedRatio1(180,121));
         int roundedRatio(int x, int y) {
           int fpX = x << 8; // 8 is just an arbitrary number used as fixed point precision
           int fpHalf = 1 << 7; // shift one space less and you get 0.5 with that fixed point precision
           return ((fpX + fpHalf) / y) >> 8;
          int roundedRatio1(int x, int y) {
           int fpX = x << 8; // 8 is just an arbitrary number used as fixed point precision
           int fpHalf = y << 7; // shift one space less and you get 0.5 with that fixed point precision
           return ((fpX + fpHalf) / y) >> 8;
          }float values: 180/40 = 4.5, 180/120 = 2.5 etc.
    output is:
    4-4-4
    2-2-2
    1-1-1
    5-5-4
    3-3-2
    2-2-1

  • Math and programming

    I have a few question regarding learning OOP.
    1) do you have to be any good at math to be a decent programmer?
    2) is it true that it is better to start off learning Java before
    attempting the likes of C/C++?
    3) Will it harm your learning development if you try and learn more
    than one language in your early stages of programming?

    I have a few question regarding learning OOP.
    1) do you have to be any good at math to be a decent
    programmer?No, not at all. It helps if you have a predisposition, but programming doesn't normally require much math. More like problem-solving skills
    2) is it true that it is better to start off learning
    Java before
    attempting the likes of C/C++?People argue this point a lot. I personally think that learning C first is the best way to start, because it is so raw. Java hides a ton of stuff from you, and I can generally tell someone who's either never learned c or learned it after java or some other higher-level language because their code is not as tight.
    3) Will it harm your learning development if you try
    and learn more
    than one language in your early stages of
    of programming?A little bit, just in the sense that when you learn one language at a time, you start to understand what it can do, and where it came from. For instance, C is an awesome basic language for doing things like function calls, managing the stack, etc. To really understand Java, you kinda need to experience some of the downside to C (ie void ptrs) and see how C++ and Java were built to fix/ameliorate those problem.

  • Math and Java

    so..a newbie question. How important is Math to being a good programmer?

    i guess the possibilities are endless. If i dont have
    the luxury of school, what can i learn that
    will get me a job?fry-cooking?
    in what way don't you have the luxury of school? presumably going back to school is out of the question. sadly, if you're after a coding job, you'll have a hard time convincing anyone to give you even an interview, based solely on having taught yourself programming. even though it's perfectly possible - and indeed happens - to teach yourself this, and do it well. employers like qualifications, and given the choice between someone with a piece of paper that "proves" (note cynicism) they can do the job, and someone without any such piece of paper, they're always going to take the guy with the paper

  • Inconsistent Floating Point Math and NaNs on Windows Laptops?

    All -
    I am seeing some very strange inconsistent floating point calculations on Windows Laptops, and I am wondering if anyone has any ideas. Read on, as (to me!) it's very interesting....
    I have attached a segment of our code, along with some sample output. Looking at the code and the output, it seems like it's totally impossible.
    With supposedly non-NaN and non-infinite double values, I am seeing unrepeatable and inconsistent math - the below example only illustrates one such case where we're seeing this behavior.
    If you look at the code below, you will see that I do things like:
    double rhoYo = ...  // some math
    double rho = ...  // exact same mathStrangely enough, I might get rhoYo = 1.51231231 etc and rho = NaN.
    If I reverse those lines (vertically), then again, rhoYo comes out good and rho comes out NaN; however, this is unpredictable and inconsistent. If I project a source point, get a destination point with NaNs as a result, and project the source again, the second destination point may be just fine. Matter of fact, i can put a loop in the code such as:
          double rho = Double.NaN;
          for( int i = 0; i < 10; i++ )
            rho = my_earthRad * my_F / Math.pow(Math.tan(Math.PI/4.0 + latRad/2.0), my_n);
            if( ! Double.isNaN( rho ) )
              break;
            System.out.println("NaN'ed rho");
          }and rho will eventually become non-NaN (random # of iterations)!!
    How's that possible? Our code might be tromping on memory somewhere, but this sure seems crazy to me, especially considering that
    we're only using local variables. Anyone know of floating point errors on Windows Laptops?
    With the exact same codebase, this behavior ONLY happens on Windows Laptops, including brand new Dells, old Dells, IBM, Intel and AMD chips (I've tried several ;-). It does NOT happen on Mac or Linux, including the Linux side of a Linux/Windows dual-boot (where it does happen with the Windows side). Even more strangely, it does NOT happen with Windows desktops. I have tried several 1.5.x JVMs, webstart vs no webstart, etc, to no avail. Always and only on Windows Laptops.
    Please help.... ;-) and thanks in advance.
    Sample code:
    public class Projection
      protected Point2D.Double _project(Point2D.Double srcPt, Point2D.Double dstPt) {
        final double my_degToRad = Math.PI / 180.0;
        final double my_originLon = -95.0;
        final double my_originLonRad = my_originLon * my_degToRad;
        final double my_originLat = 25.0;
        final double my_originLatRad = my_originLat * my_degToRad;;
        final double my_stdLat1 = 25.0;
        final double my_stdLat1Rad = my_stdLat1 * my_degToRad;
        final double my_earthRad = 6371.2;
        final double my_n = Math.sin( my_stdLat1Rad );
        final double my_F = Math.cos( my_stdLat1Rad ) * Math.pow( Math.tan( Math.PI / 4.0 + my_stdLat1Rad / 2.0 ), my_n ) / my_n;
        final double my_rhoZero = my_earthRad * my_F / Math.pow( Math.tan( Math.PI / 4.0 + my_originLatRad / 2.0 ), my_n );
        if ( Double.isNaN( my_n ) || Double.isNaN( my_F ) || Double.isNaN( my_rhoZero )) {
          return new Point2D.Double(Double.NaN, Double.NaN);
        if( Double.isNaN( srcPt.x ) || Double.isNaN( srcPt.y ) )
            System.out.println("======= _project received a srcPt with NaNs. Returning NaN point.");
            Point2D.Double nanPoint = new Point2D.Double();
            nanPoint.x = nanPoint.y = Double.NaN;
            return nanPoint;
        if( Double.isInfinite( srcPt.x ) || Double.isInfinite( srcPt.y ) )
            System.out.println("======= _project received a srcPt with isInfinite. Returning NaN point.");
            Point2D.Double nanPoint = new Point2D.Double();
            nanPoint.x = nanPoint.y = Double.NaN;
            return nanPoint;
        //  Inputs are lon, lat degrees.
        final double lonRad = srcPt.x * my_degToRad;
        final double latRad = srcPt.y * my_degToRad;
        final double theta = my_n * (lonRad - my_originLonRad);
        // One Std lat -- tangential cone.
        final double rhoYo = my_earthRad * my_F / Math.pow(Math.tan(Math.PI/4.0 + latRad/2.0), my_n);
        final double rho   = my_earthRad * my_F / Math.pow(Math.tan(Math.PI/4.0 + latRad/2.0), my_n);
        // Computes kilometers in lambert space.
        dstPt.x = rho * Math.sin(theta);
        dstPt.y = my_rhoZero - (rho * Math.cos(theta));
        // WANK - Here's the problem!  These values shouldnt be NaN!
        if( Double.isNaN( dstPt.x ) || Double.isNaN( dstPt.y ) )
            System.out.println("======= A _projected dstPt has NaNs. Dumping...vvvvvvvvvvvvvvvvvvvvvvvvvvvv");
            if( Double.isNaN( dstPt.x ) )
                System.out.println("======= dstPt.x is NaN");
            if( Double.isNaN( dstPt.y ) )
                System.out.println("======= dstPt.y is NaN");
            System.out.println("======= my_stdLat1 = " + my_stdLat1 );
            System.out.println("======= my_n = " + my_n );
            System.out.println("======= my_originLonRad = " + my_originLonRad );
            System.out.println("======= my_F = " + my_F );
            System.out.println("======= my_earthRad = " + my_earthRad );
            System.out.println("======= lonRad = " + lonRad );
            System.out.println("======= latRad = " + latRad );
            System.out.println("======= theta = " + theta );
            System.out.println("======= Math.tan(Math.PI/4.0 + latRad/2.0) = " + Math.tan(Math.PI/4.0 + latRad/2.0) );
            System.out.println("======= Math.pow(Math.tan(Math.PI/4.0 + latRad/2.0), my_n) = " + Math.pow(Math.tan(Math.PI/4.0 + latRad/2.0), my_n) );
            System.out.println("======= rho = " + rho );
            System.out.println("======= rhoYo = " + rhoYo );
            System.out.println("======= Math.sin(theta) = " + Math.sin(theta) );
            System.out.println("======= dstPt.x = " + dstPt.x );
            System.out.println("======= Math.cos(theta) = " + Math.cos(theta) );
            System.out.println("======= my_rhoZero = " + my_rhoZero );
            System.out.println("======= (rhoYo * Math.cos(theta)) = " + (rho * Math.cos(theta)) );
            System.out.println("======= my_rhoZero - (rhoYo * Math.cos(theta)) = " + (my_rhoZero - (rho * Math.cos(theta)) ));
            System.out.println("======= dstPt.y = " + dstPt.y );
            System.out.println("======= A _projected dstPt had NaNs. Done dumping. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^");
        return dstPt;
    }And here's the sample output:
    ======= A _projected dstPt has NaNs. Dumping...vvvvvvvvvvvvvvvvvvvvvvvvvvvv
    ======= dstPt.x is NaN
    ======= dstPt.y is NaN
    ======= my_stdLat1 = 25.0
    ======= my_n = 0.42261826174069944
    ======= my_originLonRad = -1.6580627893946132
    ======= my_F = 2.5946660025799146
    ======= my_earthRad = 6371.2
    ======= lonRad = -2.7564670759053924
    ======= latRad = 0.3730758324037379
    ======= theta = -0.4642057102537187
    ======= Math.tan(Math.PI/4.0 + latRad/2.0) = 1.4652768116539785
    ======= Math.pow(Math.tan(Math.PI/4.0 + latRad/2.0), my_n) = 1.175224090766834
    ======= rho = NaN
    ======= rhoYo = 14066.369269924155
    ======= Math.sin(theta) = -0.44771270676160557
    ======= dstPt.x = NaN
    ======= Math.cos(theta) = 0.8941774612481554
    ======= my_rhoZero = 13663.082491950498
    ======= (rhoYo * Math.cos(theta)) = NaN
    ======= my_rhoZero - (rhoYo * Math.cos(theta)) = NaN
    ======= dstPt.y = NaN
    ======= A _projected dstPt had NaNs. Done dumping. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    HI JSchell (and others?) -
    I have created a simple example attached below, that when run repeatedly, does indeed generate spurious NaNs. I have made it as simple as possible. In the code, I use my own lon/lat binary data file, though I am sure any will do. Let me know if anyone wants that file.
    So the deal is that (with my data at least) this program should never generate NaN results. And if one runs it 25432 (eg: random #) times, it wont, but then the 25433th time, it will create NaNs, etc. ie: inconsistent NaN math results.
    As I said before, I have run this on old and new Dell laptops under Windows XP, using java 1.5_02, 1.5_04 and 1.5_08. The latest run was on a brand new Dell with a Intel Core Duo T2600 processor, running XP. If this is a result of the Pentium bug, one would think that would be fixed by now. I have NOT yet tested on AMD, though I will do that this afternoon.
    Remember, this ONLY happens with Windows Laptops.
    Any ideas anyone? Thanks in advance ;-)
    Here's the code that produces spurious NaNs:
    import java.awt.geom.Point2D;
    import java.io.DataInputStream;
    import java.io.EOFException;
    import java.io.File;
    import java.io.FileInputStream;
    public class FloatingPointTest2 implements Runnable
      private static final int NUM_ITERATIONS = 100000;
      private double _degToRad = Math.PI / 180.0;
      private double _originLon = -95.0;
      private double _originLat = 25.0;
      private double _originLonRad = _originLon * _degToRad;
      private double _originLatRad = _originLat * _degToRad;;
      private double _stdLat1 = 25.0;
      private double _stdLat1Rad = _stdLat1 * _degToRad;
      private double _earthRad = 6371.2;
      private double _n = _n = Math.sin( _stdLat1Rad );
      private double _F = Math.cos( _stdLat1Rad ) * Math.pow( Math.tan( Math.PI / 4.0 + _stdLat1Rad / 2.0 ), _n ) / _n;
      private double _rhoZero = _earthRad * _F / Math.pow( Math.tan( Math.PI / 4.0 + _originLatRad / 2.0 ), _n );
      private Point2D.Double _project( Point2D.Double srcPt, Point2D.Double dstPt )
        if( Double.isNaN( srcPt.x ) || Double.isNaN( srcPt.y ) )
          System.out.println( "FloatingPointTest2: received a NaN srcPt.  Skipping." );
          return new Point2D.Double( Double.NaN, Double.NaN );
        //  Inputs are lon, lat degrees.
        final double lonRad = srcPt.x * _degToRad;
        final double latRad = srcPt.y * _degToRad;
        final double theta = _n * ( lonRad - _originLonRad );
        double rho = _earthRad * _F / Math.pow( Math.tan( Math.PI / 4.0 + latRad / 2.0 ), _n );
        dstPt.x = rho * Math.sin( theta );
        dstPt.y = _rhoZero - ( rho * Math.cos( theta ) );
        return dstPt;
      public void doTest()
        DataInputStream instream = null;
        int thisRunNaNCount = 0;
        Point2D.Double tempPt = new Point2D.Double();
        Point2D.Double dstPt = new Point2D.Double();
        try
          instream = new DataInputStream( new FileInputStream( System.getProperty(
            "user.home" ) + File.separatorChar + "lonLatBinaryData.bin" ) );
          try
            while( true )
              double lon = instream.readDouble();
              double lat = instream.readDouble();
              if( Double.isNaN( lon ) || Double.isNaN( lat ) )
                continue;
              tempPt.x = lon;
              tempPt.y = lat;
              dstPt = _project( tempPt, dstPt );
              if( Double.isNaN( dstPt.x ) || Double.isNaN( dstPt.y ) )
                thisRunNaNCount++;
          catch( EOFException e )
    //        System.out.println( "End of file" );
          if( thisRunNaNCount > 0 )
            System.out.println( "thisRunNaNCount = " + thisRunNaNCount );
          instream.close();
        catch( Exception e )
          e.printStackTrace();
          System.exit( 1 );
      public void run()
        doTest();
      public static void main( String args[] )
        System.out.println( "Executing FloatingPointTest2." );
        for( int i = 0; i < NUM_ITERATIONS; i++ )
          FloatingPointTest2 test = new FloatingPointTest2();
          test.doTest();
    }

  • Simple math and a variable in an mc instance name

    i have several movie clips with instance names in the format
    of screened1, screened2, screened3, and so on. i am trying to
    reference a movie clip as shown below, but it's not working. what
    am i doing wrong? how do i fix it?
    this.screened[numOfItems-8].transform.matrix = F1toP0;
    the transform, matrix and all of that works fine. but when i
    add the information between [ ] to make reference to the movie clip
    instance name, no go. numOfItems is a number, and when run trace on
    it.... it does return a value in the output.

    right on. my favorite flash genius. thanks again!

  • Select query, math and time

    Hi All;
    I had Table as below:
    UNIX_TIMESTAMP COUNT_VAL
    1185416330 3
    1185416355 2
    1185416356 8
    1185416357 2
    1185416359 0
    1185416361 1
    1185416362 5
    1185416363 7
    1185416367 0.16
    What I wanted to do is to get:
    1. Average in intreval time like 5 sec
    2. Highest value in interval time like 5 sec
    For case 1:
    The result should look like below:
    UNIX_TIMESTAMP COUNT_VAL
    1185416335 0.6
    1185416340 0
    1185416345 0
    1185416350 0
    1185416355 0.4
    1185416360 2
    1185416365 2.6
    1185416370 0.03
    For case 2:
    The result should look like below:
    UNIX_TIMESTAMP COUNT_VAL
    1185416335 3
    1185416340 0
    1185416345 0
    1185416350 0
    1185416355 2
    1185416356 8
    1185416363 7
    1185416367 0.16
    The query should have select between UNIX_TIMESTAMP range.
    So far I have no idea on how to do that. I really need help for above.
    Please advise. Thank you very much.
    Br
    -Khamal-

    Your Explanation is not clear atleast for me.
    Why your o/p starts with ...35, even if there is an i/p value = ...30.Why there is no
    o/p curresponding to ...60? (Second case)
    How is your range Defined..?From o/p it seems to be 26-30,31-35,36-40...(But no ..30 appears)
    Anyhow below sample code may give you a start .
    SQL> select * from test;
            TS        CNT
            30          3
            55          2
            56          8
            57          2
    SQL>  with t as
      2   (select min(ts) minimum,max(ts) maximum
      3    from test)
      4   select rn ts,sum(nvl(cnt,0))/5 avrg
      5   from test,(select minimum+(level-1)*5 rn
      6              from t
      7              connect by level <= ceil((maximum-minimum)/5)+1) t1
      8   where test.ts(+) between t1.rn-4 and t1.rn
      9   group by rn
    10   order by 1;
            TS       AVRG
            30         .6
            35          0
            40          0
            45          0
            50          0
            55         .4
            60          2
    7 rows selected.
    Message was edited by:
            jeneesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • A bit of math and two popup buttons

    HI
    got this wee script that im trying to knock up, in AS Studio, the idea for it
    is to have two popup buttons both would have specific numbers in them,
    ie: "theDiam", would have say 64, 72 etc etc, and "theNum" would have 2, 3, 4 etc etc,
    and a text field that would display the result.
    It needs to have the number from the popup button "theDiam" multiplied by pye then that
    result needs to be divided by the number from popup button "theNum", that result in turn
    needs to be displayed in the text field "myDist".
    Cant seem to get it quite right, the result I get back is:
    Can't make contents of «class texF» "myDist" of window "main" of window "main" into type reference. (-1700)
    So I presume from this that either ive set the text field area up wrong, or the script isnt
    quite right.
    on clicked theObject
    if name of theObject is "info" then
    tell window "main"
    set _Amount to name of current menu item of popup button "theNum" as number
    set _origNum to name of current menu item of popup button "theDiam" as number
    set _newNum to (_origNum) as number
    set _newNum to (_newNum * 3.1416) as number
    set _finalResult to (_newNum / (_Amount)) as number
    set contents of text field "myDist" of window "main" to _finalResult as text
    end tell
    end if
    end clicked
    Budgie

    Hey Cyclosaurus
    thanks for the "pi" tip, (i must learn how to spell properly , added your suggestion, it did not work, at first, the result errored and showed:
    Can't make contents of «class texF» "myDist" of window "main" of window "main" into type reference. (-1700)
    problem two "window mains", so I removed:
    set contents of text field "myDist" of window "main" to _finalResult as text
    and replaced with
    set contents of text field "myDist" to _finalResult as text
    and all is perfect, appreciate the pointers
    Budgie

  • Logic symbols in math and philosophy (via keyboard app)

    Hello friends,
    I want a keyboard via an  app that allows me to input logic symbols. Like in math or philosophy. Symbols such as therefore, since, causation etc. what app would provide this?
    When I google this, I get logic pro or logic express for iPad. What is this?

    tridentinecanon wrote:
    I noticed MS Word has a dedicated panel for this. 
    Are you referring to Insert > Symbol?  Why is Character Viewer worse than that?  Aren't they essentially the same thing?
    In Word, under the Document Elements toolbar, there is an option to insert equations.  What's nice about this is that it makes all the math symbols available for selection right in the toolbar.
    I don't consider them the same mainly because the Character Viewer is in a separate window.

  • A general question only regarding math and computer

    Do you think the following statement that is a question?
    question 1)
    A set of all strings 0's and 1's not containing 101 as a substring
    it can be answered as Regular Expression, contructing a DFA or Others
    I would like to find out that as a Engineer (Software/Hardward)
    how he/she feels about this statement?
    a question or NOT a question?

    Hi,
    You can install the WWI-generation server locally on your desktop/laptop. You need the generation server if you want to have generated output for customers. For testing the layout, you don't need it.
    Installing the WWI-server is well documented in the IMG-notes
    Regards,

  • Math and payment gateways?

    Can I perform simple caclulations in this form?  Can I name variables and pass those variables to my payment gateway?

    This is not something we currently support but you can add or vote on feature ideas:
    http://forums.adobe.com/community/formscentral?view=idea
    If you need to add a new idea click "Create an idea" under "Actions" in the top right.
    Thanks,
    Jeff Canepa
    Software Quality Engineer
    Adobe Systems, Inc.
    [email protected]

  • How do I "Print Booklet" with just odd pages and even pages for duplexing . . options disabled

    I have InDesign CS5.5 on a Windows 7 64-bit machine hooked to a Xerox 7750 printer.  I have created a 8.5x11 portrait document and trying to create a booklet on 12x18 sheets.
    I need to print duplex manually and so I need to print just the odd spreads and then the even spreads.
    I have printed to Adobe PDF and printed from my created PDF file and have it working, but I want to know why InDesign won't let me do it.  When I click "File > Print Booklet > Print Settings" then it shows the Print Dialog box with the Pages section, which includes the Sequence that normally would allow me to do Odd Pages or Even Pages, but it is disabled.  Why?  I can define Print Presets and I can choose Odd Pages, but when I choose that in the Preset box it does not show anything, everything is still disabled.
    Anybody have any idea of why it is disabled?  Is it my printer driver?

    I too was very frustrated after upgrading to indesign cs5.5 and the latest LION OS on my new MAC.  I missed the odd/even page selection in the print dialog box within Indesign.  I tried about everything and found little of value in various forums.  But I did find a workable solution that makes since in terms of Apple's OS.
    My objective is to "impose" my document and also end up with a file that I can just print again and again without "ripping" in the InDesign Print Booklet Dialog.
    Here is the quick version of what to do.  I am not including every little step with pictures. =)  (I can if there is interest.)
    1. create your document
    2. Print Booklet
    3. At the first dialog box, just ignore the printer in print preset (you will come back to this) and go to the 2-up perfect bound option and select 16 page signatures.  This will impose 2-up on 4 physical pieces of paper printed both sides.  So 16 of your document pages printed duplex on 4 physical sheets of paper.  It would be nice to then just select the printer and scaling, etc. and the option to print even pages, flip over and then print odd pages but that ain't an option.  If you have different needs, do the math and input the correct numbers before proceeding
    4. Click on Print Settings  to pull up a second dialog box.
    5. Select for Printer PostScript File (not your printer)  Also select for PPD your printer or Adobe PDF 9 if you have that installed.  Don't obsess on this just pick your Printer for the PPD.
    6. Select 1 copy and All Pages while in the General Tab
    7. Select the Setup Tab Here is where you put in the actual physical paper size that you are going to print your document on. Don't scale to fit.  You must do this.  If you feel the need, check out all the tabs and options but for now, you are just trying to get an output file.  You probably do want to select CENTER for page position in this same setup tab.
    8. Hit OK whcih will return you to the original dialog.  Check when you return to be sure that at the top Printer is populated with PostScript File.  Click on Print and give the thing a name and a location to save at the resulting dialog.
    Breathe as you are almost home.  You have sucessfully created a file that can be called up again and again without opening InDesign. (albeit, a postscript file but not a problem)
    Now,
    1. Double click on this new file (it will have a .ps extention) or just open it in your PREVIEW (apple supplied utility)   Preview is where you accomplish the even and odd page objective.
    2. Preview will show you a short progress dialog while it rips this postscript file into a PDF.
    3. Click on PRINT
    4. Select your printer,page range, select the Paper Size (again not document size  but  the size sheet that you are printing the 2-up , imposed (booklet) document on. If not in the selection dialog, then use the custom option to create it (custom paper size) and give it a name.
    5. Click on SCALE and insert 100% in place of the weird number that it will insert for you.  You will then see your document correctly displayed in the sidebar preview window.
    6.  OK, now what you have been waiting for. Click on the box that says Preview (the active window) and select Paper Handling from the drop-down and select from Pages to Print the coveted odd or even page selection.  You can also do other things that should have been back at the InDesign print dialog but are now gone.  Explore. Enjoy.
    7.  You will have to work out your own work flow about reverse or no reverse order and how to flip, etc. But you will be working with something predictable at this point.
    8.  Since this has been ripped into a PDF , you might as well Click on the PDF button and click on save as a PDF at this point to save that postscript to PDF rip.   Also print using PREVIEW for the newly created PDF file next time as you will not have to learn a bunch of new dialogs and be frustrated all over again.
    I am now back in business printing the book blocks for my handbound journals.

Maybe you are looking for