Jump to content

Sensei

Senior Members
  • Posts

    7722
  • Joined

  • Last visited

  • Days Won

    26

Posts posted by Sensei

  1. Actually it should be possible to measure/check in laboratory experiment.

     

    Imagine beam of electrons emitted by electron-gun inside of vacuum tube.

    Couple such setups f.e. 3 with slightly offset between them.

    On one side there is electromagnet.

     

    Electron guns are emitting electrons:

    1) when electromagnet is turned off

    2) when electromagnet is turned on

     

    We know distances between electron beams and each electromagnet. And can deduce whether change in direction of electron beam is delayed or not.

     

  2. I wanted to know why do we multiply by 2 to convert a decimal ([latex]0.5[/latex], [latex]0.25[/latex]) to a binary and why do we divide by [latex]2[/latex] when we want to convert a whole number [latex](200)[/latex] by [latex]2[/latex]? Obviously, it works but how ?

    Dividing can be replaced by multiplication by value power negative exponent.

     

    f.e.

    23=8

    22=4

    21=2

    20=1

    2-1=1/2=0.5

    2-2=1/4=0.25

    2-3=1/8=0.125

     

     

    To convert decimal to binary you don't need to multiply or divide. It's just one of algorithms.

     

    See this:

     

    unsigned int value = 65535; // value to show as binary

    for( unsigned int i = 31; i >= 0; i-- )

    {

    unsigned int x = 1<< i; // equivalent to 2^i

    if( value > x )

    {

    value -= x;

    printf( "1" );

    }

    else

    {

    printf( "0" );

    }

    }

  3. Using web-text provided by my phone company. But they have their own page for it on their website and I didn't see any way of me using that from a php script.

    Typical SMS gateway is using HTTP POST request.

     

    You need to simulate it..

     

    Website has to "think", yours script is real web browser..

     

    You don't want to reveal what is URL, so can't help more specific..

     

     

    And a GSM/3G network licence. Since I can't just transmit radio signals around here. I also would have to transmit within a particular frequency range. I doubt the telephone companies design the routers themselves I would imagine they have somebody make them. But I have no idea who makes them.

    I have no idea what are you talking about..

     

    There is no needed any license to send sms..

     

    ps. PHP allows BSD low-level programming of TCP/IP sockets http://php.net/manual/en/book.sockets.php

    So, you can send/receive very low-level packets. But this requires knowledge..

  4. It would be much easier for you to write app for Android,

    which will be downloading website every couple seconds/minutes,

    and informing about change on phone screen.

     

    Website is yours, generated automatically by PHP.

     

    You send info to server, PHP server is generating website, and mobile phone is periodically checking website change..

     

    If you have iPhone/iOS you're doomed. Apple is disallowing to upload proprietary software to device AFAIK. Exclusively through their store.

    So they will most likely disallow you to upload app to their iStore that only you will be using..

     

    As in a phone company there are only 4 cellphone providers here and they basically have a monopoly and none of them are owned by anybody from our country.

    ? That does not matter whether they're foreign or not. We have T-Mobile, but T-Mobile in UK or Germany website most likely wouldn't work with our cell number (website sms gate)..

     

    Check whether your provider is supporting website sending sms..

     

    Did you ever send any sms through Internet using browser as client.. ?

     

    What is URL of your provider?

     

    How does that work exactly? I tried a few before but none of them worked for me.

    Well, you have to simulate exactly what browser does.

     

    There is needed perfect understanding of HTTP protocol to do it..

  5. Every provider have different method.

    Some allows people to use sms web gateways.

    If yours is doing it, you can simulate what web browser does, and send message.

     

    ps. It used to be much easier several years ago. But people abused it to send spam (at least here), and mobile phone companies, highly restricted this service..

  6. Tons of people have said that black holes completely defy physics and reroute what we have discovered as humans over physical science. Some people even state that black holes don't really exist, except that they do.

     

    People tend to think that a black hole is a point of infinite gravity, therefore creating the theory of no physics. That isn't the correct answer.....

    Your misunderstanding what scientists hypothesize about black holes, is astonishing..

     

    I've done math and came to the conclusion of a black hole not having infinite mass but rather something completely different.

    Would not be easier to ask on any science forum.. ?

  7. Once I made such test: is it possible to make distilled water using water bath. Basically hot plate (1200 W @ max settings used) was heating container with water (covered to keep heat inside), inside was placed Erlenmeyer flask with 800 mL water, connected to (single piece) dephlegmator & Graham condenser. I leaved it for several hours.. And 2/3 water evaporated from water bath, and from Graham condenser there was no single drop of distilled water..

     

    While using oil bath instead of water (perhaps even salt water bath?) it should work..

     

    Addition of substance can decrease or increase boiling point of water.

    If ammonium nitrate is increasing solution boiling point, then it'll be hard/impossible/not economical to get rid of water from solution using regular water bath.

    But oil bath should work though (kept at reasonable temperature).

  8. The Big Crunch is likely to happen because the universe consists of anti-matter and anti-energy.

    I smell misunderstanding on your side.

    Anti-matter does not have negative mass, with opposite sign to regular matter.

  9. Although, to be honest, when faced with the sort of people you describe I tend to launch straight into questions from my quantum computation course in order to watch the panic in their eyes

     

    Once I was arguing with such guy in night club while drinking about quantity of protons in Carbon and Oxygen... ;)

     

    When I wrote half of periodic table on piece of paper, element by element, he had to agree with me..

    H,He,Li,Be,B,C,N,O,F,Ne,Na,Mg,Al,Si,P,S,Cl,Ar,K,Ca,Sc,Ti,V,Cr,Mn,Fe,Co,Ni,Cu,Zn,Ga,Ge,As,Se,Br,Kr

  10. Forum program has filter (by extension most likely) for allowed graphics file formats. SVG is apparently not one of them.

     

    You don't need to search for real image alternative: simply make screen-shot while displaying SVG in browser, cut image, and auto-trim (to remove border around it).

  11. buying stocks is so risky. do u have other less risky investments ?

     

    Invest in knowledge. Education. Wisdom.

     

    Not necessarily by going to college to get another PhD.

    A 10% return is outstanding. If you can manage a sustained 10% annual return on investments you can be one of the highest paid financiers on Wall Street.

     

    10% I can have in a day. And next day, if I am greedy and not sell, it's -10%.. ;)

    And if I sell, the next day is another +10%, and I am pissed off.

    Once there was 300% the next day after I bought stocks..

    As always in such cases, bankrupted company, after collapse, and resurrection.

    I even wrote application which is informing me which companies bankrupted and tell instantly on PC with sound alarms etc.

    Then there is needed constant observation what happens with such company.

    If there is info about resurrection (deal with creditors, typically exchange of debts for stocks and/or interception by them whole company), then "buy any price" instantly is needed ASAP.

    Some use bankrupted company as a way to cheap enter stock market system. One IT company bankrupted here, other one, not listed, bought it, and price went 2500% now..

    Who bought stocks of this bankrupt at lowest price is now very happy.

     

    Really, if you would start with 1000 usd at year "zero". After 50 years, 10% year by year, accumulative, you would have just 97k.

    If somebody has no other job except stock markets, it's not even possible to reach million in typical human lifetime.

     

    The problem is with large money: if serious investor has millions of shares, any his/her movement sell or buy causes large drop/increase of price.. Exiting of large shareholder must be wise.

    Small investor can simply press "sell any price", and his couple thousands shares is gone, and nothing bad happens to price of stock..

    Large investor can't do that. Can't invest serious money in bankrupting companies and getting couple hundred percent revenue.

    Brokers have restrictions also. Getting seriously into company that has trash score, could lead them to unemployed state.

  12. Ironious, better ask yourself what you will do with Hg compounds after you finish experiments.. ?

     

    Will you leave it on the shelf and forget?

     

    And then many years later f.e. drop it on the floor, flush in toilet or put to trash.. ?

     

     

    Quote from:

    http://en.wikipedia.org/wiki/Mercury(I)_nitrate

     

    "Solutions of mercury(I) nitrate are acidic due to slow reaction with water:

     

    Hg2(NO3)2 + H2O → Hg2(NO3)(OH) + HNO3

     

    Hg2(NO3)(OH) forms a yellow precipitate."

    That should solve your question.

     

     

    ps. You can attach photos directly in forum, using Full Editor/More Reply Options.

  13. Anybody know what kind of max current these std resistors can handle?

     

    That depends on voltage.

     

    I=U/R = 12 V / 100 ohm = 0.12 A

     

    P=U*I=U^2/R=I^2*R=12 V * 0.12 A = 12V^2/100 ohm = 0.12A^2*100 = 1.44 W

    Whatever method you calculate it's 1.44 Watts = 1.44 Joules per second of energy released by electrons..

    They increase temperature of element.

    If you have some clever method of cooling and will consume energy faster than it arrives (liquid nitrogen? ;) heat sink, fan ) then in theory element should survive much more current than in normal environment.

     

    With 1 Watt resistor, and 12 V, you can have up to 83 mA.

    1 W / 12 V = 0.08333 A

     

    With 5 V, 1 W resistor should survive 0.2 A continuous current.

     

    Some suggests that you should have double wattage than typical usage.

    http://www.robogaia.com/how-to-calculate-resistor-wattage.html

  14. if/else to make a decision based on some condition,

     

    if( ... )

    {

    }

    else if( ... )

    {

    }

    ... (as many as you want else if())

    else

    {

    }

     

    I might add exception handling C++:

     

    try

    {

    ....

    }

    catch( [exception] )

    {

    }

     

    throw( [exception] );

     

    private

    public

    static (also in C)

    const (also in C)

     

    friend

    class

    virtual

    new

    delete

    operator

     

    built-in variable types like:

    char, short, int, long, long long, long int, float, double, void

    signed/unsigned

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.