Giter Site home page Giter Site logo

hisacro / du-msc-lab-c-prog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from singhnir/du-msc-lab-c-prog

0.0 0.0 1.0 2.99 MB

Computational Physics (Lab) - M.Sc. Physics University of Delhi Semester: III [Guide + Modified templates]

License: MIT License

C 84.95% Gnuplot 15.05%

du-msc-lab-c-prog's Introduction

Intention of This fork

My goal is to write Readable, self contained solutions that let's one to learn the logic, not taylor piece of jumbling codes for getting output - that's what I felt when I looked into manual linked and I tried too hard to learn from it with vain.

I suggest the starting points as the directory Programs, Each chapter (atleast the One I have modified) have notes + templates that's used for solving excersise as of now,

For curiosity - I'm following Kernal source file style

I'm satisfied with how these templates, piece of codes turned out and I was able to explain to myself+my friends, but I would be very happy if someone can dumb it down even further keeping the same essence of learning. Cheers!

finally thanks to musubiie for chapter 2 periodic question and motivation to make templates ;)

Computational Physics (Lab) - M.Sc. Physics University of Delhi

Semester: III Course Code: PH-CL502

Manual by : Professor Shobhit Mahajan >Profile<

Course Instructor : Professor Jyoti Rajput >Profile<

As per our university syllabus, "This course is intended to be an Introduction to a Programming Language C as well as application for Numerical Analysis. The course would impart training in the structure of the programming language as well as train the students in using programs to numerically solve problems in various areas. In addition, it will also familiarize the students to the Unix environment."

We have been given a MANUAL to practice the problems and here I'll commit the programs as I successfully compile and get the desired output.
This repository is under progress.

Table of Contents

Programs

Chapter 01 Practice Problems.
Chapter 02 Practice Problems.
Chapter 03 Practice Problems.
Chapter 04 Practice Problems.
Chapter 05 Practice Problems.
Chapter 06 Practice Problems.
Chapter 07 Practice Problems.

Excercise

Chapter 01 Excercise Problems.
Chapter 02 Excercise Problems.
Chapter 03 Excercise Problems.
Chapter 04 Excercise Problems.
Chapter 05 Excercise Problems.
Chapter 06 Excercise Problems.
Chapter 07 Excercise Problems.

To Do List

Chapters Examples Excercise
01 ✔️ ✔️
02 ✔️ ✔️
03 ✔️ ✔️
04 ✔️ ✔️
05 ✔️ ✔️
06 ✔️
07 ✔️ ✔️

How to use GNUPLOT scripts?

It's better to write a gnuplot script with extension filename.p, rather than writing the commands on gnuplot terminal. This way we can save our gnuplot codes for future needs.

If you've saved a gnuplot script named lissajous.p in the current working directory:
For Linux user: gnuplot ./lissajous.p
For Windows user: load "lissajous.p"

Note: If we use load "lissajous.p" in gnuplot terminal, it will work both in linux and windows.

Do you want to download all the codes at once?

For Linux user:

All the linux distributers have git installed in their system so they simply paste the following code to get a local copy in your system.
git clone https://github.com/singhnir/DU-MSc-Lab-C-Prog.git

For Windows user:

Normally no windows has git preinstalled so previous command doesn't work on it but again you can download a zip copy of the codes clicking here.

Requirements

  • Text Editor (Atom/Sublime/emacs...) - vim.tiny is aliased as vi in lab boxes
  • GCC Compiler
  • Gnuplot

Contact

If you've any doubt or suggestions regarding the project, please feel free to reach out by filing an issue here on github or you can simply email me at [email protected]. You can also drop a message to my Telegram account.

Acknowledgements

Licence

MIT License

du-msc-lab-c-prog's People

Contributors

singhnir avatar hisacro avatar

Forkers

musubiiie

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.