To find spring constant 'k' from Hooke's law when mass & time period are given using scilab.
To find spring constant 'k' from Hooke's law when mass & time period are given using scilab.
REQUISITES:
A PC/laptop.
Scilab 6.0.0 must be installed.
THEORY:
PROCEDURE:
1. Switch on your PC/laptop.
1. Switch on your PC/laptop.
2. Go to all programs & open scilab 6.0.0.
3. Go to Scinotes.
4. Write the coding/program.
5. Save the file & use extension name .sci
6. Then execute & go to the scilab console window for output.
7. Write k=spring(2.1,1) in the scilab console window.
CODING:
clc
function k=spring(m, T)
k=(4.0*%pi*%pi*m)/(T*T);
endfunction
OUTPUT:
Model syllabus (+3): Downoad
List of all practicals: Download
Get all Books: Download
- How to Prepare for IIT-JAM ⇠ ⇠ Click Here
- How to prepare for JEST ⇠ ⇠ Click Here
"In the middle of difficulty lies opportunity." Albert Einstein
- How to Prepare for IIT-JAM ⇠ ⇠ Click Here
- How to prepare for JEST ⇠ ⇠ Click Here
"In the middle of difficulty lies opportunity." Albert Einstein
Post a Comment