Friday, 19 December 2025

Project for Students: Create a code to check the marks obtained by a student when there is negative marking for wrong attempts.

 Here is the code :


!=================================

program negativermkv

implicit none

integer :: right, wrong ,didnotdo,totalmarks,notattemp

integer, parameter :: qnumber=25

integer, parameter :: marks_for_correct=4

integer, parameter :: marks_for_wrong=-1

write(*,'(A10, A10, A10, A13, A13)') 'right','wrong','notattemp','didnotdo','totalmarks'

do didnotdo=0,qnumber,1   ! didnotdo includes wrong+did not attemp

do wrong = 0,didnotdo,1

right = qnumber - didnotdo 

notattemp=didnotdo-wrong 

totalmarks = right*marks_for_correct + wrong*marks_for_wrong + didnotdo*0

write(*,23)right,wrong,notattemp,totalmarks

23 format(100(I3,1x))

end do

end do

end program

!=============================

How to run this code?
gfortran codefile.f90
./a.out


Regards,
Somenath Jalal
19.12.2025
11:44 PM


Sunday, 12 October 2025

Ratio of Surface to Volume for an n dimensional sphere

 The problem is to find the surface area and volume of an n dimensional sphere.  See these references:

1. Statistical Mechanics, by R K Pathria, (2nd Edition) Elsevier Publication, Appendix-C, page 504

2. Infinite Powers: The story of Calculus, The language of the Universe, by Steven Strogatz, Atlantic Booka, London,


The volume element 

\[ V_n = \int \int \cdots \int \prod_{i=1}^{n} dx_i \]

here \( x_1, x_2, x_3 , x_4,  x_5 \cdots x_n  \) etc are orthogonal cartesian coordinates components. and its understood that the sphere is defined by and the limit of integration is contrained via

\[ 0 \le \sum_{i=1}^n x_i^2  \le R^2\]
here R is the radius of the n dimensional sphere, whose volume and surface we want to find.

The volume would be proportional to \(  R^n \) 

\[ V_n = C_n R^n \]

here \( C_n \) is constant not function of R and it depends on geometry of the space. I shall remember that in 2D, surface area means, perimeter of circle and volume means area of the circular disk, as the 2 dimensional sphere is actually a disc. Imagine that you are in a planet where everything is projection or shadow of 3D object. Thus a football will look like a disc.

Also \[ dV_n = n C_n R^{n-1} dR = S_n (R) dR\]

From sem-3, Gamma function integral,

\[ \int_\infty^\infty e^{-x^2}dx = \sqrt{\pi} \]

Thus 

\[ \pi^{n/2} =  \int_\infty^\infty  \int_\infty^\infty \cdots  \int_\infty^\infty exp\left( x_1^2  \right) exp\left( x_2^2 \right)  exp\left( x_3^2 \right)  \cdots exp\left( x_n^2 \right)  \prod_{i=1}^{n} dx_i  \]

\[ \pi^{n/2} =  \int_\infty^\infty  \int_\infty^\infty \cdots  \int_\infty^\infty  exp\left( x_1^2 +x_2^2 + \cdots + x_n^2  \right)   \prod_{i=1}^{n} dx_i  \]

\[ \pi^{n/2} =  \int_\infty^\infty exp\left( r^2 \right)   dV_n  \]

\[ \pi^{n/2} =  \int_\infty^\infty exp\left( r^2 \right)   n C_n r^{n-1} dr  \]

\[ \pi^{n/2} = n C_n  \int_\infty^\infty exp\left( r^2 \right)  r^{n-1} dr  \]

\[ \pi^{n/2} = \frac{n}{2} C_n  \Gamma(\frac{n}{2}) \]

 You should get \( C_n \) from the above equation. 

 The final results are:

For surface area:

\[ S_n = \frac{2 \pi^{n/2} R^{n-1}}{\Gamma(n/2)}  \]

For Volume:
\[ V_n = \frac{ \pi^{n/2} R^{n}}{(n/2)!}  \]
And one interesting result is 
\[ \frac{S_n}{V_n} = \frac{n}{R} \]
 
**From this post, I have learnt how to write LaTeX in Blog html format. 

Monday, 17 June 2024

Learning Windows - Microsoft Word - Python in 2024

 As I decided to include an alternating title suggests "Learning Windows - Microsoft Word - Python in 2024 (Trying to say goodbye to Ubuntu Linux Libre-Office LaTex Fortran C/C++ (2006-2024))"


It was August, 2006, when I got admission in M.Sc Physics course at School of Physical Sciences, Jawaharlal Nehru University. Our computer lab has approximately 30 computers and the Operating System installed in them was Fedora Linux. That was the time I got a chance to work on computer for my studies. 


In 2013 May, I bough my Laptop and Installed Ubuntu. 


Currently I am writing one chapter in Microsoft Word and It has become a nightmare for me as I am coming from LaTex world. But I have taken up the challenge and  will be mastering the Word in few days. Let us see.


For comparison I am giving my LaTeX output and Word output.




here is the word output







Sunday, 7 August 2022

Our house

we have already started a new house attached to our own house. these are some memorable clicks.

Sunday, 15 May 2022

Why we need a computer for Physics Undergraduate students ?

.

 


Date: 15 May, 2022

Place: Sukjora, Galia, Dist: Bankura, West Bengal - 722154, India


I am talking about using a computer which will help me in B.Sc Physics Course for UGC recommended CBCS syllabus.[click here].

We have to use computer to solve the physics problems, which are not otherwise solvable by pen and paper. But most of the times the problem at hand are simple and solvable using pen and paper. And in these B.Sc Physics courses we try to redo the same problem using computer and implement it using some machine language like C/C++ or software like SCILAB. This helps us understanding the basics of programming language and how to solve problems or set the stage to solve tough problems. 


I am quoting B.Sc Physics Honours CBCS syllabus itself.


"The aim of this Lab is not just to teach computer programming and numerical analysis but to emphasize its role in solving problems in Physics.

  • Highlights the use of computational methods to solve physical problems
  • The course will consist of lectures (both theory and practical) in the Lab
  • Evaluation done not on the programming but on the basis of formulating the problem.
  • Aim at teaching students to construct the computational problem to be solved
  • Students can use any one operating system Linux or Microsoft Windows"

 

How many courses are there where we need computer ? List is below.

  1. Mathematical Physics-I
  2. Mathematical Physics–II
  3. Mathematical Physics III
  4. Quantum Mechanics and Applications
  5. Statistical Mechanics
  6. Advanced Mathematical Physics
  7. Applied Dynamics


 All the above courses have numerical practicals where we have to use computer and write codes to solve the Physics problems. 

There are other 7 courses where we have conventional Physics labs where we learn electric circuits, Electronics, Optics, Modern Physics labs etc

Hope you have understood the importance of using a computer. In the next post I shall write about using UBUNTU as our favourite Operating System where the


Friday, 12 March 2021

Bike Batik

filled up the tank with rs 500 on 5 july. 2021

petrol price rs 100.57 per ltr




first service done on 8 march, 2021, 571 km.

Thursday, 11 February 2021

11 Feb, 2021 : 1st FIP from Burdwan University UGC HRDC Department 05 Feb-06 March, 2021

 Prof. Kaushal Kumar demonstrated how to make courses on SWAYAM. 

https://onlinecourses.swayam2.ac.in/arp20_ap09/preview


=============================

Prof. Gautam Chandra, Zoology, BU talked about Mosquitoes

https://sites.google.com/site/goutamchandra1863/research-field


================================

Prof Ramakanta Mohalik, Bhubaneswar

talked on open book exam

==============================


Wednesday, 10 February 2021

10 Feb, 2020 : 1st FIP, BU-UGC HRDC : 05 Feb, to 06 March, 2021

 Remember this is my own notes when the lecture was going on


=======================================

Prof. Amlan Chakrabarty:

told about security

next generation online class teaching platform: Moodle, MOOCS, Swayam etc


===================================

Prof. Prof. Kaushal Kishore
Dept. of Teacher Education, Central
University of South Bihar


very interesting lecture on SWAYAM : how to give your own swayam lecture

free course for stundets

you can do 40% of the total college credit in swayam.

exam fees 1000/- but if you pass the exam the 1000/- rs will be returned

visit 

swayam.gov.in

this is very important...

how to write project proposal?

5 years of experience

if your institution has bad record (lets say 2 faculties of you college has not finished the course in due time), then your institute will be black listed and you can not submit a proposal.

submit project proposal to National Coordinator CEC for non professional UG

 National Coordinator NCERT for non professiona School level etc

there are lots of national coordinator

Swayam is a Learning Management System 

 

Every national coordinator (UGC or CEC) invite Expresison of Interest EOI time to time

Read eligibility , Guidelines for Swayam etc from the website

Aacademic Advisory Council

 

https://moodle.org/

swayam.gov.in

https://swayam.inflibnet.ac.in/

 

 

========================

Prof. Dr. Subhajit Sengupta
Dept. of English, BU


told about plagiarism 

================================

UGC-HRDC BU 1st Faculty Induction Programme : 05 Feb, 2021 to 06 March, 2021 : Feb, 09, 2021

 Strategic Planning

Improve teaching learning process in college

developement of future ready institution

why student's result is so poor? Why Lab is not good in our college.? find the solution yourself

output and outcome based learning

What is our goal? ask the folloiwng questions and answer them

how to make ranking in India's first 100 institutes

what are the shortcoming in our institutes and ourselves?

We need Result Based Accoutability (RBA)

This has to be documented and result based: 

Students result: 

Output of teachers: 1. Publication 2. Grant attraction 3. helping locality of your institution

Root Cause Analysis (RCA)

=============================

Quality assurance in Higher Education

Prof. Arabinda Kr. Das, Former Vice Chancellor, KU

Quality assurance in Higher Education (HE) and NAAC in present scenario

Data validation and Verification (DVV)

Research data on the basis of Scopus/web of science/ INFLIBNET etc

there is no scope for on-site validation. That means, when NAAC peer team visit your institute you can not say., we have 8 PhD students, meet them. The students registration must be already done with UGC and must be recorder beforehand. 

 

Online Students Satisfaction Survey (SSS) i.e. online studnet feedback mechanism.. please keep record of the feedback and show what are the steps you have taken to address the feedback. all should be documented..

 

When to submit SSR of college  ?

01 May to 30 June 

01 Nov-31 Dec

this is time window when you should submit SSR report of college. Peer Team Visit (PTV) will be after 3-4 months you submit the SSR report.

College website is very important. 3 people will come for UG college visit

30% marks from peer team

70% marks from QM (Qualitative Matrix) and Graphical representation 


One important point to make high ranking:

Teacher's Profile and quality carry 80 marks

start some vocational or certificate course

Display core values of college in the website

IQAC

Patents of college teachers

spoken English program

Star Gazing program from Physics department

SWOC system (see the speakers lecture notes) 

Bottom line : We must have good practice of keep documents regularly in website or in some format. so that SSR report can be made perfectly Display CGPA in your college website. 3.76-4 is A++ for NAAC:

====================================

E-Age/ Digitization in India

Speaker: Amlan Chaktabarty, CU Information Technology


very good informative speaker. I was interested to know 3D xray or MRI or color MRI in near future of medical physics reseach. This is his own research topic

See the profile of Prog. Susmita Mitra , Indian Statistical Institute

Look for paper by Amlan Chakrabarty, 2020 on image Processing Journal on image reconstruction.. etc




UGC-HRDC BU 1st Faculty Induction Programme : 05 Feb, 2021 to 06 March, 2021 : Feb, 08, 2021

===============================

1st lecture by Principal Maharaj from Narendrapur Ramkrishna Mission : Swami Shastrajnanda

 

Jabat Bachi Tabat Sikhi

learning is a lifelong process

We should unlearn something and learn new things, new values

======================

 Second Lecture by Prof. Arabinda Kr. Das : 

Self improvement in quality teaching-learning

Our Speech should be such that it  it attracts the weakest

NAAC check what we are doing for the weak students and to the most brilliant students.


============================

Some important comments:

how to take online class for practical/lab class?

read about Pdt Madan Mohan Malabya commission

we need a talk on CAS and how to write project proposal and academic writing


----------------------------------------

I am planning to write a Field Study Report on CBCS syllabus, its implementation and how its improving our new generation students- the i-generation who are net savvy or tech savvy people...


==========================


Project for Students: Create a code to check the marks obtained by a student when there is negative marking for wrong attempts.

 Here is the code : !================================= program negativermkv implicit none integer :: right, wrong ,didnotdo,totalmarks,notat...