Programming Definition and 1000 Threads
-
S
Python Good problems and exercises in C, Python, Ruby and Scala
I have previously learned C and Python. I'm just starting out with Ruby and Scala. But I need to become more proficient in these languages, so could someone suggest good sources of problems/exercises in each of these languages sources could include websites, books, etc.- sarvesh0303
- Thread
- C programming Exercises Programming Python Ruby
- Replies: 1
- Forum: Programming and Computer Science
-
C
New beginner's help -- learn which programming language to enrich my knowledge?
I am a physics undergraduate and is going to pursue a physics Ph.D. degree from 2015 Fall. I am thinking about learning some programming language to enrich my knowledge. Also, I hope this kind of skill could enlarge the scope of my future career. Please give me some advice on which language...- christliang
- Thread
- Knowledge Language Programming
- Replies: 19
- Forum: Programming and Computer Science
-
O
Numerical Analysis Programming Language
In two semesters or so, i will be taking a numerical analysis course as part of an Applied Mathematics major. In the course description it says that you should have knowledge of at least one programming language, but i cannot find any more information about this. What do you all think would be...- occh
- Thread
- Analysis Language Numerical Numerical analysis Programming
- Replies: 4
- Forum: STEM Academic Advising
-
S
Piecewise Linear Programming with Multiple Functions
Dear Friends I have a question about linear programming. It would be great to have your comments or suggestions. Consider the followings \begin{equation} \\ Y = [y_{1}, y_{2}, \cdots, y_{n}] \\ G = [g_{1}, g_{2}, \cdots, g_{n}] \\ \textbf{X} = \begin{pmatrix} 0 & x_{1,2} & \cdots & x_{1,n}...- smehdi
- Thread
- Linear Linear programming Piecewise function Programming
- Replies: 3
- Forum: Topology and Analysis
-
What's a good intro computer science book?
I'm going to be taking a computer science course next semester, what is a good intro computer science book or C++ programming book I can buy?- Lobos
- Thread
- Book C++ Computer Computer science Intro Programming Science
- Replies: 5
- Forum: Programming and Computer Science
-
P
Programming - where should I start?
I am currently on a gap year, and I intend to learn a programming language on my own. I know single variable calculus, some basic probability, statistics, and combinatorics, but absolutely nothing about computer science. I would appreciate it if anyone could help me figure out a good starting...- PFuser1232
- Thread
- Programming
- Replies: 6
- Forum: STEM Academic Advising
-
Python Programming Question (Python) - Boolean Binary Search
So I am in my Intro to CS course and they are going over Binary searches via an algorithm to search for simple things. The code goes as this: Set first to 0 Set last to length-1 Set found to FALSE WHILE (first <= last AND NOT found) Set middle to (first+last)/2 IF...- NaughtyBear
- Thread
- Binary Programming Python Search
- Replies: 8
- Forum: Programming and Computer Science
-
A
What electives would be most beneficial?
I recently changed my major to physics from business. I would be going into my senior year as a business student had I stayed, so I have all my core requirements done. While I'm catching up on some maths, I'll need to fill my schedule with electives to remain a full-time student. What courses...- Austin Matthews
- Thread
- Astronomy Business Courses Electives Engineering Marketing Mathematics Physics courses Programming
- Replies: 6
- Forum: STEM Academic Advising
-
R
Programs Want to major in computer science, but dont like programming
Hello all. I am at an impasse with what I want to do with the rest of my life. Academics wise, I have always had an interest in maths and science and history. There is no greater feeling in the world than solving a problem you have been stuck on for hours. I was researching potential degree...- roinujo1
- Thread
- Computer Computer science Major Programming Science
- Replies: 9
- Forum: STEM Academic Advising
-
L
Boost Your Career with Top Programming Courses for New Master's Students
Im fairly inexperienced when it comes to programming. I realized a lot of internships require knowledge of programming. So, my question for you guys is: Since I'm a new master's student, and looking to become more competitive for jobs and internships, what sort of programming courses would prove...- Lawrencel2
- Thread
- Courses Programming
- Replies: 15
- Forum: STEM Career Guidance
-
Programming a cyborg just by typing words?
I thought of building a human cyborg where the programming is done like a robot but it has human organs and cells and grows just like a human does. This involves quite a bit of typing for certain organs like the heart. The program says to me in a female voice "Select cyborg" and I select human...- caters
- Thread
- Programming
- Replies: 4
- Forum: Programming and Computer Science
-
M
Is it Possible to Learn Programming Quickly Without Excessive Reading?
I attended a few programming languages courses in my university a long time ago. I describe myself as a "text book programmer" , that is, I could reproduce all textbook programs in exam... Hahahaha... Now I day I feel seriously that I should learn programming. Should I learn programming? Can...- Muti
- Thread
- Programming
- Replies: 9
- Forum: Programming and Computer Science
-
S
More Valuable To Programming Employers? Math PhD Or XP?
I'm finding myself in a precarious career position. I'm working on a PhD in New Zealand in a very particular and odd foundations of mathematics theory. This theory is not widely regarded as being of much use and I was hoping to discover that it could actually be very useful. However, after a...- someperson05
- Thread
- Career Career path Phd Programming
- Replies: 3
- Forum: STEM Career Guidance
-
Creating a Language for an Optical Computing System
lets say someone had an idea for a fully optical computer; that had a optical cubic processor, that refracted and reflected signals. into a optical "motherboard" (except it was not a flat board, more of a rectangle), how would one go about writing a language for such a thing (lets say a base 8...- Alexi-dono
- Thread
- Computers Computing Engineering Optical Photonic Programming
- Replies: 11
- Forum: Computing and Technology
-
A
Python Python help with sequences and elements?
Homework Statement My professor wants us to program on Python, where we have a certain sequence, for example: sequence = ("one", "two", "three", "four") I need to replace one of the sequence elements (example: "one") with another element (example: instead of the word "one", I need to put...- acurate
- Thread
- Elements Homework Programming Python Sequence Sequences
- Replies: 11
- Forum: Programming and Computer Science
-
P
Python Need Help Learning Python Quickly?
Do anyone know of a good detailed book or website that would help me learn Python quickly? I have assignments that must be done in Python for one of my physics courses. I'm supposed to know how to do it since last semester but had a greater deal of trouble picking up on it and didn't have much...- PManslaughter
- Thread
- Computing Programming Python
- Replies: 1
- Forum: Programming and Computer Science
-
Programming Languages: Python, C for Games & Apps
I'm studying Python and C right now to build a good base for my physics courses as an undergrad. However, I'm also interested in languages involved with PC game design and Android/iOS devices. Was wondering if python and C will meld well with the programming required to undertake projects like...- Cake
- Thread
- Programming
- Replies: 6
- Forum: STEM Academic Advising
-
Y
MHB Solve Linear Programming: Find Max Value & Calculate Bounds
Hello all, I hope I am in the right forum, I have a question regarding linear programming (optimization). I have this target function: \[Z=0.045X+0.06Y-2\] subject to the following constraints: 1. \[X+Y\leqslant 500\] 2. \[X\geqslant 0.2(X+Y)\] 3. \[Y\geqslant 0.5(X+Y)\] 4. \[X\leqslant...- Yankel
- Thread
- Linear Linear programming Programming
- Replies: 1
- Forum: Set Theory, Logic, Probability, Statistics
-
C
How Does the GET_UINT32 Macro Convert Input into Hexadecimal Format?
Homework Statement this is in my function GET_UINT32( X, input, 0 ); this is a macro #define GET_UINT32(n,b,i) \ { \ (n) = ( (uint32) (b)[(i) ] << 24 ) \ | ( (uint32) (b)[(i) + 1] << 16 ) \ | ( (uint32) (b)[(i) + 2] << 8 ) \ | ( (uint32) (b)[(i) + 3] ); \ } 3435973836=0xcccccccc when inputted...- cutesteph
- Thread
- C programming Programming
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
X
Discrete Best books to study during summer related to programming?
I've been programming for 10 years and have done many free lance projects. I know basic mathematics (what an engineering student would know) but I want to move into more theoretical fields for a hobby. I am devoting 4 months of my summer this year to studying mathematics. I will be studying...- x86
- Thread
- Books Computer science Programming Study Summer
- Replies: 9
- Forum: Science and Math Textbooks
-
J
Programming a Delta HMI A Series: Beginner's Guide
does anyone know how to program a delta hmi a series- Jean jean
- Thread
- Delta Programming Series
- Replies: 1
- Forum: Programming and Computer Science
-
A
How to ergonomically look at book while programming?
When programming, we often look at book for documentation of the code. Therefore, we are constantly referring to the book while typing. But how could this be done ergonomically while typing? Where do we place the book so that it doesn't strain the neck or back to look from computer screen to...- annoyinggirl
- Thread
- Book Programming
- Replies: 12
- Forum: Computing and Technology
-
H
MATLAB Matlab Programming Guide: Physics Student Resource
I am looking for a concise textbook or anything else for Matlab programming, very useful and not necessarily introductory, appropriate to the needs of physics students especially solid state physics. Thanks in advance for any help that anyone can provide.- hokhani
- Thread
- Matlab Matlab programming Programming
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
I
C/C++ How can we print odd numbers up to 99 using nested for loops in C++?
I have my final exam for C++ tomorrow. I was studying a previous exam and I came across a certain problem that I would like to know how to do. Suppose that we want to print out the following on the screen, please complete the code segment below by filling in the blanks 1 1 3 1 3 5 ... ... 1 3 5...- ineedhelpnow
- Thread
- C++ C++ programming Programming
- Replies: 7
- Forum: Programming and Computer Science
-
R language, seq and rep problem
Homework Statement Using rep() and seq() as needed, create the vector 1 2 3 4 5 2 3 4 5 6 3 4 5 6 7 4 5 6 7 8 5 6 7 8 9 Homework EquationsThe Attempt at a Solution I figured out that seq() only takes numbers for the 'from' and 'to' arguments, since I tried seq(seq(...)). Also, I'm not...- Mogarrr
- Thread
- Language Programming
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
P
C/C++ C++ Programming Problem: Adding Streams to a Pre-Existing Code
I have been given a project to modify my pre-existing code to satisfy these guidelines: - Create a file called "sides.txt" and put it in the same folder as your program. - The file contains multiple lines with each line having the three sides, separated by white spaces, e.g., 3 4 5 6 8 10 5...- PleaseHelp
- Thread
- C++ C++ programming Code Programming
- Replies: 2
- Forum: Programming and Computer Science
-
O
Calculating trajectory for a throw (Game-programming)
Hello, and +1 for this great forum! I have encountered a small problem in my way of creating a small game. I have a snowball that is being thrown by the player. The dynamic variables from the input of the player are: Force and angle (between 90 : -90 degrees). At the moment I apply the force...- OyvindAndersson
- Thread
- Programming Trajectory
- Replies: 3
- Forum: Mechanics
-
D
Python Systems simulated by a simple percolation model using python
I'm a first year physics student, and one of my assignment for my programming class is about percolation. I need to create some disks randomly distributed in an area (this is a 2-D), and then by varying the density of the disk, I need to figure out the percolation threshold such that the two...- dilloncyh
- Thread
- Model Percolation Programming Python Simulation Systems Threshold
- Replies: 3
- Forum: Programming and Computer Science
-
D
What is the best programming language for beginners in scientific fields?
I wish to learn some programming basic during the holiday. I stumble across Java , C , C++ , Matlab , SQL, PHP and others. There're so much types of programming languages. Which one is the easiest to start?- desmond iking
- Thread
- Beginner Programming
- Replies: 18
- Forum: Programming and Computer Science
-
N
How programming interacts with transistors
Forgive the broadness of the question. I know this is a huge concept which entire books have been written about. I am an amateur computer programmer entering my first object-oriented class soon and want to get some things out of the way. When I write lines of code how does the computer know what...- Niaboc67
- Thread
- Binary Computer engineering Fundamentals Processing Programming Transistors
- Replies: 6
- Forum: Programming and Computer Science
-
I
C/C++ How can a C++ function return two values to the caller without using a class?
I was given this problem a while ago to complete as a bonus but I wasn't able to do it. I just came across it and would like to know how it should be done. Given an integer vector "vi" that is already sorted in ascending order (all elements of the vector are positive), write a function that...- ineedhelpnow
- Thread
- C++ C++ programming Programming
- Replies: 3
- Forum: Programming and Computer Science
-
K
Basic understanding of the motors torque and programming wit
Hi guys I hope you have time to take a look at my calculation and tell me if this is possible to achieve. I have to make a project, where I have to rotate an object which will resist more and more to the rotation. The protocol is: Rotate the object with a torque of 5 Nm until the resistance...- Kasper86
- Thread
- Arduino Motor Motors Programming Torque
- Replies: 3
- Forum: Mechanical Engineering
-
Comp Sci Fortran90: DO loop for sequence of numbers
Homework Statement A program finds the area under the Gaussian Distribution Curve between ±σ using Simpsons Rule. Modify the program to investigate the effect of the number of strips. Do this by using a DO loop in the main program for the following sequence of number of strips (n); n-2, n-4...- SalfordPhysics
- Thread
- Area Fortran Fortran90 Integration Loop Numbers Numerical methods Programming Sequence
- Replies: 4
- Forum: Engineering and Comp Sci Homework Help
-
T
MHB Why Can Penguins Be Subtyped as Birds But Motorcycles Not as Cars in OOP?
For object oriented programming, why is is acceptable to have a penguin be a subtype of bird even though a penguin has different attributes than a bird(supposing we have a fly method) and yet it is unacceptable for for Motorcycle to be a subtype of Car even though it has the same behaviour (ie...- tmt1
- Thread
- Programming
- Replies: 1
- Forum: Programming and Computer Science
-
C
How to Compute an Integral Using FORTRAN?
I have a question set for programming to compute integral for the following unknown function using composite rectangle method, trapezoidal rule and simpsons rule. \int_{0}^{1.8} f(x) dx for h=0.3 and h=0.4 I have a table of results for f(x) and x as follows x=0, 0.3, 0.6, 0.9, 0.12, 0.15...- Chris Red
- Thread
- Computing Integral Programming
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
B
What is Best Computer Programming Language to Learn?
Is there a computer programming language that is the "best" and/or most transferable (in terms of making it easier to learn other languages down the line) for someone who is just getting started in this area? I literally have zero programming experience as of the moment, but would like to get...- bballwaterboy
- Thread
- Computer Computer programming Language Programming
- Replies: 17
- Forum: Programming and Computer Science
-
I
MATLAB Line following Matlab Code. How to Start?
So we're using NXT 2.0 and MATLAB to program a robot to follow a white line through a maze. I'm using a light sensor, color sensor and an ultrasonic sensor in the process. Any programming/Coding ideas of how i should start? This is the maze...- ItsAli
- Thread
- Code Coding Line Matlab Matlab code Programming Robot Sensor
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
What programming language should I learn for a game app?
What programming language should I learn if I want to make a free game app? Is it Objective-C? I have learned HTML, CSS and currently learning HTML5. I heard that Objective-C is hard. Should I learn Objective-C after learning HTML5 if that's the programming language to make a free game app with...- Math10
- Thread
- App Game Language Programming
- Replies: 16
- Forum: Programming and Computer Science
-
S
Environmental Science (and Information Technology?)
I have an AS degree in Computer Science. I'm in the process of transferring to a 4-year university to pursue a BS in Envionrmental Science. I've always been heavily interested in computers, including running my own web & email server, database administration, hardware, and networking. I have run...- srg
- Thread
- Computers Environmental Environmental science Information Information technology Programming Science Technology
- Replies: 1
- Forum: STEM Career Guidance
-
M
Was Facebook made with the following programming languages?
Was Facebook made up with HTML, CSS, HTML5, CSS3, PHP, JavaScript?- Math10
- Thread
- Programming
- Replies: 7
- Forum: Programming and Computer Science
-
Schools Useful Computer Programming for Astrophysics concentration in Grad School
My objective is to learn programs and techniques that will prove beneficial to my physics degree. I am going on to grad school to get a physics PhD but I will be staying 1 more year as an undergrad. A CS minor is probably too broad for me because I only want to learn specific programs that will...- majormuss
- Thread
- Astrophysics Computer Computer programming Concentration Grad Grad school Programming School
- Replies: 1
- Forum: STEM Academic Advising
-
H
Future as a programmer, job prospects?
Hello, I would like to get your opinion on moving into programming. Basically, I want job security and the ability to work just about anywhere there are jobs. I've considered taking a job as a programmer, but I would like to know what you suspect the job prospects are for such position? From...- Hodgey8806
- Thread
- Computer science Future Job Job opportunities Job prospects Programming Software developer
- Replies: 5
- Forum: STEM Career Guidance
-
G
Trick-or-Treat (Halloween C programming)
Homework Statement Trick Or Treat Halloween is round the corner and it's time for trick-or-treating. You reside at the top left corner of a n-by-n town map and heading to the halloween party located at the bottom right corner. While on your trip, you decide to visit a minimal number of houses...- galaxy_twirl
- Thread
- C programming Programming
- Replies: 6
- Forum: Engineering and Comp Sci Homework Help
-
How Does CUDA Programming Unlock the Potential of Parallel Computing with GPUs?
Not a question - I just got started at writing CUDA code to run on an NVIDIA card I bought a couple of months ago. I've been interested in highly performant code for a long time and have spent some time in the last few years tinkering with the technologies that are featured in the Intel and AMD...- Mark44
- Thread
- Gpu Programming
- Replies: 4
- Forum: Programming and Computer Science
-
M
What are some good websites for learning programming languages?
Codecademy.org is not a good website. What are some good websites to learn HTML/CSS? Also, is Java the programming language to learn if you want to make free mobile apps on iOS?- Math10
- Thread
- Programming Websites
- Replies: 3
- Forum: Programming and Computer Science
-
MHB How can I effectively perform matrix operations in C programming language?
Good day everyone. I'm learning C language at the moment. Plus, matrix is bit harder. It just I couldn't understand how to write it in C programming language. Plus, it's maths calculations. I have to use C language for this, not C++.Here's the question : A matrix is an array of numbers which can...- Henry R
- Thread
- Language Programming
- Replies: 3
- Forum: Programming and Computer Science
-
A
How to teach yourself programming for the long term?
No, I'm not asking what language to learn, etc. I started learning python last year and i was wrapping my head around the basic concepts and even making some nifty programs. However, one day I just got frustrated and gave up. I know frustration is common but I felt very stupid while...- Aichuk
- Thread
- Programming Term
- Replies: 4
- Forum: Programming and Computer Science
-
G
Winning Lines for Tic-Tac-Toe (C programming)
The Question Winning Lines Tic-tac-toe is a game played by two players o and x. A player wins when he/she succeeds in placing three respective marks in a horizontal, vertical or diagonal row. Given a 3-by-3 tic-tac-toe board, a winning line is a line (row, column or diagonal) that is not...- galaxy_twirl
- Thread
- Arrays C programming Lines Programming
- Replies: 5
- Forum: Engineering and Comp Sci Homework Help
-
Write a C program to read values for times from the input file?
Homework Statement Write a C program to read values for times from the input file times.txt; compute sin(5*pi*t) for each time t given in times.txt; output comma separated values of t, sin(5*pi*t) into an output file named output.csv; and compile the program using a makefile. Hand in a copy of...- sheldonrocks97
- Thread
- File Input Program Programming
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help
-
Q
Calculators TI-89 how to save result of an embedded funtion to a variable
Hello, I do a lot math and physics work, (predominantly advanced fundamental theories), and have consistently been hindered by a particular issue when it comes to a few of my defined functions. I feel like it would be a kind of "order of execution" issue with a simple solution, but though I've...- qqqqq
- Thread
- Calculator Function Programming Ti-89 Variable
- Replies: 1
- Forum: Computing and Technology