I want to learn Assembly Langauge ... ?
Hi.
I want to learn Assembly language.
My goal is to eventually be able to program fluently in Assembly language. I know this will take a lot of work, but that's fine with me.
Currently, I know the basics of how a CPU reads strings of...
Hello everyone.
Which programming language do you think will dominate the computational world in this decade and thereafter? I know so far Fortran is the King in computational physics, but was curious to know which other languages (like C++, Python, Java, etc.) are in the trend of dominating...
Hey guys,
Starting in a couple weeks, I will begin my college education at North Carolina State as a Physics major. One requirement for my degree is a programming class. For my degree, the offer FORTRAN, C++, Java, and MATLAB. My counselor has not advised me to take a single one, just to...
Hi, I'm student of physics, i want to specialize in the areas of optics, quantum mechanics or plasma, but i want give an approach computational physics, therefore, my question is, which programing language is advisable for these areas of physics?. The options that most i read were fortran, C...
Hi all,
I'm looking for some guidance regarding which foreign language might be most useful for an academic career in math or physics. I realize nearly everything is done in English now, but if you were forced to choose a second language, what would you learn? Russian? German? Chinese...
I always see people on this forum encouraging math majors to learn to program so I was wondering what language is best to learn? Also, what is the best way to learn the language besides taking a class?
I have only taken 2 math classes so far so I definitely can't tell you what areas I'm...
Homework Statement
I'm having hard time appreciating this topic since they're not discussed well and, as of now, I still don't have resources or sample programs.
We're required to display Az By Cx . . . Yb Za including spaces using DOS debug.
Homework Equations
The Attempt at a Solution...
I have a .txt file with 100,000 integers from 1-100,000, with each integer in a newline. I am facing a problem in using the fgets function. How do I read the integers into an array?
#include <stdio.h>
//Program to count number of inversions in an input file of integers using Brute force...
Has anyone ever tried to establish an approx rate that languages evolve, in a similar way that genetic change was used to establish a molecular clock of sorts? (disclaimer: i know zero about linguistics) thanks someone.
Homework Statement
As the topic states, I need to define a language, for a grammar, using set notation. Homework Equations
Here is the grammar:
S -> aaSB | λ
B -> bB | b
The Attempt at a Solution
Okay, I know that this creates strings that are either empty or consist of an even number of 'a'...
Hello, so i have a problem with my assembly code. I want to clear the screen of the DOS and display the string input in the first line. I decided to make a loop that will run 2000 times and fill the space with [20H, which is the ascii for space bar] however, It clears out my message as well and...
My problems with math began at a very young age.
The school I went to was very small and situated next to farmland, and the teachers didn't really have a firm grasp on the subject themselves, nor were very enthusiastic about it.
My frustrations with the subject, and being unable to understand...
Homework Statement
Write a MIPS assembly language program that accomplishes the following tasks:
1. The program will prompt the user to enter an Integer between 1 and 10.
If the entered number doesn’t satisfy the above condition, use a loop and prompt the
user for a new entry (until a valid...
I am a graduate student who has basically no experience programming but I would like to learn so I decided to give myself a project. What I would like to do is build a web application that can plot data (2D & 3D) from a database. Once I get that far I would like to have the web application...
Hi guys,
i'm looking at one-loop calculations in terms of helicity spinor (basically a paper by Brandhuber, Travglini and others) language but i have no idea how to integrate them :)
For instance
\int FeynParam\int d^D L \frac{\langle a|L|b]^2}{(L^2-\Delta^2)^3}
How would I do...
I believe that mathematics/physics is somewhat the language of the universe. That symbols, numbers, measurements, conversions, equations, and theories are our own way of trying to articulate the concept of this physical world. That their are so many holes or things we don't understand, because...
I just finished all of my finals today, and now the summer is here! I am in a REU for the semester, and I should have plenty of time to learn a programming language. So, this afternoon, I googled around a bit for information... and I can't figure out what to do! I was debating on Java...
I'm going to be using Fortran for research this summer (three weeks) and the one problem is I don't know Fortran. Obviously, I know I can't learn everything in three weeks but I assume it is possible to get a strong base. I already have a textbook on Fortran by Etter but possibly there are...
at my school students need to take either 6 hours of "foreign culture" class or 6 hours of a foreign language.
Which do you think I should do? The foreign culture classes are way less time-consuming but I thought it would be interesting to learn a second language.
Thanks!
Hi, in this link I explain what my major is: https://www.physicsforums.com/showthread.php?t=598357
Short version: Second semester physics major. I have a language requirement for three semesters of a language. I was thinking about taking latin because 1.) no conversation hours and 2.) Most...
Homework Statement
Hi,
I need to make an NFA for this language:
L = {s \in {0, 1, 2}* : the integer value pf s in ternary notation is one less than a multiple of 4}
Homework Equations
The Attempt at a Solution
I've written out and looked at the ternary notions for...
I'm thinking of taking machine language over the summer because it seems interesting to me but I'm not sure if it'll be useful to my emphasis in computational physics. The objectives of the class are below, could anyone give me advice on whether it'll be helpful to me or not. Thank you.
A...
I'm using a PIC16F684.. Can someone help me write an assembly language program that switches on LEDs 0 to 7 in binary. There has to be a delay of 1 second between the change.
Thanks,
Hi All
I am very new here and therefore apologise if there is a thread on this but -
I am researching my PhD in Astrophysics and Planetary Science (2nd year) and am starting to think about future employment. I am a little undecided whether to remain in academia (which I am slightly...
hello everyone. I'm trying to plan my courses for next year, and I figured that I have room to take a foreign class (plus it's a requirement for me to graduate). now, I'm trying to decide to which one to take.
i really want to learn mandarin, if nothing else matters, that is what I would...
Hello! I am currently a sophomore in undergrad, majoring in Physics. I haven't been exposed to any computer languages, such as C++, and I am wondering if it necessary for me to know it? My major's requirement doesn't require it, but many of my physicist friends seem to recommend me take it. So...
Hi all,
Einstein definitely had to learn tensors from someone else <via correspondence>.
But he did not need tensors to intuitively get idea of curvature.
So, Can some one share in that simple language, How he got the intuition that space time should be curved in accelerated/...
I got new atmega328 board
should i learn assembly language first or jump directly to programming with C ?
is knowing inside architecture necessary for programming micro controller using embedded c ?
Hello everyone,
Can anyone suggest me a suitable GUI programming language for windows (like Microsoft VB or anything else). The software should be free of cost. It also should not restrict me to publish my product as freeware/open source. (Additionally the software should be able to handle...
I'm proficient in two languages. I'd like to 'forget' my native language. Is this possible?
Given that I'll immigrate to a country wherein my native language isn't spoken, I'll probably forget some words. But can I achieve complete forgetfulness?
Thanks.
I've searched the internet and the forums for any help on this, but I can't seem to find a topic that details what the successive sets will contain. Here is an example question: (I have many HW problems like this, I just don't know where to start)
Let L be the language over {a,b} generated by...
I'm working on an assignment for a computer science course. The professor did not give very good instruction, and I can't find very much information about the subject online. We are supposed to use this http://www.anne-gert.nl/projects/simpsim/ program to preform various operations including...
Hello everyone.
I have lot of extra time. So, I thought why don't I do some pure assembly language programming. So, basically, first I want to target 80x86 architecture processor. And get solid idea and understanding on programming through pure Assembly language. I don't want to learn assembly...
I am an undergraduate physics student, and it is required at my school to take and pass a 200 level course in a foreign language. I need to start taking a foreign language either this summer or fall. It will take at least four semesters to finish with my language requirement. My options are as...
For my physics major I'm required to take a broadening unit each semester. I've decided I'll learn a language, I'm thinking either German or Japanese (although I would welcome other suggestions). I would be just as happy to learn either language, so I thought I'd pose the question as to which...
We know that certain chain of elements can describe very complex logical patterns and those same elements can describe illogical things to a given interpreter, but the question at hand is: Are there logical elements such that no logical language can describe them? How would we prove or...
1. What I am trying to do
I am attempting to make a PIC18F4550 use A/D interrupts to blink an LED at RA1. [Interrupt LED]
The frequency of the blinking LED is determined by a potentiometer linked to RA0.
To gauge when the loop is outside of the interrupt routine, I have added an LED at RA2...
Is it possible to express well-ordering in a first-order language?
For example:
If X is a set and < is a binary relation on X such that (X,<) \vDash \forall x \; \neg(x<x) and (X,<) \vDash \forall x \forall y \forall z((x<y \wedge y<z) \rightarrow x<z), then (X,<) is a partial order.
If (X,<)...
Hi,
I've never programmed before but I recently downloaded the book "Programming from the Ground Up" and I plan to start studying it in 2012.
I've heard that many programmers who learn to program in Assembly don't see a need to use anything else besides this programming language. Is this...
Homework Statement
Translate \forall x (Nx \rightarrow Ix \rightarrow \neg \forall y (Ny \rightarrow Iy \rightarrow \neg x<y)) into English where N translates to "is a number", I translates to "is interesting" and "<" translates to is less than.
Homework Equations
N/A
The Attempt at...
These are the misuses of our language that REALLY bug me:
- Misusing "literally". People say things like "I literally have a million things to do."
--- No, you do not.
--- To deal with these people, I usually say things like "I hear you, I figuratively have a project due Wednesday", or "I...
First of all, let me apologize if this question is in the wrong place. It's fundamentally a statistics question but it relates to computer science. I'm also not sure if this falls under the "homework" category, since it's for a class, but I need assistance on a general idea, not a problem set...
Where is English the "Official Language"?
I figure:
Canada
US
England
Ireland
Scotland
Australia
New Zealand
I am not sure about:
Wales
India
Philippines
Guam
South Africa
Right now I'm watching a US Public Broadcasting Corporation television program entitled: "The Linguists", in which a man (I think he was from Africa, but I'm not even certain of that, as I wasn't even listening until the math stuff surfaced), explaiined his integer progression, which was quite...
Design a Turing machine for each of the following languages, give formal description of the TM and draw state diagram.
{ai bj ck |i + k = j, and i,j ≥ 0, k ≥ 1}.
Some example words of the language are asfollows:
a. aabccc
b. abbbbccccc
c. ac
d. bc