Programming Definition and 1000 Threads
-
M
Should I learn Programming or learn to build things?
Hi fellas. Thanks for taking the time to read my post. I basically wanted to know if it is better to learn programming different languages rather than say building things? The reason I ask is because I want to get an internship by next year and I have no experience with programming or...- Metta
- Thread
- Build Programming
- Replies: 4
- Forum: STEM Academic Advising
-
D
Linear programming - convex analysis
Homework Statement Given 2 problems: (P1) min min(##x_1,x_2##) s.t ##x_1, x_2 \geq 0## (P2) min t s.t ##t \leq x_1## ##t \leq x_2## ##x_1, x_2 \geq 0## (i) Is the mapping f(##x_1,x_2##)=min(##x_1,x_2##) convex? (ii) What are the objectives of (P1) and (P2)? Homework Equations The...- drawar
- Thread
- Analysis Convex Linear Linear programming Programming
- Replies: 5
- Forum: Calculus and Beyond Homework Help
-
A
What are the top 10 most in-demand programming languages for employers?
This might sounds stupid but I'm just curious, what is the best programming language we have today?- aleph-aleph
- Thread
- Language Programming
- Replies: 15
- Forum: Programming and Computer Science
-
S
C/C++ C++ programming on prime numbers
this is the program which i wrote: #include<iostream.h> #include<conio.h> #include<stdlib.h> void prime(int p) { if(p==0||p==1) { cout<<"neither prime nor composite"<<endl; getch(); exit(1); } for(int i=2;i<p/2;i++) { if(p%i==0) { cout<<"composite"<<endl; break; } else...- smart_worker
- Thread
- C++ C++ programming Numbers Prime Prime numbers Programming
- Replies: 8
- Forum: Programming and Computer Science
-
S
Programming the forces the sun applies on earth
Hey guys, I am trying to create a 2d simulation of the Earth going around the sun. However I am facing an issue. I am not sure what are the forces that apply on the Earth in a 2d aspect. I know there is the gravitational pull GM1M2/R^2. I know there is momentum, which is P = V * R...- salimwtf
- Thread
- Earth Forces Programming Sun The sun
- Replies: 3
- Forum: Classical Physics
-
B
Best programming language for aspiring physics and engineers?
I feel that I should start learning how to program. The only thing stopping me from reading a few books and watching some videos is the whole matter of which language to choose from. There are just so many of them. My question is what would be the best and most useful programming language to...- basics
- Thread
- Language Physics Programming
- Replies: 8
- Forum: STEM Academic Advising
-
V
Comp Sci Having trouble with last part of JAVA programming assignment.
You have been commissioned by the US Navy to develop a system for tracking the amount of fuel consumed by fleets of ships. Each ship has a name (ex: "Carrier"), fuel capacity (the maximum amount of fuel the ship can carry), and amount of fuel currently onboard. In this problem, fuel is measured...- vysero
- Thread
- Assignment Java Programming
- Replies: 4
- Forum: Engineering and Comp Sci Homework Help
-
J
Guidance for Mech. Engr's trying to learn Programming, DAQ, & Controls
Brief background: 8 yrs exp in mechanical design/engineering of medical devices and CVD/PVD equipment for semiconductor B.S. in Mechanical Engineering P.E. in Mechanical Engineering (strength of materials & machine design focus) I'm looking for guidance/ learning recommendations for...- jehake12
- Thread
- Controls Guidance Programming
- Replies: 2
- Forum: Electrical Engineering
-
S
Mathematical formulation of Linear Programming Problem
[FONT=Helvetica Neue]A ship has three cargo loads -forward, centre and after. The capacity limits are given: [FONT=Helvetica Neue]Commodity Weight (in tonne) Volume (in cu. feet) [FONT=Helvetica Neue]Forward 2000 100000 [FONT=Helvetica Neue]Centre 3000 135000 [FONT=Helvetica Neue]After...- Suvadip
- Thread
- Linear Linear programming Mathematical Programming
- Replies: 4
- Forum: General Math
-
J
Project Euler programming challenges: Am I missing something?
I recently was looking for programming challenges and it was suggested to me that I check out Project Euler. http://projecteuler.net/problems These all seem straight-forward to me. Or there's something I'm not understanding about them. For instance, problem 1: Is there supposed to be...- Jamin2112
- Thread
- Euler Programming Project
- Replies: 31
- Forum: Programming and Computer Science
-
M
MHB Solutions of the given linear programming problem
Hello! :o Given the following linear programming problem $$\min(2x + 3y + 6z + 4w)$$ $$x+2y+3z+w \geq 5$$ $$x+y+2z+3w \geq 3$$ $$x,y,z,w \geq 0$$ I am asked to find all the solutions using the simplex method. To solve this problem we use the Two-Phase method, don't we? Then I found that there...- mathmari
- Thread
- Linear Linear programming Programming
- Replies: 3
- Forum: General Math
-
J
Most useful programming language for an Electronic Engineer?
So I'm quite new to this field but I'm trying to learn and absorb as much knowledge as I can while I study. I was casually looking on a few job sites the other day and a lot the vacancies require an engineer with at least basic programming skills. The languages listed were; VHDL, Embedded C...- JulzShred
- Thread
- Electronic Engineer Language Programming
- Replies: 15
- Forum: Electrical Engineering
-
G
Is OpenGL too old for computer graphics programming?
I am new to the world of computer science. I learned C language last year in my university. I also have a basic knowledge of OOP concepts and C# I want to learn Computer Graphics. I found this book named "Computer Graphics Using OpenGL by F.S. Hill" in the Library. The copyright year of the...- girlzrule786
- Thread
- Computer Graphics Programming
- Replies: 3
- Forum: Programming and Computer Science
-
S
Learning math through programming?
In short, I'm looking to switch careers but I need to learn math from the ground up. I like the idea of physics or engineering (Specifically something related to product design). Problem is, I have a really crappy math background and need to fill in that gap in knowledge, among other things...- sushifiend
- Thread
- Learning math Programming
- Replies: 18
- Forum: STEM Academic Advising
-
O
Programming Advice: Learn Java for Fast Results
please I want an advice how to be learn programming in the shortest time .I already know java but I want to be a great programmer what to do ?- omar alaa
- Thread
- Programming
- Replies: 8
- Forum: STEM Academic Advising
-
N
C programming: pointer assignment only in main()?
Hello, I was assigning a pointer to an array and I noticed it will only this to takeplace within the main function: #include <stdio.h> float array_1[10] = { 1,1,2,3,4,5,6,7,8,9 }; float * p_array_1; int main( void ) { p_array_1 = &array_1; printf("array address using ampersand is %p...- nobahar
- Thread
- Assignment C programming Programming
- Replies: 9
- Forum: Programming and Computer Science
-
N
C programming: array declared before main() and initialised in main()
Hello! I am sure I am again missing something obvious: I tried to declare the array and assing value within main() as follows: #include <stdio.h> float array_1[10]; int main( void ) { array_1[10] = { 1,1,2,3,4,5,6,7,8,9 }; ...other stuff... return 0; } I can declare and...- nobahar
- Thread
- Array C programming Programming
- Replies: 9
- Forum: Programming and Computer Science
-
N
Simple C programming problem, variable stuck at initialised value
Simple C programming problem, variable "stuck" at initialised value Hello! This is most likely an error in my code but I just can't see what it is! I am new to C programming and maybe I have just been staring at it for so long that I can't see the obvious error. I was playing around with a...- nobahar
- Thread
- C programming Programming Stuck Value Variable
- Replies: 2
- Forum: Programming and Computer Science
-
J
Best programming language for a microcontroller?
So I've taken a course in java and gotten a solid grasp on it, I've learned using the arduino assembly language and messed around with it making some gadgets, and now I wan't to go further. I want to buy a pure microcontroller or processer without a board, and start programming simple stuff...- Jarfi
- Thread
- Language Microcontroller Programming
- Replies: 17
- Forum: Electrical Engineering
-
T
Programming Languages for Photonics Career
I know computer programming skills are important in applied physics/engineering jobs and am looking for some advice as to how and what I should do to teach myself these skills. I am in a Photonics Master's degree program, which gears students toward acquiring jobs in industry (semiconductors...- The Head
- Thread
- Career Online degree Photonics Programming
- Replies: 4
- Forum: STEM Academic Advising
-
R
Comp Sci Fortran programming to solve linear equation for ode
Fint the exact solution of the system dy/dt = -15y-25z dz/dt=-47y-85z with inital condition y(0)=2, z(0)=5 either by writing the equation in matrix form as dx/dt =AX where x=(y z) and diagonalising the matrix A, or otherwise. Using fortran programming with second order adam bashforth...- ra_forever8
- Thread
- Fortran Linear Linear equation Ode Programming
- Replies: 4
- Forum: Engineering and Comp Sci Homework Help
-
R
Comp Sci Fortran programming for nonlinear ode
Adapt the fortran programming using second order adams bashforth method to generate a numerical solution of the Lorenz system: dx/dt =-10x+10y dy/dy=28x-y-x*z dz/dt= x*y- (8/3)*z with initial condition x(0)=y(0)=0, z(0)=2 slightly perturbed. Plot x and z against t runs from 0 to 15, and also z...- ra_forever8
- Thread
- Fortran Nonlinear Ode Programming
- Replies: 7
- Forum: Engineering and Comp Sci Homework Help
-
R
Fortran programming to solve ODEs
Consider the first order differential equation \[\frac{dy}{dy} = f(t,y) = -16 t^3 y^2\] with initial condition $y(0)=1$ Using second order Adams-Bashforth method, write a Fortran programming to generate an approximate solution to the problem. Solution Program adams Implicit None Real...- ra_forever8
- Thread
- Fortran Odes Programming
- Replies: 1
- Forum: General Math
-
R
Comp Sci Fortran Programming for order differential equation
Consider the first order differential equation dy/dy = f(t,y) = -16 t^3 y^2 with initial condition y(0)=1 Using second order Adams-Bashforth method, write a Fortran programming to generate an approximate solution to the problem. please forgive me for not trying because I really...- ra_forever8
- Thread
- Differential Differential equation Fortran Programming
- Replies: 22
- Forum: Engineering and Comp Sci Homework Help
-
A
Solve Visual Studio Not Finding Downloaded File
Homework Statement I am trying to write a program in Visual Studio that opens a file downloaded to my computer. I have downloaded the file but Visual Studio can't seem to find it. Anyone know what I need to do? TIA! Homework Equations The Attempt at a Solution- andryd9
- Thread
- Programming
- Replies: 6
- Forum: Engineering and Comp Sci Homework Help
-
S
MHB Linear Programming using Graphing Calculator
My daughter needs serious help with Linear Programming using Graphing Calculator. She has a problem she has been trying to solve for over a month, I have tried to help her and searched endlessly for help. Hopefully, the link below works. Everything comes up fine except for the very last part...- safaulk
- Thread
- Calculator Graphing Linear Linear programming Programming
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Programming TI Products: Beginner's Guide to Programming CC2540/CC2541 Chips
Hello guys, I am a little intrigued with TI's (Texas Instrument) line of products, especially the Bluetooth Low Energy chips that they have. I am working on a project (personal, not school) and all I need to do is program a TI CC2540 or CC2541 to control a basic DC motor (eventually, from an...- Moneer81
- Thread
- Bluetooth Programming
- Replies: 1
- Forum: Electrical Engineering
-
W
Is Video Game Programming Possible?
I go to UC Davis and was thinking about switching to the computer science/engineering major(currently in bioengineering right now) with the idea that I could get into the video game programming/development world. I have had limited experience with coding (just some minor things to control little...- westee222
- Thread
- Game Game programming Programming Video
- Replies: 7
- Forum: STEM Career Guidance
-
C
Best programming language for physics
Hello, I'm not sure if this is the right place for this thread, but I think it is (This forum is for computational physics as well) So, my question is quite "soft". What is (in your opinion, obviously) the best programming language for physics? Also, what programming language is most used...- Crake
- Thread
- Language Physics Programming
- Replies: 26
- Forum: STEM Academic Advising
-
L
Programming jobs related to astronomy
I am currently a math major and I have one more year before graduating with a bachelors degree. There aren't many career opportunities for a math major -- with only a bachelors degree -- other than being a teacher or going to graduate school; which I heard is very challenging and has a lot of...- Lee33
- Thread
- Astronomy Jobs Programming
- Replies: 6
- Forum: STEM Career Guidance
-
L
Programming the Nearly Free Electron Model Band Diagram for BCC and FC
Hello Physics Forums. Our professor asked us to do a program on constructing the band diagram of BCC and FCC for nearly free electron approximation. what is the best algorithm i can use? i can program a bit, it's just the step-by-step method i am not sure of. thank you- lubin1
- Thread
- Band Diagram Electron Free electron model Model Programming
- Replies: 1
- Forum: Atomic and Condensed Matter
-
R
Programming newbie trying to learn C
I have no background knowledge of any computer language whatsoever. I have been following several online beginner tutorials in C and want to continue learning the language. I am using Xcode as a compiler. I have ordered "Learn C on the Mac: For OS X and iOS" David Mark (Author), James Bucanek...- rtmich224
- Thread
- Programming
- Replies: 8
- Forum: Programming and Computer Science
-
L
MATLAB Programming Loops Question
Homework Statement Write a program that does the following: Prints the four gases on the screen and asks the user to select which gas to find the heat capacity for. Asks the user for a temperature. Asks the user if another temperature is needed (enter yes or no). If the answer is yes...- lee_sarah76
- Thread
- Loops Matlab Matlab programming Programming
- Replies: 7
- Forum: Engineering and Comp Sci Homework Help
-
P
Romberg Integration Programming
Hi all. I would like to write a code to perform the romberg integration (RI) using the trapezoidal rule as the basis. I would like the function to integrate any proper function of my choosing for any desired level. Being succinct is a definite plus. I am not sure how familiar the people on...- pyroknife
- Thread
- Integration Programming
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
P
Python Any ideas for intermediate-level programming projects in Python?
I have recently learned Python programming as a self study and am proficient in using the syntax. I can currently make calculators and other operational tools in Python, but I can't use Python to actually manipulate a computer; there is ample instruction in basic programming on-line but not much...- PotentialE
- Thread
- Ideas Programming Projects Python
- Replies: 4
- Forum: Programming and Computer Science
-
A
Java How Can a Beginner Tackle Learning Java and Android Programming?
I'm an undergraduate, and I have a scholarship to help do research with one of my professors. He's assigned me to learn Java and how to program Android apps. I have absolutely no programming experience. It seems like they expect me to get it down in a couple of weeks, but there is just so...- axmls
- Thread
- Android Java Programming
- Replies: 10
- Forum: Programming and Computer Science
-
S
The best way to learn to programming?
I really feel I need to get better at writing computer code and at least learn some fundamental basics about computer programming if I am to have a successful career in Physics. Would like to know what would be the best way to learn these skills. Can anyone recommend any online courses or just...- SteveDC
- Thread
- Programming
- Replies: 9
- Forum: STEM Academic Advising
-
F
Program Arduino Sensor for 10V DC Output
Hey guys I am trying to program a sensor using an arduino. The sensor is operational at 10V DC and an arduino only gives out like 5V. I wanted to know how can I manipulate it to output 10V. Do I need some hardware or can I do it with just programming? Thanx in advance!- Filoe16
- Thread
- Arduino Programming
- Replies: 1
- Forum: Mechanical Engineering
-
A
Top C Programming Books for Beginners: Expert Recommendations
Hi, could anyone recommend me a good book for learning C programming? I know that there are lots of good website but I would prefer a solid book, however without reading them before hand naturally I can't determine a good one! So any advice on this specifically would be good thank you. Or any...- AlexVGheo
- Thread
- C programming Programming
- Replies: 14
- Forum: Science and Math Textbooks
-
C
Xilinx programming on OSX (Found an SP601)
An engineering company I interned with were shutting up their design centre, and the guys invited me into pillage the corpse. I lucked out and found a Xilinx SP601 FPGA. I've finally got some time and inclination to start playing with it, but unfortunately I lucked out again and got a macbook as...- c0g
- Thread
- Programming
- Replies: 1
- Forum: Electrical Engineering
-
C
Fortran Fortran Programming Silverfrost Error 112
I'm new to Fortran, trying to run this program but when I enter the variables it gives me an error 112. Please help me find where is the mistake. I copied the program from an old book. DIMENSION S(50),V(50) ! Element stress and velocity DIMENSION U(51) ! Nodal displacement ! Double...- carlosg
- Thread
- Error Fortran Programming
- Replies: 8
- Forum: Programming and Computer Science
-
Y
Is programming important in engineering?
is programming important in engineering?? Hello how are you guys?? so my question is how important programming languages are in the Mechanical Engineering ?? is being professional with programming languages very helpful and will increase job opportunities?? how about other disciplines...- YYaaSSeeRR
- Thread
- Engineering Important Programming
- Replies: 5
- Forum: General Engineering
-
E
Linear Programming Exam Question
Homework Statement Here is the stated problem: MSA computer corporation manufactures two computer system. Alpha 4 and Beta 5. The firm employs five technicians working 160 hours per month. Management insists on no overtime next month (less than or equal to 160 hours).20 hours labour is...- elyttle
- Thread
- Exam Linear Linear programming Programming
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
S
What is the difficulty level of programming as an analyst?
Hello, I am a rising second year student studying mathematics. Back in high school when I chose to study math, I did not worry much about getting a job because I planned to do a double major with computer science. Then after two weeks of my CS course, I realized that I absolutely hate...- set
- Thread
- Programming
- Replies: 2
- Forum: STEM Career Guidance
-
T
Linear Programming Mixture Problem
Homework Statement Hi, I am having a problem with this particular type of problem. I am just so confused that I don't even know how to attempt these types of problems. Can someone please explain to me how to work with mixture problems.- TheRedDevil18
- Thread
- Linear Linear programming Mixture Programming
- Replies: 6
- Forum: Precalculus Mathematics Homework Help
-
T
Engineering Importance of Programming in Physics/High-Tech/Engineering Careers?
Hello! I have a question regarding the field of Photonics. The school I am attending is launching a brand new program, a Professional Science Master's in the area of Photonics. The program is being run by the physics department. Ideally what the program is trying to do is to give students...- The Head
- Thread
- Careers Programming
- Replies: 7
- Forum: STEM Career Guidance
-
M
What is the purpose of this table?
I am learning scheme programming. What is the result of this? (define (small a b) (string<? (first a) (first b)) And the list is (list "apple" "100 yen"). What is the first a and what is the first b? Is it "a" and "1"? If so, between these two, which is lesser?- MissP.25_5
- Thread
- Programming
- Replies: 4
- Forum: Engineering and Comp Sci Homework Help
-
P
Computational Physics Book Based ON ''c'' Programming
I am a beginner at computational physics. I have knowledge on C programming only and some knowledge on numerical analysis. please suggest me books which I can follow to learn Comp.physics. The book must be based on C programming. I do not have knowledge on python, java or fortran. please help.- pradosh002
- Thread
- Book Computational Computational physics Physics Physics book Programming
- Replies: 1
- Forum: Science and Math Textbooks
-
J
Give up on trying to find a programming job?
I live in Seattle, so my opportunities are better than most people. Still I'm having trouble. My friends who graduated college and were able to get jobs at Amazon, Microsoft, Facebook or Google did so by getting job offers after interning for a year or 2. I have scored two different interviews...- Jamin2112
- Thread
- Job Programming
- Replies: 7
- Forum: STEM Career Guidance
-
P
Arduino Programming for Servo motor
Hi all. I am working on a project that requires using an arduino microcontroller to control the motion of a servo motor. The original code is of the form: #include <Servo.h> Servo myservo; // create servo object to control a servo // a maximum of eight servo objects...- pyroknife
- Thread
- Arduino Motor Programming Servo
- Replies: 8
- Forum: Electrical Engineering