Programming Definition and 1000 Threads
-
Solve the problem involving linear programming
Find question and solution here; The initial steps were a bit confusing to me...i decided to use hours instead of minutes ...only then did it become more clear to me. See my graph, Ok i follow that the function would be optimised at ##x=45## and ##y=6.25## ...now to my question...we...- chwala
- Thread
- Linear Linear programming Programming
- Replies: 2
- Forum: Precalculus Mathematics Homework Help
-
Comp Sci Abstraction level in programming - multimedia
source-: http://ce.sharif.ir/courses/84-85/2/ce342/resources/root/BOOK/Multimedia/215814- Chapter 16.pdf page number 7 Questions-: 1) What is read access? 2) What is presentation rate? 3) In fast forward, some data units are skipped but the valid life span for each frame is not changed...- shivajikobardan
- Thread
- Programming
- Replies: 4
- Forum: Engineering and Comp Sci Homework Help
-
C
Help with this emu8086 assembly language problem please
Summary:: my code has been successfully showing the right decrement of the letter. however, i tried to put space in between the letter output but its output became repititive letters. this is the original output when i try to put space it become like this i want to put spaces on the output...- chewi
- Thread
- Assembly Assembly language Code Language Programming
- Replies: 20
- Forum: Engineering and Comp Sci Homework Help
-
Engineering HL Programming: Mini-Assembler in Java
I already wrote the regToByte method, but I don't understand how to write the makeI and makeR methods correctly. Create a mini-Assembler for a 32-bit MIPS processor; Program should accept input lines from the user until HALT is read. With each line, translate the line into MIPS machine code...- Margarita0076
- Thread
- Java Programming
- Replies: 7
- Forum: Engineering and Comp Sci Homework Help
-
Engineering Assembly Programming (MIPS): Convert BCD to Decimal
I have this code which convert decimal number to binary number, but I do not understand how representation 8762 like 1000 0111 0110 0010. 8 7 6 2 1000 0111 0110 0010 .data strmsg: .asciiz "please Enter a decimal number: " .text #main method .globl main #main function main...- Margarita0076
- Thread
- Assembly Assembly language Convert Mars Mips Programming
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
B
How to make progress in programming classes?
Hi everyone, Hopefully I'm writing this in the correct part of PhysicsForum. Here is my problem: I'm really struggling with my programming class (basics of python3 - loops, dictionaries, numpy). What I did this semester: 1. Participated in every class 2. Solved everything our course offered...- bolzano95
- Thread
- Classes Programming Python
- Replies: 19
- Forum: STEM Academic Advising
-
I
Python Looking for programming exercises for OOP in Python
Hello I learned object oriented programming in Python from a book. But it does not have any programming exercises. I do not learn very much unless I do some programming exercises. It helps to hone the skills. So, I am looking for some exercises if OOP Python is taught in universities. Usually...- issacnewton
- Thread
- Exercises Oop Programming Python
- Replies: 3
- Forum: Programming and Computer Science
-
MHB What what should I do while learning programming?
Here is what I have planned to do-: 1) Do 1 course. 2) Buy a python textbook and solve it exercises and examples. 3) Solve 250 codewars problems 4) Do numerical methods in python. 5) Do cryptography algorithms in python. Will this be enough for my learning to be good enough to be a web developer...- shivajikobardan
- Thread
- Programming
- Replies: 7
- Forum: Programming and Computer Science
-
What should I do while learning programming?
Here is what I have planned to do-: 1) Do 1 course. 2) Buy a python textbook and solve it exercises and examples. 3) Solve 250 codewars problems 4) Do numerical methods in python. 5) Do cryptography algorithms in python. Will this be enough for my learning to be good enough to be a web developer...- shivajikobardan
- Thread
- Programming
- Replies: 8
- Forum: Programming and Computer Science
-
F
Optimization Problem - Dynamic Programming
Summary:: Hi, this is an exercise from an algorithm course. I have been trying for hours but I have no successful ideas on how to solve it. I can only understand that DP is the correct approach, since Greedy method does not work. Suppose you have *n* friends that wants to give you an amount of...- Fl0W3R
- Thread
- Constrained optimization Dynamic Dynamic programming Optimization Programming
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
Python What is the best interpereter/IDE for python basic programming?
What is the best IDE out there? It should be easy to use. Not as easy as online editors though.- shivajikobardan
- Thread
- Programming Python
- Replies: 18
- Forum: Programming and Computer Science
-
S
Substantial programming skills, and software versus programming
@StatGuy2000 said in another topic this part quoted here: The name of the topic was "From math PhD to space industry-possible?" The listing of what was suggested for the PhD student to learn looks like a large amount. Four different programming languages, although he did not say to what level...- symbolipoint
- Thread
- Programming Skills Software
- Replies: 16
- Forum: Programming and Computer Science
-
N
Programming language: what to study after the basics?
Hey everyone :). after studying c++ and a bit of phyton in the university (not in a career related to programming), I was wondering what to study after the basics. youtube tutorials are at about the same level as I was at (inheritance, class, pointer), not more advance... what is the...- Noob of the Maths
- Thread
- Basics Language Programming Study
- Replies: 28
- Forum: Programming and Computer Science
-
Whatever happened to Intentional Programming paradigm?
Has the approach towards programming, like for instance that of Intentional Programming, been proven to be fruitfull?- elcaro
- Thread
- Programming
- Replies: 4
- Forum: Programming and Computer Science
-
D
Python How does one assess progress when learning a programming language?
I'm a physics major (Junior) who would like to learn a programming language. Many suggest Python as a good starting language, so let's suppose that is the language I want to first learn. This isn't for employability or general usefulness; rather, I'm just curious. How exactly does one go about...- dpatnd
- Thread
- C programming C++ programming Language Programming Python
- Replies: 8
- Forum: Programming and Computer Science
-
S
Why is/was LISP good for AI programming?
Why is/was the LISP programming language thought to be good for writing programs that implement artificial intelligence? As I imagine it, early AI programs were oriented toward verbal (i.e. text) inputs and outputs. So perhaps a list processing language is/was well suited for that?- Stephen Tashi
- Thread
- Ai Programming
- Replies: 18
- Forum: Computing and Technology
-
Why do programming languages usually not implement number types with units?
In fact, the only programming language I know of that implements something like units is the programming language Frink. In other programming languages, the implementation is left to the programmer, for example C++ can implement this as a class.- elcaro
- Thread
- Programming Units
- Replies: 65
- Forum: Programming and Computer Science
-
Other Should I Learn C Programming from an Old Book?
My dad gave me his old copy of "the c programming language" by Kernighan and Ritchie, but I was flicking through it and it comes across as quite old-fashioned and has a lot of random sh*t like pointer arithmetic, memory allocation etc. Being an idiot, and one who's pretty out of practice with...- ergospherical
- Thread
- C programming Programming
- Replies: 16
- Forum: Science and Math Textbooks
-
"Funny" Observations From (PERL) Programming Docs...
So here I am slaving over Perl documentation (For my own pleasure I'm sad to say. I regard programming as LEGO for grownups) and I'm finding weird and funny things like: I mean what is that about? And perhaps less obvious: Well yes, it might :) You have any even more crazy or funny...- sbrothy
- Thread
- Funny Programming
- Replies: 4
- Forum: Programming and Computer Science
-
P
Job Skills Any industry jobs for physics grads requiring no programming?
Hi all, my question is as title. I am a fourth year PhD student in US and planning to graduate early to get in industry or community college. I major in high energy theory, and I have no coding/simulation skills at all (not interested at all). Thus, my situation is that professionally I have...- ParlorPink
- Thread
- Career Community college High energy physics Industry Jobs Physics Programming Theoretical physics
- Replies: 37
- Forum: STEM Career Guidance
-
J
Help Programming ARM7TDMI-S in Assembly
Hello friends, I'm looking to program the ARM7TDMI-S in assembly. Can anyone recommend any good development boards? Can anyone recommend an IDE? Can anyone recommend a textbook that would be good for leaning how to program this processor in Assembly? I know various other programming languages...- JohnSmith0909
- Thread
- Assembly Book recommendation Programming
- Replies: 9
- Forum: Computing and Technology
-
I Fitting Data to Grafted Distribution
I have a set of data (representing the strength distribution of samples), and I would like to fit a normal-Weibull grafted distribution. To the left of a specified graft point, the distribution is Weibull, and to the right it's normal. At the graft point, the value and the first derivative are...- person123
- Thread
- Data Distribution Fitting Normal Optimization Programming
- Replies: 6
- Forum: General Math
-
J
Programming Languages used in Graduate School? (quantum, high energy, and nuclear physics)
Hello, I have 1 undergrad year left and was wondering what the most used programming languages in grad school are. I still don't know which grad school will accept me so I haven't bothered to ask them directly as my application will be in November when I get my GRE scores. I am Interested in...- Jose Diaz
- Thread
- Energy Graduate Graduate school High energy Nuclear Nuclear physics Physics Programming Quantum School
- Replies: 3
- Forum: STEM Academic Advising
-
Z
Linearizing an equation for Mixed-integer linear programming (MILP)
Summary:: Linearizing an equation for MILP Hi All I have Linear programming problem where I need to linearise the following function: Y = A * log2(1 + (Bx/Cx^2)). where A, B and C are constants. Can you please help or advise?- zod123
- Thread
- Linear Linear programming Linearizing Programming
- Replies: 5
- Forum: Precalculus Mathematics Homework Help
-
B
How to write basic syntax for triangle recursion?
Hi, I'm new to programming in python [total beginner in programming] and I would like to ask you for your help. Here is what I got so far: import numpy as np import random from math import sqrt p = np.array([(0, 0), (1, 0), (1, (1/sqrt(2)))], dtype=float) t = np.array((0, 0)...- bolzano95
- Thread
- Programming Python Recursion Triangle
- Replies: 8
- Forum: Programming and Computer Science
-
Getting Started With Computers and Programming
I want to share a good Youtube Channel that I recently found. "Ben Eater" https://www.youtube.com/channel/UCS0N5baNlQWJCUrhCEo8WlA [I have no personal or financial interest in Ben Eater's stuff.] Mr. Eater is a talented teacher. His choice of topics and his execution of the demos are all...- anorlunda
- Thread
- Computers Programming
- Replies: 13
- Forum: Programming and Computer Science
-
T
Java Where To Start? (Learning Java for Game Design)
Hello, I am currently in my final year of middle school and I will be entering high school next year either public or private. Afr that I am of to college, where I would get more experience with game design. I would like to be a programmer when I graduate but, to get there I need to learn and I...- tombezlar
- Thread
- Programming
- Replies: 5
- Forum: Programming and Computer Science
-
Preparing for a Physics Degree: The Role of Programming in High School
How can a high school student prepare for a physics degree with programming. i.e. which programming language, what packages?- Philip551
- Thread
- Major Physics Physics major Programming
- Replies: 20
- Forum: STEM Academic Advising
-
Dynamical Programming - Sum of numbers / Advanced Problem
Let us suppose we have an equation such that $$N = \sum_{i=1}^N ix_i = x_1 + 2x_2 + 3x_3 + ...+Nx_N$$ and we also know that the solutions (i.e ##x_i##) ranges from ##\{0, N\}##. For example, if ##N=4## we would have $$x_1 + 2x_2 + 3x_3 + 4x_4 = 4$$ and ##x_1,x_2,x_3,x_4## will range from...- Arman777
- Thread
- advanced Numbers Programming Sum
- Replies: 3
- Forum: Programming and Computer Science
-
Y
What is my next logical step in programming?
I am finishing up the whole book of the brief version of Gaddis from cover to cover. I want to get suggestion what is the next logical step. So far I thought about the two option: 1) I have the Gaddis complete book on C++ which have 5 more chapters mostly on data structure...- yungman
- Thread
- Programming
- Replies: 7
- Forum: Programming and Computer Science
-
Y
Best Programming Language for a Smart Teenager
OK, since you guys are just talking amount yourselves, I want to ask a question about learning C++. I really want to expose my grand daughter to programming. She's 14 only. I was going to learn Python and work with her as it's supposed to be easier. But I am thinking, what if I work with her to...- yungman
- Thread
- Language Programming
- Replies: 54
- Forum: Programming and Computer Science
-
What was your motivation to learn programming?
Personally I don't know exactly why I want to learn programming. I am doing it anyway but my views on life are very dull and bland, I don't have any real interests besides basic human survival instincts which I think are where all my motivations stems from. I am a young adult now but as a kid...- Hacker Jack
- Thread
- Motivation Programming
- Replies: 32
- Forum: Programming and Computer Science
-
V
Optimizing Resources with Linear Programming: A Step-by-Step Approach
I am comfortable solving these types of problems, however I am having trouble setting up this problem and am unsure if I am doing this correctly so would someone be able to assist me? I first wrote an equation for the people: 10x +8y +11z. Then I made an equation for the flour: 4x + 12y + 8z...- ver_mathstats
- Thread
- Linear Linear programming Programming
- Replies: 2
- Forum: Calculus and Beyond Homework Help
-
M
MHB Dynamic programming: which recurrence relation do we use?
Hey! :unsure: At the cash register of a store we want to give change of worth $V$ cents of euro. Create and analyze a greedy algorithm that gives the change using the minimum number of coins. Assume that the available coins are the euro subdivisions, i.e. $\{1, 2, 5, 10, 20, 50\}$ and that we...- mathmari
- Thread
- Dynamic Dynamic programming Programming Recurrence Relation
- Replies: 2
- Forum: Programming and Computer Science
-
Programming style in R - to array-process or not?
R enables processing arrays by single statements rather than via loops, by having almost all commands able to apply to arrays as well as to scalars. I seem to recall, when I first learned it (a long while ago now) feeling that the intro texts, and user comments online, encouraged the practice of...- andrewkirk
- Thread
- Programming
- Replies: 2
- Forum: Computing and Technology
-
Linear programming and resolution theorem
Hi everyone hope you are well, I would like to express what I have done for this question: Proving and employing caratheodory theorem we can say that any point in polyhedron can be expressed as a convex combination of at most n+1 points (where n is the space dimension) in same polyhedron that...- mertcan
- Thread
- Linear Linear programming Programming Resolution Theorem
- Replies: 18
- Forum: Calculus and Beyond Homework Help
-
Pure Physicist - A physics simulator app
There are plenty of physics apps around already but most seem to just be words and pictures. I haven't found many that offer good simulators for proper textbook physics. So I made one. Pure Physicist - Google Play The underlying physics 'engine' uses the as yet incomplete University Physics...- sa1988
- Thread
- Android App Physicist Physics Programming Pure Simulator
- Replies: 3
- Forum: General Discussion
-
V
Comp Sci Programming with Java -- Reading From the Terminal
Right now I am learning coding on Java using IntelliJ IDEA. I have coded before on C++ and then Python, so I understand a little on Java. I'm not really sure how exactly I would change code so that it would read input from the terminal? Would I have to use a Scanner for this? I can post the...- ver_mathstats
- Thread
- Java Programming Reading
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
Studying Internalizing math using programming?
I know this isn't really asking for advice but maybe someone has a comment or two... As a young(er) man, while many of my friends fooled around doing drugs and (other) mindless entertainment, I was enough of a nerd to want to learn programming. Of course, I didn't spend my entire youth in...- sbrothy
- Thread
- Programming
- Replies: 5
- Forum: STEM Academic Advising
-
Where Can I Find Information About the 2019 Programming Competition?
I seem to have found a programming competition øen (for 2019),but I cannot find it again. Anyone have a clue where this went?- sbrothy
- Thread
- Competition Programming
- Replies: 13
- Forum: Programming and Computer Science
-
Y
What is the next step for learning programming?
So far, I almost finish chapter 10 in C++ book by Gaddis, have 3 to 4 more chapters to go. I want to start thinking about what is my next step to learn. Should I learn another language or move onto other parts of programming? I have been thinking what is my interest, I am not into gaming at...- yungman
- Thread
- Programming
- Replies: 58
- Forum: Programming and Computer Science
-
J
Best Environment/Programming Language for simple physics Simulations
Hello, I am looking for something to simulate/visualize simple particles and classical physics equations, preferably moving in real time Requirements: -Able to turn matrices/functions into geometric representations(visualize sphere, visualize a cylinder etc.) -Can do the classic ball bouncing...- Jarfi
- Thread
- Computational physics Language Physics Programming Simulation Simulations
- Replies: 10
- Forum: Programming and Computer Science
-
Y
Trying to decide which programming language I want to learn
Hi I just want to learn a language, but I don't know which one is best for me. I did programming back in the 70s and early 80s, mainly in assembly language. I learned Fortran, Basic and Pascal before, but they are so old. I since changed my career to analog and RF electronic designs and had not...- yungman
- Thread
- Language Programming
- Replies: 397
- Forum: Programming and Computer Science
-
Python How to plot a function with multiple parameters on the same set of axes
I attached a file with some explanations of the variables in the code and the plot that I should get. I don't know what is wrong. Any help will appreciated. from scipy.integrate import quad import numpy as np from scipy.special import gamma as gamma_function from scipy.constants import e...- Daniel Lima
- Thread
- Axes Function Multiple Parameters Physcis Plot Programming Python Set
- Replies: 6
- Forum: Programming and Computer Science
-
Error in trapezoidal integration using a Programming language
Summary:: I want to iterate a mathematical model using a programming language. The equation of the mathematical model is simple. The following is a brief explanation. I want to iterate a mathematical model using a programming language. The equation of the mathematical model is simple. The...- nughii
- Thread
- Error Integals Integration Language Programming
- Replies: 18
- Forum: Engineering and Comp Sci Homework Help
-
Mathematica Want to learn Mathematica programming
Could anybody already working in Mathematica guide me? I want to learn how to program for physics, to be able to simple models, make graphs for equations, and finally able to solve problems especially Quantum mechanics. Where should i begin? I have never used such 'software?/language?' before. I...- Ishika_96_sparkles
- Thread
- Mathematica Programming
- Replies: 23
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Bare Metal Programming for Beginners
Hey friends, I have had some time on my hand due to the COVID-19 pandemic and I hope everyone at PF is doing well. Thus, I have been learning some introductory electronics. This may be more of an opioniated question but, I am curious to hear from some ~experts~. From my understanding, bare...- Tone L
- Thread
- Beginners Microcontroller Programming
- Replies: 10
- Forum: Electrical Engineering
-
H
Other Programming in Statistics Careers
[Mod note: post moved to its own thread] I have a question about statistic type of employment if you care to answer it. My question is in statistics type careers does programming matter more or does mathematical knowledge of statistics matter more? What I mean is that a statistic person...- homeylova223
- Thread
- Careers Programming Statistics
- Replies: 2
- Forum: STEM Career Guidance
-
A
Execution of a Computer Program
Hello Everyone, I want to know about various types of errors that can occur during the execution of a computer program? I am learning programming skills right now and Can anyone know about it? Or anyone knows which types of questions have put in a programming based profile as a beginner point?- ankitdixit
- Thread
- Computer Program Programming
- Replies: 14
- Forum: Programming and Computer Science
-
P
Programming a Diffraction Pattern by the (pseudo?) method of images
I oriented a magnetic dipole perpendicular to the hole (parallel to the [FONT=STIXGeneral-Italic]y[FONT=STIXGeneral-Regular]̂ [FONT=STIXGeneral-Italic]y[FONT=STIXGeneral-Regular]̂ y^[FONT=STIXGeneral-Italic]y[FONT=STIXGeneral-Regular]̂ direction) with one end at it's origin and I get the...- PhDeezNutz
- Thread
- Diffraction Diffraction pattern Images Method Method of images Programming
- Replies: 39
- Forum: Advanced Physics Homework Help