A computer program is a collection of instructions that can be executed by a computer to perform a specific task.
A computer program is usually written by a computer programmer in a programming language. From the program in its human-readable form of source code, a compiler or assembler can derive machine code—a form consisting of instructions that the computer can directly execute. Alternatively, a computer program may be executed with the aid of an interpreter.
A collection of computer programs, libraries, and related data are referred to as software. Computer programs may be categorized along functional lines, such as application software and system software. The underlying method used for some calculation or manipulation is known as an algorithm.
Homework Statement
I am supposed to write a program that uses a bag of strings to keep track of a list of chores. The user can add, remove, view, etc. items on the list.
Homework Equations
When I run the program and i choose an option from the menu. It displays the menu again before...
Hi guys,
I am looking for a simple 3D drawing program, where I could draw a bunch of balls of different
colors and maybe some bulky arrows. If I could make a small movie (or a GIF) by making the balls
move, that would be a nice extra.
What would be the simplest solution? Mathematica...
Hi,
I want to modify a program that was written long ago. I would like to give the output from hardware as user input. Here, user input deals with current at maximum duty cycle allways. My task is to control the current according to the user input. Let say, if user wants 2kA as O/P and i...
Homework Statement
Create a function called isEqual(). isEqual() takes two strings and determines if the strings are identical. isEqual (s1, s2) should be the same as s1 = = s2
#include "stdafx.h"
#include <iostream>
using namespace std;
bool isEqual(int *s, int *st, int x);
int...
Hello,
I need help writing a MATLAB program to solve a heat transfer problem implicitly. For some reason this is very confusing to me. The problem is stated below. Any help is greatly appriciated. Let me know if you need a little more info.
I need to write a program to solve this...
im currently studying civil engineering at your typical technical college. right now I am taking a course in differential equations and i guess you can say I'm relatively interested in it. I've been toying with the idea of minoring in applied mathematics but i guess that's another story...
Hello,
I am currently in my Second year of Computer Engineering, but I often find myself not enjoying the electrical engineering courses that we have to take (Electromagnetics, Microelectronics, Circuits and Systems) but I immensely enjoy the programming courses and the Computer Engineering...
Fortran 90:(Description in program how to continue it)
Homework Statement
Write a program in Fortran 90 (not fortran 77) that reads from the user 4 integers a, b, c, d. The program should first check if applicable inequality
a ≤ b, c ≤ d.
If not then it should asking again numbers from the...
Hello computer geniuses. I am learning to develop visual basic program. For just now I have
developed the project of student database through text base mode. I know how to publish
the application to make set up files.
My main problem is that I need to make setup files install the folders...
Hello,
I am a sophomore physics and mathematics double major, and I plan to attend graduate school for physics with a concentration in biophysics, or just biophysics. However, this is subject to change, as I find a lot of areas of physics interesting.
I was recently accepted to two REU...
I am looking forward to apply for Plasma Physics program in PPPL(Princeton) and Univ of Michigan. But I am not sure about what sort of recommendation letters I should send. I have one strong recomendation from my undergrad project supervisor(the project is plasma diagnostics in Hall Effect...
I am sorry guys - I don't have privileges to post in other sections of this forum.
I am looking for a Latex program that shows the result of the code in real time so that I don't have to create a pdf every time I need to see if my code was correct.
Any suggestions?
Thanks.
As a class assignment, we were required to write a program that calculated the basis functions and also plot the resulting b-spline given a set of x, y, z points. I have done this and the program works.
I would, however, like to develop this further for b-spline surface generation (not a...
Hi,
I want to write a java program to get information from a USB communications port. I have downloaded the javax-usb-r1 package but I don't know where I should place this folder / package.
Can anyone give some advice?
Thanks
Is anyone familiar with the program "LM v1.0". It simplifies expressions via minterms. I have downloaded it and installed it on the TI-89, and I can find the program on the calculator. However, when I type in, exactly as the instructions say to, I get no output; that is, it merely displays what...
The issue I am having is that I want to create a program which reads a .txt file and copies it exactly to a .inp file followed by some coordinates which I am generating. the . txt file is being used as a header file which can be changed outside the program but once the program is read in the new...
Hello PF,
I did a quick google and couldn't find exactly what I was looking for so here it is:
I am an undergrad graduating next year with a bachelors in Engineering Physics. So far my concentration has been in physics. I took one Intro to EE course which I liked, and I am taking a circuits...
The program I wrote accepts a certain number between 3 and 18.
Then it returns the ways this number can be obtained by throwing three dice simultaneously and adding the face values.
I want to manipulate this number, :biggrin:
but can't achieve it using the ordinary code of manipulation...
Homework Statement
Hello.
A student came to me by yesterday with a question like this:
Here is a sample file (sample.dat),
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
10 0
and also with many result files, such as result_1.dat:
1 0.1
2...
Hi all,
I am building a LED tomography system (think of it as a simple transmitter and receiver). I would like to do signal processing on the received data, so I am needing to convert my analog, received signal to a digital signal.
The ADC I have chosen is the ADC0831 (DIP package). The...
Ok, so the latest headline from RussiaToday has prompted me to finally inquire about the the nuclear program issue. We've all heard about how Iran claims their nuclear program is for the alleged peaceful purposes. A recent report has stated that Iran officially has "enough radioactive material...
Hi I was searching for a slope field program for my calculator and found this one
http://www.math.lsa.umich.edu/courses/116/Calculator/TI83/TI83-SF.html
for some reason I can't get it to work. When I run it I only get one line row of lines at the bottom of my window when it graphs it. I...
I'm sorry if this is the wrong forum for this.
But I was watching a cartoon with my niece the other day. And I saw that in the background one of the characters was doing some mathematical equations on a black board. And I noticed some jargen that didn't make sense.
I thought nothing of...
So I want to learn C++ & website making as a side hobby since I have some free time in my days. What programs do you all use and would suggest for C++, Visual C++ ? LOL.
And for website design or making; what program? Sorry I don't know the correct terms.
http://nakedsecurity.sophos.com/2012/01/24/canadian-resident-sentenced-to-death-for-writing-a-computer-program/
I just can't believe this. If anyone wanted proof that Iran's leadership is not in any way civilized, this is it. I feel that something should be done, but I just am not sure what yet.
So this isn't for homework. Basically I have a program in fortran 90 that computes an approximation of pi using a very non efficient method. So that it can do about 10^8 operations and still doesn't converge that much which is what I'm looking for.
I want to write this program in C too, but...
Hi
I am doing a course on Program verification and am having trouble with the properties of summation, more specifically the rule of translation:
"Suppose function f maps values of type J to values of type K, and suppose g is a function that maps values of type K to values of type J. suppose...
Homework Statement
I'm supposed to write a program which asks for an integer input, then determines if the input is a prime or not.
I wrote a program but I have 2 issues:
1) It works well for primes up to around the size of 30000~, then above that (I just tried 65537, for a weak upper bound)...
Hey, been 6 semesters since I took a fortran class and it's come up again. I'm and engineering major so I don't know what about programming and what not.
Anyways, I need a program that multiplies an NxN matrix by an N dimensional vector. This is what I have so far:
Program Matrix
IMPLICIT...
#include <stdio.h>
int main()
{
double sum, theta[100];
int i;
sum = 0.0;
i = 0;
while (i < 100)
{
sum = sum + theta[i];
i = i + 1;
}
printf("The sum of the array is %lf\n", sum);
}
when i run it i get a wrong answer...i don't know how to initialize the array
hello my fellow physicists. I have a degree in industrial engineering but my true passion is computer science.
I want to apply to a MSc conversion program in computer science in the UK. Will this prepare me for a PhD?
is this a bad idea?
will not having an undergraduate degree in CS be a problem...
Very simple MCU program,the purpose would be sending strings to the computer, but no footnotes, so I have to guess the intention:
void SendStr(unsigned char *s)
{
while(*s!='\0')
{
SendByte(*s);
s++;
}
}
/*Question No.1: How does SendByte interact with SendStr?
Here is the SendByte...
Hi,
When I was in high school I took a lot of hard courses and was also involved extra curricular activities with a full 12 seasons of sports, I was also in a couple of clubs. As a result however I was absolutely miserable and hated high school, due to a lack of sleep among other things. All...
hi all,
I've created the small program which deals with the calculation of plate bending with quadrilateral finite element, program is written with Fortran. I've included all the source files that need to compile the program ,I've even added the executable file (along with input file...
Hi all,
So, I'm finishing up my master's degree in applied physics (not much different from a master's in physics if you choose your courses correctly) and am looking into Ph.D programs. One thing I haven't seen much information about is the requirements if you are coming into the program...
I have a bit of a dilemma. I'm designing a game in PHP (been designing it for several months now.) And want to release a trailer. Right now, the game isn't very pretty, and won't be until I get someone to do some artwork for me, but I haven't gotten much interest anywhere I've posted looking...
This is the second year of grad applications for me and although I've done what I could afford to improve my application (paying for and A-minus-ing a semester of grad level QM), I'm feeling pretty pessimistic about my odds of acceptance again. Frankly, I'm almost 26 and I'm not sure if I can...
Hello all,
I'm currently a junior in the Mechanical Engineering program at the University of Utah. I'd like to go into either the MS or PhD program in Nuclear Engineering there. There is no BS in Nuclear Engineering offered there, but there is an NE minor for undergraduates, which would allow...
I want to see what type of impacts a certain suit, say for example, an iron man suit, can handle with different materials. for example, what would happen if you where to make it out of iron compared to titanium or nitinal, what would happen if you shot it with a 9mm or even 105mm tank cannon...
Hi, i am currently studying Industrial engineering in Peru, i will graduate in 2 months. (i will get the equivalent of a BS in industrial engineer) All my life i have been into technology, computers, math, science, etc. Anyways i was wondering if i have a chance of getting into an electrical...
I have a simple command-line based Fortran 95 program. I would like
my clients to be able to run it straight on the website. So that it
can be executed on the server without downloading it.
I have found out that most of the hosting packages and web browsers do
not allow running .exe files...
Hi guys
I'm trying to program a Roulette game on Python
My programs asks for inputs and I gave names to these inputs.
The point is, since I didn't assign these names before, the following error occurs:
UnboundLocalError: local variable 'color' referenced before assignment
I tried to get...
I am a third year EE undergraduate and I am thinking of getting a Master of Science degree in EE after my undergraduate studies.
There are a lot of information here regarding PhD admissions, but I couldn't find any that specifically states the factors that can affect a Master's program...
I'm a junior undergrad who is applying for a REU (Research Experience for Undergraduates) program at FSU's High Magnetic Field Laboratory, and in my application it requires a resume. I've never made a resume before, not even for my job, so I'm unsure of what to do. I've looked at resumes for...
Hey guys! I desperately need a software for performing operations on large numbers (some 200-digits), and as I have no knowledge of programming, I think a complete software package is what I'm looking for.
I think I am onto something regarding the integer factorization problem, but I have no...
Hi. I'm currently a first-year Master's student in EE. I just wrapped up my first quarter and, in all likelihood, my GPA is going to be below a 3.0. In my school, that means that I'll be put on academic probation for the next quarter. If I don't get a 3.0 or above in the next quarter, I'll be...
I'm trying to write a program that will find and then display the prime factor of a number.
I have written this in C# but it works for some numbers but doesn't work for others?
using System;
class primefactors
{
public static void Main()
{
int number;
bool...
I'm relatively new to C programming and I am trying to make a program to take and print the natural log of a number input by the user but for some reason my program always returns incorrect answers. For example I entered 1 as my number, and the answer came back as some ridiculously big value...
Question: Write a program to convert 22 square metres into square kilometres.
Note: divide square metres by 1 million to produce square kilometres.
Note also that the answer is not zero!
I know the note says the answer is not zero but shouldn't it have some value other than 0 ?
My code...