Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India.
Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151
Course Lectures: http://www.nptel.ac.in/courses/106105151/1
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India.
Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151
Course Lectures: http://www.nptel.ac.in/courses/106105151/1
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India.
Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151
Course Lectures: http://www.nptel.ac.in/courses/106105151/1
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India.
Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151
Course Lectures: http://www.nptel.ac.in/courses/106105151/1
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India.
Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151
Course Lectures: http://www.nptel.ac.in/courses/106105151/1
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India.
Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151
Course Lectures: http://www.nptel.ac.in/courses/106105151/1
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India.
Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151
Course Lectures: http://www.nptel.ac.in/courses/106105151/1
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India.
Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151
Course Lectures: http://www.nptel.ac.in/courses/106105151/1
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India.
Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151
Course Lectures: http://www.nptel.ac.in/courses/106105151/1
Hi everybody!
I need to compute a C++ program for solve Schrodinger equation and calculate nuclear density.
My nucleus is made up of only neutrons immersed in a potential of a harmonic oscillator.
Schrodinger equation is:
$$[-\frac{\hbar^2}{2m}\triangledown^2+V_{HO}(r)]\psi=E\psi$$
with...
I would like to discuss code for hit and miss monte carlo methods, and also monte carlo with veto algorithm in C++. Since I am coding in C++ after a long time, I am messed up with syntax too. I have a specific set of problems to work with. If interested we can start working on it here.
So I'm trying to teach myself C++ programming and I'm having trouble writing a password program.
Essentially I want to program to ask the user to input a password, and then compare that input with the correct password. If the user input matches the password I want the program to output a message...
Dear group,
I am using Eclipse in the Ubuntu operation system and trying to print out this data from the begin to the string "END OF HEADER" but I do not understand why it did not give me the one as I expected.
I also used this file "albe0320_1.17n" to test and it worked, but the file that I...
Hi
I'm studying 2nd year for a bachelor's degree in physics and I'm interested in programming (Beginner C++ programmer). I have already done simulations like harmonic motions, Ising model etc but I know this can go further and I need help with that. I use Ubuntu for programming with c++. (GCC...
Hi Group,
I am trying to get data from text file, I hope someone can suggest me how to do?
I also have this code which can read data, but i do not know how to scan every single line to get any information I want.
Please help, Thank you very much.
Here is my code:
#include <iostream>...
I am trying to use C++ (eclipse in Ubuntu OS) to read USB connection. Usually, on the terminal window, I can use command "lsusb" to see the list. Now, I want to do the same way with C++.
can anyone help?
Thank you very much.
Homework Statement
I am trying to solve a problem that asks me to give the total days between two dates. I have to take care of the some matters between those two dates such as leap years and the way of inputting the years by the users. (For example, if you input 1 and 17, the code will still...
Homework Statement
MUST USE RECURSION TO SOLVE THESE PARTS.
Part A: Have a user input a string. Then display this string smashed up as follows: display the first character in the string, then the last, then the second, then the second to last, then the third... So if the string is “abcdef”, it...
i wanted to ask you that in c++it is important we should learn linked list before learning stack,queue that i wanted to know while studying data structures
well i wanted to ask you
what is cmd,jdk,.
why do we need to install jdk in java why not directly we cannot install ide of java directly like we download codeblock for c++ directly
but in java we download jdk then we download net beans environment
confusing
I wanted to ask you when we finish high school and go to university for studying bachelor of technology in computer science are there jobs that high school students do regarding programming with companies through programming they have learn in ap courses in grade 12 that i wanted to know
In C++ we have 2 types of data structures :-
1)simple data structure
so array and structure come in simple data structure group
2)compound data structure
so stack,queue,link list,tree come in compound data structure group.
In Indian board CBSE data structure linked list is not included it is...
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?
anyone help me to convert this sample code of Gaussian Cone shape of random number code in Matlab into C++
function GaussianCone
clear all; clc;
mx=10000; my=mx; mz=mx;
z=[1:1:mz]';
sigma=0.01; R=0.5; mu=0;
sigmax=sigma+R*z;
sigmay=sigma+R*z;
x=zeros(mx,1)...
I am having some problems to use the gsl library. I do the integration via monte carlo and I have obtained the right result, but a need to know how to use this result when I have a dependence on another variable. For example, f(x,y)=x*y, but the integration is only on x. Because I want to...
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...
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...
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...
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...
I was wondering some things I could try to increase my skill in programming using physics problems. I'm not interested in a physics engine or anything super advanced like that, just some fun programming projects (ie the physics makes it fun, for me).
I would say I'm still a beginner in C++...
Hello there!
I typed this code and saved it as a .c file
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
int main()
{
int a;
while(1)
{
if (kbhit())
{
system("cls");
printf("%d...
Author: Bjarne Stroustrup
Title: The C++ Programming Language
Amazon Link: https://www.amazon.com/dp/0201700735/?tag=pfamazon01-20
Prerequisities:
Contents:
Homework Statement
I am solving a problem in which I am reading numbers from cells in a csv file, I used getline to get strings from the csv file then converted the string to an integer... but the getline seemingly discards the last cell in the csv file
Homework Equations
this my C++...
Homework Statement
I'm starting my C++ project which requires me to call a file stream and output the data to four other output streams.
Before I start, I want to know if I need to have a .dat file premade and saved somewhere so I can call it or do I just make that file in my code by using...
Having a lot of trouble the my C++ course, loops especially. This is the assignment giving me trouble
The function you are to implement finds a root of the given function eff(x) using Newton's method. The given version of eff(x) implements f(x) = x2e-x-2 (where e is the base of the natual...
It's a pity that the various coding standards that I have seen are inconsistent as to when to use #include "file_spec" or #include <file_spec>.
The "High Integrity C++ Coding Standard" says:
High Integrity CPP Rule 14.9: Use <> brackets for system and standard library headers. Use ""...
idk if some of you remember Recommend a book on Python Programming thread i created a while back. As some of you suggested, i bought Lutz's book. I've looked into (or at least skimmed through) most of the book...i really liked it.
I'm currently working on GUI Tkinter, it seems interesting...
This program is supposed to add 2 integers ,according to the compiler, there are 2 warnings and 1 error ,the error is (undefined symbol' end')
the warnings are 'sum' and 'y' are declared but never used
here is the program :
# include <iostream>
# include <conio.h>
intmain()
{
int x;
int...
Is C++ programming used in electrical engineering work, it really doesn't seem as though it would be,but what could it be useful for, some kind of possible scenario ? (E.E. encorporates the use of electricity to make things happen mainly, whereas C++ has to do with computer design)
i have made programs on my TI83+ than i bought a TI89+ Titanium but i have never programed in C++ or any other programming language. so could anyone tell me about how to program in C++ and the key differences between C++ and TI basic? if anyone wnats my programs contact me with youe E-mail and i...
hello everone there, sorry to bother you
just wanted to ask, if anyone could help me where to download free c++ programming software.
please please let me knw if anyone know it i will be very apriciated for that.
u can reaply me on this add: talk2amit_rulz@hotmail.com
thank you for ur time