Programming Definition and 1000 Threads

  1. sukalp

    Is Processing.org the Best IDE for Learning Programming?

    I WANT TO ASK YOU THAT I HAVE LEARNED SCRATCH AS I AM KID OF 17 AND BEGINNER IN PROGRAMMING. I LEARN SCRATCH TO DESIGN BEFORE BUILDING,SOLVE PROBLEMS CREATIVELY. NEXT I AM LEARNING C++ AND FINDING DIFFICULTY WRITING PROGRAMS LIKE ARMSTRONG NUMBER SO I SHOULD LEARN PYTHON BEFORE C++ . I AKSED I...
  2. sukalp

    C/C++ Studying C++ programming topics

    I wanted to know in c++ when we learn advance c++ like class,constructors,inheritance,data file handling we should know how to implement a class ? in c++ before studying these topics?
  3. Y

    Other Confused between Physics and Computer Science

    Hello! I am a first year student studying Physics. I chose Physics because I really like it. But now that my classes have started, Physics seems a little more demanding than what I previously had in mind. I am also keenly interested in Computer Science. So, I can't decide between the two...
  4. Passionate Eng

    What are the Concepts of Object-Oriented Programming?

    I have a problem with understanding the concepts of "object oriented programming" I do not know what is an instance, object, method,interface... I have read many examples from the real world but I need a sample code with labeled instance, object, method, interface I wish the idea is clear
  5. L

    If there's any website that can upload my programming script

    Hi there, Apologize in advance if this is not the correct place to post my query. I've been googling didn't get it or maybe my input search parameter is not sufficient or irrelevant. I am recently doing my graduate in physics and my inclination towards computational physics makes me to do my...
  6. R

    What are some obscure but useful Linux software for PhD students?

    Hi, I am a PhD student studying fluid dynamics, and have a heavy interest in numerical programming and simulations. I come from a background in Applied Mathematics and Theoretical Physics. I have an ubuntu system set up and I have the typical software I plan to be using regularly, ie MATLAB...
  7. R

    Linux for Physicists: Best Distro for Beginners

    I am starting my PhD soon, and I want to properly start learning linux. I have mainly used windows for most of my life, but I have been apart of two research placements using linux mint, where I did simulations attaining to Nano-Photonics. I am curious as to if you guys have any opinion on the...
  8. Phys_Boi

    Orbital Mechanics: Modeling a Planet's Path with Programming

    So I'm really interested in orbital mechanics. I'm only 16 so my knowledge of physics is restricted to an intermediate level. If there is a planet with large mass and a planet with small mass they are attracted to each other... So imagine a system where the large mass is fixed and the small...
  9. Avatrin

    Python Exploring Algorithmic Composition and MIDI Programming with Python

    Python is the only programming language I know, and I know there is a huge library of MIDI music out there. I want to play around with machine learning and algorithmic composition to see what I can produce. So, what books should I read to be able to do this? What I am looking for is: Books to...
  10. N

    Other Should a Future Physicist Master Calculus or Programming?

    Which skill is more important for Physics in the modern era? From what I know, Newton (along with some other fellows) developed Calculus in order to solve problems in Physics. Because of this, it's safe to say that Calculus is an essential branch of mathematics to understand when it comes to...
  11. O

    A What are the most common programming languages in astro?

    Hello. What are the most common programming languages that are used by astrophysicists who work in the following fields: radio astronomy, SETI, signal detection, signal processing, exobiology, exoplanetology, solar system astronomy and stellar astronomy? If possible, please sort the languages...
  12. Z

    Why Does My PIC16F723A Show a Programming Error in MPLAB X?

    I am working with a PIC16F723A chip and I am trying to program it to toggle a pin (RA1) on and off. I am pretty sure I have the circuit setup correctly (below is what I have setup), but for some reason I get an error when trying to program it... So, I am using MPLAB X IDE v1.70 on OS X version...
  13. jtbell

    What is the Benefit of Agile Programming According to Dilbert?

    In today's Dilbert comic strip, Wally demonstrates a benefit of agile programming. :cool:
  14. MexChemE

    Python Learning Python: IDE or Not for Scientific Computing?

    Hello, PF! I've recently begun learning Python the hard way (you know, the online lessons by Zed Shaw), and so far I'm doing great. He does talk down to you at some times, but I don't mind that at all, and he encourages memorizing absurd things, but I like his minimalistic approach at...
  15. D

    Studying Learning programming from scratch for phone apps

    I wish to be able to create android and iphone games and apps but currently know nothing about programming. With this in mind, what do you suggest doing first in a form that you suggest the programming language i start learning first, textbook that i should use and program that i will write on...
  16. D

    MHB Online game programming issues.

    Okay so i am building an incremental game and have a formula to work out how much it will cost to buy a set amount of buildings. This is required as each time you buy a building the price for that building goes up.This formula is as follows: ((BaseCost * (1.07^b - 1.07^a)) / 0.07)BaseCost =...
  17. Svein

    Insights Reflections on Product Quality - Comments

    svein submitted a new PF Insights post Reflections on Product Quality Continue reading the Original PF Insights Post.
  18. fluidistic

    Getting started on GPU programming (opencl)

    I'd like to know how to get started to write a program for the GPU. Say I want to let the GPU calculate 4*2. I have an intel integrated HD4000 graphics card so I'd be better to use opencl I believe. I'm not really finding any tutorial on how to do this. Any help or comment is welcome.
  19. G

    Studying How Can I Learn Coding Before College Without Spending a Lot of Money?

    I am a sophomore and I want to learn coding before I start college. I don't have much money and I need to know what resources I could use to learn a language. I have tried free online sites and apps but the abstract nature of the teaching and the lack of "real" coding makes me lose interest...
  20. Theia

    Java Why Choose Java: Reasons to Learn Java Programming

    I've been wondering a while what are the reasons I should learn Java programming language. Thus far I've mainly seen someone saying how cool Java is and how it is this and that. But. I haven't found it 'cool', or to be honest, useful at all (and I could state that Fortran is cool...). Being...
  21. MidgetDwarf

    Other Do I really need to know C++ or Assembly for debugging and understanding code?

    I got chewed out today by one of my professor for not knowing or having an interest in coding. The professor told me it is a school that every math/science major should know. It does not have to be at the level of a computer science major, but competency is needed according to my professor...
  22. S

    Diagonal Winning Strategies in Connect 4: Help Needed!

    Homework Statement When I try and play it, it says that the Index out of range system was unhandled. I am pretty sure it is the j loop. Please help. In the game Connect 4, you can win diagonally, the grid is 6 squares down and 7 across. (5 positions down, 6 positions across including 0.)...
  23. D H

    Insights Your Software is Never Perfect - Comments

    d-h submitted a new PF Insights post Your Software is Never Perfect Continue reading the Original PF Insights Post.
  24. hilbert2

    Programming an XBox One to do scientific computation?

    Hi, I've done quite a bit of scientific computation at work, mainly related to molecular QM and dynamics of hyperelastic bodies... I've used C++ to write the code for those applications. I also do some other simulations at home in my free time, just for fun. My home laptop isn't exactly the...
  25. F

    About only one function (C programming)

    I have learned that in c programming language at least one function is needed. And the function is given as: int main(){ //statements; return 0; } Then when I turned to the function page (in a web tutorial) I saw functions are declared by return type-function name and parameters. The...
  26. M

    Comp Sci Java Programming Homework: Create Sandwich & TestSandwich Classes

    Homework Statement I decided to take a Java class so I can introduce my students to programming/java next year as part of an after school program. I am stuck! My code works except for the last part. It is in bold. Honestly, I am lost. I'm sure it is a simple solution but I can't see it. Any...
  27. M

    Mathematica "Do" loop with "If" conditional

    Hi, I have a function defined by: F[x_,y_,z_]:=3 x+y-2Y[z] where Y[z_]:=3/z I'd like to run Do loop to calculate the value of this function for specific regions of x,y,z. I can use: Do[F[x,y,z],{x,1,2,1},{y,-2,-1,1},{z,3,5,1}], But I have two questions here: First: How to save the output...
  28. Danielm

    How Can Dynamic Programming Optimize Study Hours for Maximum Grades?

    Homework Statement Suppose it’s nearing the end of the semester and you’re taking n courses, each with a final project that still has to be done. Each project will be graded on the following scale: It will be assigned an integer number on a scale of 1 to g > 1, higher numbers being better...
  29. L

    I Can Linear Programming Handle Combined Item and Shipping Costs Optimization?

    Hi everyone. I am tackling a problem related to the purchase of items that are available from different vendors, and from what I've seen so far it seems to me that it may be solvable by linear programming methods (I'm using R). However I'm not sure how to set up the problem to achieve the exact...
  30. V

    Master Mind - computer game programming in C#

    Homework Statement Create this website: In this game, there are four different coloured blocks (red, green, blue, and yellow). The computer hides three different coloured blocks from the user. The user then tries to guess the colours and the order of the blocks. After guessing the colour of...
  31. gerardofingurbe

    Learn Scientific Programming with CodeAcademy-Style Resources

    is there any site like codeacademy for scientific programming ?
  32. kolleamm

    How can we use AI to create a sense of humor?

    I've been developing an artificially intelligent software for a few years now. Its main goal is to have human like conversations with others. I've realized that humor is a very important part of conversation. After doing some research I may have found a definition for it - "something that is...
  33. Dominik Tugend

    I How to write main and sub objective for optimisation

    I have had this problem that I didn't know how to write it properly in this thread. Let's say I have two objective functions: minimize X minimize Y Let's say I want 1. as main objective and 2. a sub objective - by that I mean if there is a set of optimal solutions for 1., then final solution...
  34. ramzerimar

    Should I learn PIC programming or stay with arduino?

    I'm enjoying playing around with Arduino. It's very nice and intuitive, and it was a great introduction to electronics for me. But I've heard some people complaining that Arduino makes you lazy, and that you should learn how to program PIC instead. Thing is: apart from undertanding better the...
  35. A

    Linear algebra or intro to programming courses have higher failure rate?

    which has higher failure rate: linear algebra or intro to programming. I understand failure rate might be skewed: math majors, who are gifted and interested in math, are required to take linear algebra but not intro to programming, while CS majors are required to take both. Which class do CS...
  36. Dominik Tugend

    I 3rd order motion profile programming ("sinusoidal")

    What I am actually trying to do: I actually want to program (better) smooth camera tracking of objects for a hobby project of mine: HLAE / AfxHookSource ( http://www.advancedfx.org ) I made some compromises already to make things not even more complicated, so I am down to trying to use a 3rd...
  37. J

    Other Anxiety and avoidance of programming?

    I don't really know what the problem here is, but it's been dogging me for a long time. Basically, despite that I really love computers and working with computers, and I actually very much enjoy programming when I get into it, whenever I'm faced with a programming assignment for class or...
  38. Prof. 27

    Why Am I Getting Two Blocks of Zeroes in My Console Output?

    Homework Statement So, I'm getting two blocks of zeroes in my console output from this program. After much effort (and stack exchange) I'm still unable to get it working. Could someone point me to a solution? Mod note: Added code tags Homework Equations #include<iostream> #include<iomanip>...
  39. G

    MHB Linear Programming word problems

    a small business makes laptops and notepads. In any given month labour costs must not exceed £1350 and material costs must be a maximum of £1150. Relevant information: Laptops cost £50 in materials to make and labour costs £50, they make £110 profit on each laptop. notepads cost £25 in...
  40. R

    Wolfram Mathematica demonstrations programming book

    I am currently a complete beginner to Mathematica (in fact, to programming in general) I have done adequate research about books for general books on Mathematica, but I would like to find a book that focuses mostly on graphics, animations, demonstrating physics and the like. For example, while...
  41. A

    HTML/CSS Which Programming Language Should You Learn After HTML&CSS?

    After learning HTML&CSS, which do you reckon I should learn? Javascript, Python, C or Ruby? Also, how long would it take to master it assuming I spend full 3 hours each day?
  42. mpoli

    Linear Programming Case Study - Case Problem

    Homework Statement Linear Programming Case Study - Case Problem ( Page # 109 Decision making methods) “The Possibility” Restaurant? In the case problem, Angela and Zooey wanted to develop a linear programming model to help determine the number of beef and fish meals they should prepare each...
  43. Docscientist

    Java Learn Java Programming: Fast and Comprehensive Tutorials

    I was searching for a good website or an app that can teach Java.I found so many of them and they were pretty uninteresting.They don't teach from the scratch and I get so annoyed.And even in those videos that start from the scratch,it is very very slow that I feel why can't the teacher be...
  44. A

    Engineering What can i do with an Engineering Physics degree?

    I'll be attending the Southeast Missouri State University this fall and i am planning on majoring Engineering Physics: Computer Applications.The course plan includes the following courses: Introduction to Computer Programming, Object Oriented Programming,C and Unix Environment,Computer...
  45. H

    Programming an Arduino Robot to Avoid Obstacles - Help Needed!

    I need to program an arduino robot to execute a series of actions when there is an obstacle infront of him. Actions like: stop>go backwards>stop>shift left>go forward>stop>shift right> continue forward. With this the robot will avoid obstacles while keeping his original dirrection. The problem...
  46. S

    Help with understanding programming

    I am a very, VERY experienced programmer, as i programed in khan academy, scratch, code academy, and used android studio for programming robots in real life. However, i am very interested in programming A.I's and i learned a lot about that on codeacademy. My question is, what type of program do...
  47. A

    Recommendations for Mobile Development Programming Languages

    Can someone recommend me what programming language is good for mobile development? Thanks in advance.
  48. rumborak

    Is this an integer programming problem?

    At work I am writing a somewhat complex piece of software, and inside it at some point I have to solve the following problem: I have several "streams", each of which has equally spaced points according to a proportionality factor 'a', i.e. X=a*n. Each stream has a different 'a'. As an example...
  49. wololo

    Efficiently Finding Cycles in a Graph: A Scientific Exploration

    Homework Statement Homework Equations Recursion, graphs, DFS The Attempt at a Solution To try to solve this algorithm, I first need to find all the basic cycles in the Graph G. When I have these cycles, I can simply pick the smallest edge in each of them and add them to the set F, while...
  50. ramzerimar

    MechE undergrad who also enjoys programming and eletronics?

    I'm now at the second year of my MechE course. Until now, I've taken basic classes in physics, calculus, linear algebra and basic computer programming. I choose to undergraduate in Mechanical Engineering because I'm aware that it is a good and broad degree and it's a field that I like also. It...
Back
Top