blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
53048304eca08b947d3b2ef7135953311c36e66b | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH11/EX11.3/Example_11_3.sce | 31f8f6804c723827c40e96e1cb2e375e069d79f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 805 | sce | Example_11_3.sce | //Chemical Engineering Thermodynamics
//Chapter 11
//Liquefaction of Gases
//Example 11.3
clear;
clc;
//Given
//From the figure 11.8 (page no 216) & from figure A.2.7
H3 = 0;
H7 = -47;//in Kcal/Kg
H6 = -93;//in Kcal/Kg
H8 = 7;//in Kcal/Kg
//To Calculate the fraction of air liquified at steady state an... |
1f64df3191c6fe5dbd829828e771680148880c5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH8/EX8.6/6.sce | c7ce212b725fa37db52c300c0bddcad5d4224ca1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | 6.sce | //variable declaration
a=100
N_a=0.3 //Numerical aperture
lamda=850 //wavelength
//Calculations
V_n=(2*(%pi**2*a**2*10**-12*N_a**2)/lamda**2*10**-18)
//Result
printf('Number of modes =%0.3f modes\n',(V_n/10**-36))
printf('No.of modes is doubled to account for the two possible polaris... |
264bab067509e1967b14340f68c78f322e185bae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH7/EX7.13/exa_7_13.sce | 19f964f45e9713b61fbdbd09272d208186ea8426 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | exa_7_13.sce | //Exa 7.13
clc;
clear;
close;
format('v',6)
//given data
T1=800;// in K
T3=200;// in K
sigma=5.67*10^-8;
d1=20*10^-2;// in m
d2=30*10^-2;// in m
d3=40*10^-2;// in m
A1=4*%pi*(d1/2)^2;// in m^2
A2=4*%pi*(d2/2)^2;// in m^2
A3=4*%pi*(d3/2)^2;// in m^2
epsilon1=0.2;
epsilon2=epsilon1
epsilon3=epsilon1
Fg1... |
f0e8d9442b4c9790154832d7bdccc469035edbdd | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0021.tst | beeeb140053d28bdb605e583011725b438479601 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 396 | tst | 0021.tst | SPLITter v {}
fiLter L { NoT ::C:ad:5:b:f:F:eCb/4 < T BiToR (6.183.226.251, ) or NOT hb ( bf:aD:8A:3C:fc:af
, G, ) or nOt 7:b1:f:CFEa:a:BC:ebe:f >> cD:Bd:De:FE:ab:eA
nOT bitoR () }
fILter g {QC Or cj or NOT zk or S Or Scvny }
E -> jpD
GROUpEr VTN {AGgrEGaTe u.dW }
UNGRoUper VD { }
gROupFilTEr R {nOt cB:... |
5d28f2cc332bb10395b5a9d78773211e17bf8595 | 2168897ebc4ea13e8fa2db918d3c60456c48cf2f | /PokerFace/Scripts/generated/Endpoints.tst | f8c28708f62288ab1fa47e265005c2545d62d437 | [
"MIT"
] | permissive | nativecode-dev/pokerface | de19a71393a0758ce547d2eaf1e744f9ad03b725 | df0b8712603614488002ffed72640df186526bf8 | refs/heads/master | 2021-07-07T12:25:18.137758 | 2017-09-28T17:49:51 | 2017-09-28T17:49:51 | 104,814,468 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,099 | tst | Endpoints.tst | ${
using Typewriter.Extensions.Types;
Template(Settings settings)
{
settings.OutputFilenameFactory = file =>
{
var filename = file.Name.Replace("Controller", string.Empty).Replace(".cs", ".ts");
return $"endpoints/{filename}";
};
}
string Import(Cla... |
b15d8503f1ea3053a474160d984857c420158ea5 | be72b348d2bbd0cd916ee42daf3151ca8d3d6fc5 | /Fourier-Transform-in-Image-Formation/A_fft.sce | c1376a03f45a82a75922be3f94e85bde68511a8b | [] | no_license | albertyumol/Image-Processing-on-Scilab | f9b859b35cd4279abaa79aef65598425a7ef37c9 | 33032c819026222dc75b8364b81012986a5e46ab | refs/heads/master | 2020-04-26T15:40:55.463187 | 2019-12-06T16:25:15 | 2019-12-06T16:25:15 | 173,654,065 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 739 | sce | A_fft.sce | I = imread('C:\Users\csrc-lab03\Desktop\Activity5\A.jpg');
Igray0 = rgb2gray(I); //Change image to grayscale.
Igray = mat2gray(Igray0);
FIgray = fft2(Igray); //Apply 2D FFT.
F1 = mat2gray(abs(FIgray)); //Get magnitude of complex values.
FS1 = fftshift(F1); //Shift quadrants back to proper image.
F2 = fft2(FIgray)... |
cdd6edbc887c6564e73dccfa5838e61cded1802f | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab09_18i190002/ex1c.sce | 619e22b8b9f818e507c97737e9462fb591ebd4eb | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,180 | sce | ex1c.sce | //Defining a function that will give the profit vector when the stock is n units for 500 days
clc,clear
exec('milk.sce',-1)
function profit=f(n)
to_be_sold=zeros(500,1)
//to_be_sold be the column vector that will tell us the amount of milk Akbar will decide to sell
//we want to know the expected profit of... |
5e27cfa710e580447df83457c2fdca0a17c28b8a | 6b7b3be3c11fc662ae3f0b3e8880218ce3888a07 | /math/SciLab/%s_m_ZQuat.sci | 0cb427390001d25f721a8a42cb15d68ed6db978a | [] | no_license | johnzet/Flight | 27cfa7dc8039f6c7b91385d9e204ad4a54248960 | 2893750df8aaa38311ffc125b1f7dcc9f5019eab | refs/heads/main | 2023-02-25T19:51:03.725205 | 2021-01-31T01:12:09 | 2021-01-31T01:12:09 | 334,544,210 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 65 | sci | %s_m_ZQuat.sci | function [q2] = %s_m_ZQuat(a,q1)
q2 = q1 * a;
endfunction
|
53efab0e5caee24da7d6836980676196b1a23646 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH4/EX4.1/Ex4_1.sce | 3d721780e2f3e3af559074deae785b8e1394fbdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | Ex4_1.sce | //Example 4_1
clc();
clear;
//To calculate the force required
vf=12 //units in meters/sec
v0=0 //units in meters/sec
t=8 //units in sec
a=(vf-v0)/t //units in meters/sec^2
m=900 //units in Kg
F=m*a //units in Newtons
printf("The force required is F=%d N",F)
|
cb2418dd9a924c6d1810d6e82bedfb00c4b7cc18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH15/EX15.9/example_15_9.sce | 128413430ab6f4dbf78cb8a691ba224ad3a48bcf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | example_15_9.sce | //example 15.9
clc ;
clear;
//part (a)
//an=input('Enter the analog input in volts :');
format('v',12);// changing the precision of calculation
an=2.5;
k=an*1000/19.53;
k= round(k);
m=dec2bin(k); // converting from decmal to binary
printf('The digital output is :%s\n',m);
//part(b)
//dg=input('Enter the... |
49e917f4fdffc5cc2a46124a97f0fcc6b0492217 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Texcom.sci | 9b84831512cd6aac34eac819a80450bf545068df | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sci | Texcom.sci | //
// 09,12.05
// 09.12.06
// 09.12.07
// 09.12.20
function Texcom(Meirei)
global Wfile FID;
if Meirei=='\thinlines'
Setpen(1);
return
end
if Meirei=='\thicklines'
Setpen(2);
return
end
if Meirei=='\Thicklines'
Setpen(3);
return
end;
if Meirei=='' // 09.12.07
Tmp=[];
el... |
5854578a281a0413b7cfd4905857a7236c38cd1c | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RT35.prev.tst | b023e31f05a75967e8049e82b4f0250d15347cd7 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | tst | RT35.prev.tst | For input string: "-d"
java.lang.NumberFormatException: For input string: "-d"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.teherba.ramath.linear.RationalTriangle.main(RationalTriangle.java:5... |
39d6bdd534a909de74ad66d1e5a48bbdfa05dd54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH6/EX6.6/6_6.sce | d4d74aafe8c2043b50c908dbec294d0ee2353970 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 920 | sce | 6_6.sce | M = 15 ; // Bending moment in k-in
t = 10 ; // Angle between line of action of moment and z-axis
// Properties of cross section
c = 0.634 ; // Location of centroid on the axis of symmetry
Iy = 2.28; // Moment of inertia in y-direction in in4
Iz = 67.4; // Moment of inertia in z-direction in in4
ya = 5 ; za = -2.6... |
712d77ea2db3961316ba505fe1a4958ca8455222 | f492a134695f6d4b2ec01d572569f961a169ef38 | /reversi/tests/diag_dl.tst | eb7001e80dcd234744b4ece6bc7024dde2c79728 | [] | no_license | rileythomp/cpp-games | a51b06964a2466268aff733fb5d2a4ec1ce2752f | 1b98e9b33ba5ae7aadb6d7a2e9c45cb266727f0c | refs/heads/master | 2022-06-10T16:09:02.322242 | 2022-05-24T19:10:45 | 2022-05-24T19:10:45 | 157,655,018 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 63 | tst | diag_dl.tst | p
asdf
fdsa
0
0
2
5
0
1
5
2
0
2
6
1
0
3
1
6
7
0
7
7
0
7
quit
q
|
4c9ef4cf738e1e9b09ed595345315a94081e136f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH5/EX5.28/Ex5_28.sce | 57fbffb4d8a2e07af5377f4f634f5233b2abefa5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | Ex5_28.sce | //Ex:5.28
clc;
clear;
close;
y=900;// operating wavelength in nm
yo=1343;// wavelength in nm
so=0.095;// in ps/nm^2-km
L=150;// in km
dy=50;//in nm
Dy=(so*y/4)*(1-(yo/y)^4);// inps/nm-km
Dy1=Dy*(-1);// do not consider -ve sign
dt=Dy1*L*dy;// pulse spreading in ps
dt1=dt/1000;// pulse spreading in ns
printf... |
bde0716681ea4e38d10507636763550770776b4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH7/EX7.3/ex7_3.sce | b68d882d28432cf1c442e22907278db921e57623 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | ex7_3.sce | //Part A Chapter 7 Example 3
clc;
clear;
close;
m=5;//kg
cp_super_heat=2.1;//kJ/kgK
cp_water=4.18;//kJ/kgK
Tsuper_heat=300+273.15;//K
Tsat=212.42;//degreeC(at 2 MPa)
Tsat=Tsat+273.15;//K
hfg=1890.7;//kJ/kg(For 2 MPa & Tsat)\
S=cp_water*log(Tsat/273.15)+hfg/Tsat+cp_super_heat*log(Tsuper_heat/Tsat);//kJ/kgK
S... |
2dc810f6c6fe0c18b5c7ff3ae4473e0e4fe03c9c | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/rectifyStereoImages.sci | 6b7dc486e46b6cb1c113c7d58ea2a05d0031573a | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 2,339 | sci | rectifyStereoImages.sci | function [left_out ,right_out]=rectifyStereoImages(input_image1,cameramatrix1,Distortion_coff1,input_image2,cameramatrix2,Distortioncoff2,Translationvector,Rotationvector)
// Rectify the pair of image taken by stereo camera
//
// Calling Sequence
// [left_image,right_image] = rectifyStereoImages (input_image1,camerama... |
bcb8cb06482706f597ef4faa6e835050b0369707 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH6/EX6.4/Ex6_4.sce | 5b2fffbd45ba2939746cf2d6e501c6651019b82d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Ex6_4.sce | clc;
//page no 190
//prob no. 6.4
//All frequencies in kHz
fi=250; //input freq
LSB=[fi-1 fi-3 fi-5];
USB=[fi+1 fi+3 fi+5];
disp(LSB,'(a) For LSB transmission freq are' );
disp(USB,'(b) For USB transmission freq are' );
W=5;
BT=W;
disp(BT,'(c) The transmission bandwidth is ');
|
4f3e6cad7b1a9b6741b585349e304fbc186d4a02 | b27835dfe71033cba74af036ceff82f0ba82de39 | /dir.tst | bf2f524076d3064051f428c5ab3791fbff35c217 | [] | no_license | man5598/tscs | badcc66f592b310851637eb583b5e3db5d014a95 | b4f5e5e905b0e259756819539a080fa7c48e43a7 | refs/heads/master | 2023-08-29T12:12:33.772907 | 2021-10-19T12:45:15 | 2021-10-19T12:45:15 | 418,909,719 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 26 | tst | dir.tst | i create a merge conflict
|
3063dcc4f94b8da161c480d5f689759231fd35e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH5/EX5.3/ex5_3.sce | 4507bd1794f70ecc2f64b37982119362cab8be3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | ex5_3.sce | // Example 5.3, page no-175
clear
clc
m=0.6 //60% modulation
//for A3E
pt1=(1+(m^2)/2)
//for J3E
pt2=(m^2)/4
//% power saving
p=(pt1-pt2)*100/pt1
p=ceil(p*10)/10
printf("Percentage power saving is %.2f%%",p)
|
7afad077ea025ed74c7653d5df448816587c759b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH9/EX9.2.a/67ex2a.sce | 1498cd5427fe5fe9b9af54f47a4a0e2a6a42c3c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | 67ex2a.sce |
//what inequality is represented on no. line
clear;
clc;
close;
x=string(0:10);
n=string('<'+strcat(x,'---')+'>'); //0 to 10 no. line
n1=string(strsubst(n,'---8---9---10','_______________'));
mprintf("\n the number line \n %s represents n>7 ",n1)
... |
91478e73255876fd36e243474f262c41b928ef88 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/falltime/falltime4.sce | 5e85e90e8567bb7f41354f9b0bc5c333759e0c26 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | falltime4.sce | x=[2.30256624769934;
2.29071803023829;
2.26283604900314;
2.35145015316178;
2.27686291358213;
2.29805616201205;
2.32805830340568;
2.30878734371402;
2.29343801980763;
2.23019030245799];
fs=4e6;
t=(1/fs);
[F,LT]=falltime(x,t);
disp(F);
disp(LT);
//output
//
// 3006202.5
//
// 35585880.
//
|
29173c3c56b2f818092594e0034608ba15830364 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH29/EX29.3/ex_29_3.sce | a4813738356aac9ab39614285f019db561f868b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,962 | sce | ex_29_3.sce | //find
clc
//solution
//given
P=22000//W
Np=1800//rpm
Ng=600//rpm
a=(%pi/180)*30
q=(%pi/180)*20
Tp=24
vr=3
fo=50//N/mm^2
//b=4*pc
oh=150//mm..overhang
t=50//N/mm^2
T=P*60*1000/(2*%pi*Np)//N-mm
printf("torque acting is,%f N-mm\n",T)
Te=T/(cos(a))^3//N
yb=0.154-(0.912/Te)
//Wt=T/(Dp/2)=(2T/m/Tp)....Dp=... |
cf8bafd4234407de7c0024c8cbd2002b74e6811f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH11/EX11.5/Ex11_5.sce | 7f265a03e959ea6c33986e50718955248116ecfd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 805 | sce | Ex11_5.sce | //===========================================================================
//chapter 11 example 5
clc;clear all;
//variable declaration
R1 = 1; //standard resistance in Ω
V3 = 0.952-0.340*%i; //voltage through the coil in A
a = 10; //multiplying power of potential divider
V2 = 1.35+1.28*%i; //voltage ... |
951d62d115bc5ba455f452e95d5516915259b873 | 87749481136b7b72a47930f587f27667e0c0f97d | /DFT/Task_3.sci | b741405990a81f8f44bbfba609dbea977fd1418e | [
"MIT"
] | permissive | brooky56/Digital_Signal_Processing | cf15e5ac443a16edcb3efc8d7703cf4746dedcba | f28651e40b0a99b79e9ba27deabc4db8bfc7f08e | refs/heads/master | 2022-06-30T17:59:28.072522 | 2020-05-11T18:58:39 | 2020-05-11T18:58:39 | 242,598,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 752 | sci | Task_3.sci | clear all;
Fs = 16 // sampling frequency
T = 4.2 // time duration
t = (0:1/Fs:T)
f0 = 2 // signal frequency
leak1 = sin(2*%pi*f0*t)
f0 = 3 // signal frequency
leak2 = sin(2*%pi*f0*t)
f0 = 4 // signal frequency
no_leak = sin(2*%pi*f0*t)
summ = leak1+ leak2 + no_leak
summ = resize_matrix(summ, 1, 1024)
figure(0)... |
d1121d786189341ade3fef85f8635e4d7f951a6f | a8b3c68874820b431f195632f44ddcb3be402e6d | /MetodoPrimalDual.sce | 074253064f6f9e6ae572c41b414fbe2d81689648 | [] | no_license | juanksRuiz/Optimizacion | e2ca20b102f38df6db24f23910b79bee22f76c56 | 7fb521b07b0fbe4ca0d67bf1d5714804926a91dc | refs/heads/master | 2020-04-29T05:42:03.659838 | 2019-05-27T13:44:17 | 2019-05-27T13:44:17 | 175,891,169 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,190 | sce | MetodoPrimalDual.sce | c = [-1;-1.4;0;0;0]
G = -eye(5,5);
q = [-0.1;-0.2;0;0;0];
A = [1,1,1,0,0;1,2,0,1,0;1,0,0,0,1];
b = [4;5.8;3];
x = [0.2;1.45;2.35;2.7;2.8];
u = ones(5,1);
v = zeros(3,1);
function tmx = tmax_U(u,du)
tmx = 1e10;
n = length(u)
for i = 1:n
if du(i) < 0
tmx = min(tmx,-u(i)/du(i))
en... |
115d16acc3f0db112e1e5de5f61a0c523cc786ef | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/do_delete.sci | 79e29c85a1b3c541c6b9847794079bb45f7a3ae3 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 869 | sci | do_delete.sci | function [%pt,scs_m,needcompile]=do_delete(%pt,scs_m,needcompile)
// do_delete - delete a scicos object
// get first object to delete
//!
// Copyright INRIA
while %t
if %pt==[] then
[btn,xc,yc,win,Cmenu]=cosclick()
if Cmenu<>[] then
%pt=[]
[Cmenu]=resume(Cmenu)
elseif btn>31 then
Cmen... |
c39fb67a74768ad3d796e26fba8c0b7f4e18e821 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH10/EX10.7/example10_7.sce | 44fba2cff03f2a87d2df01ee35c2576bfed807d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,184 | sce | example10_7.sce | clear;
clc;
//Example10.7[Condensation of Steam on horizontal Tube Banks]
//Given:-
Tsat=40;//[degree Celcius]
D=0.03;//[m]
Ts=30;//Outer Surface temperature of tube[degree Celcius]
Tf=(Ts+Tsat)/2;//Film Temperature[degree Celcius]
g=9.81;//[m/s^2]
N=3;//No of tubes in a vertical tier
N_total=12;//Total num... |
0e548d0ab13de80ed3f817398e5db95c580b2a50 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/xnumb.man.tst | ba17cca944f07403ae03c149d4f3afc5962b66d8 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | tst | xnumb.man.tst | clear;lines(0);
plot2d([-100,500],[-100,600],[-1,-1],"022")
x=0:100:200;
xnumb(x,500*ones(x),[10,20,35],1)
|
bb1c312585e323b61e7cad8732325b61064ba1e8 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_gui_vis2dtoggle.sci | 72b732aff8e785cbfc14fee47de2acb0dbd73f7f | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sci | kiks_gui_vis2dtoggle.sci | function [] = kiks_gui_vis2dtoggle()
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// -----------------------------------------------------
global... |
72c2abf653a2203c0d43fb066e810225ec0d02a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH2/EX2.22/ex2_22.sce | 0b17b6d111df01dac528562b47b2ae699214a09f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | ex2_22.sce | //Page Number: 106
//Example 2.22
clc;
//Given
c=3D+8; //m/s
a=2.286; //cm
a1=a/100; //m
b=1.016; //cm
b1=b/100; //m
sig=5.8D+7; //s/m
f=9.6D+9; //Hz
w=2*%pi*f;
mu=%pi*4D-7;
et=377;
lam=c/f;
lamc=2*a1;
r=lam/lamc;
Rs=sqrt((w*mu)/(2*sig));
ac=(Rs*(1+(2*(b1/a1)*r*r)))/(et*b1*sqrt(1-(r^2)));
adb=-... |
24701af684f51171cf2093b7b46cb1fb3d98e492 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH8/EX8.13/8_13.sce | 25e4915c29c11ceb76896ade10e8ed1be89ca99a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | 8_13.sce | P=100000
N1=400
N2=100
a=N1/N2
r1=0.3
r2=0.015
x1=1.1
x2=0.055
V1=2400
R=r1+a*a*r2
disp(R)
X=x1+a*a*x2
disp(X)
I1=P/V1
pf=0.8
theta=acos(pf)
Vd=I1*(R*cos(theta)+X*sin(theta))
VR=Vd/V1*100
V2=(V1-Vd)/a
disp(VR,V2)
Vd=I1*(R*cos(theta)-X*sin(theta))
VR=Vd/V1*100
V2=(V1-Vd)/a
disp(VR,V2)
pf=co... |
ae6091f79741562932f6b4a821d87b9971f8e819 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH7/EX7.7/7_7.sce | 292240261d98a4e34728178c08fa8aaea7f4e832 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | 7_7.sce | clc();
clear;
// To calculate the position of fermi level
Eg=1.12; //band gap in eV
K=1.38*10^-23;
T=300; //temp in K
//EF = (Eg/2)+(3*K*T/4)*log(mh/me)
//given me=0.12m0 and mh=0.28m0. therefore mh/me = 0.28/0.12
//let mh/me be X. therefore X=0.28/0.12
X=0.28/0.12;
EF=(Eg/2)+((3*K*T/4)*log(X));
printf... |
33f004db114e9dd347d2ece1592c09a10a191b5e | 19e7b2a92e135cbdbd427cbb0b422f1706b80d35 | /tests/skey390z.tst | 17ab0abd620623d8723eb1ec93d233df444eeb9c | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | friedkiwi/hyperion | 08106d9235c67480b609452903d7f253f7baeb5f | d0ccfbc9a74dd0a77a75ac224025fc68f6a6617f | refs/heads/master | 2023-03-16T08:26:25.222250 | 2022-01-06T23:54:32 | 2022-01-06T23:54:32 | 142,925,136 | 0 | 1 | NOASSERTION | 2021-09-12T21:15:38 | 2018-07-30T20:31:06 | C | UTF-8 | Scilab | false | false | 593 | tst | skey390z.tst | *Testcase Storage Keys: S/390 then z/Arch
mainsize 3
numcpu 1
sysclear
archlvl ESA/390
#
#
CPUVERID C8 FORCE # (NEW starting with version 4.4)
#
#
loadcore "$(testpath)/skey390z.core"
f- A000
f- B000
runtest 0.2
*Done
*Testcase Storage Keys: Pure z/Arch only
mainsize 3
n... |
0c60b798ea8587dca2eca948c1e5e675e05c2a94 | c295215ac7ef8d5965e82f87a691ed2a6fd9a970 | /lab-3 07-09-2020/CLA164.tst | ae3caa302c5d010b62315c4c9cfd2c25a41c8ca4 | [] | no_license | AshRvm/CS2310 | 5721f824097783e39b2b1f8cf542e1f6a8c5603c | 381f0059c7d40d1114e741c009502158b35692fe | refs/heads/master | 2023-01-11T14:52:22.620498 | 2020-11-10T20:53:16 | 2020-11-10T20:53:16 | 386,923,725 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | tst | CLA164.tst | load CLA164.hdl,
output-file CLA164.out,
//compare-to CLA164.cmp,
output-list a%D1.6.1 b%D1.6.1 AS s%D1.6.1 of%B6.1.6;
set a %D200, set b %D496, set AS 0, eval, output;
set a %D20000, set b %D20000, set AS 0, eval, output;
set a %D-3000, set b %D-356, set AS 0, eval, output;
set a %D-20000, set b %D-20000, set AS... |
5278fabd35557007717b055399b0f7b7dfd683ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH25/EX25.4/25Ex4.sce | 8770bb9200e5a473e850e7fa2e38ac6ad754da91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | 25Ex4.sce | //Ch25 Ex 4
clc;
clear;
close;
lb=24; bb=12; hb=8; //dimensions of brick
lw=2400; bw=800; hw=60; //converting meter to centimeter
mortar=10/100;
remaining=1-mortar;
volWall=lw*bw*hw;
volBricks=remaining*(volWall);
vol1brick=lb*bb*hb; //volume of 1 brick
noBricks=volBricks/vol1brick; //number of bricks requ... |
ea57f9c167be8ba1d8a0ae21fe682ec528c19b29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH21/EX21.10/21Ex10.sce | 1226d24ee0489622bc9c947a528724f4117fc5e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | 21Ex10.sce | //chapter 21 Ex 10
clc;
clear;
close;
t=3; rateHigh=2/100; amtHigh=360;
Sum=amtHigh/(t*(1+rateHigh)-t);
mprintf("The sum is Rs.%.0f",Sum);
|
668aedef7f1fb7d8596fd06215c0fc34a17f5c1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH5/EX5.8/ex5_8.sce | 3d27271e2c44a39c613a5af974c6a5526d9a6c16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | ex5_8.sce | // Example 5.8 page no-290
clear
clc
vcc =20 //V
rc=2 //K-Ohm
re= 0.1 //K-Ohm
r1=100 //K-Ohm
r2 =5 //k-Ohm
b=50 //beta
vbe=0.2 //V
v=r2*vcc/(r1+r2)
rb=r1*r2/(r1+r2)
ib=(v-vbe)/(rb+re*(1+b))
ic=b*ib*1000
ie=ib*1000+ic
vce=vcc-ic*rc/1000-ie*re/1000
s=(1+b)*((1+rb/re)/(1+b+rb/re))
printf("\nV = %.3f... |
df2223e61c99bb6f4e1be901fdc28cc30af9abb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH3/EX3.1/Ex3_1.sce | 5f5ef53ed69bdf83760adfee65b5177023f86bd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | Ex3_1.sce | ////Given
E=-3.4 //ev
h=6.63*10**-34 //Js
//Calculation
//
n=sqrt(-13.6/E)
M=(n*h)/(2.0*%pi)
//Result
printf("\n Angular momentum of electron is given by %e Js" ,M)
|
570ebad001a6699fad5009811c2a2ae0a76b410e | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.15_7.tst | 0f1c51e66da71ae9e886f7b0569f4629f88d348c | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 507,084 | tst | 5.15_7.tst | 15 217:1 1818:1 2675:1 3394:1 3577:1 3772:1 4071:1 5467:1 6919:1 7757:1 7848:1 8253:1 8404:1 9176:1 9475:2 9973:1 10038:2 11510:2 12296:1 12984:1 13650:1 13881:1 13991:1 13997:1 14012:1 15851:1 16572:2 18197:1 18339:1 18496:1 18632:1 18640:1 18698:1 19483:1 19906:1 20102:1 20748:1 21347:1 21365:1 21942:1 22434:1 22828:... |
e08f87a4efaf7b172e708bedf4c871c0be4597f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH6/EX6.7/Ex6_7.sce | 6cc5db5b585aee821c6992355bec1fd19bdab1f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,333 | sce | Ex6_7.sce | clc
// solution
//initialization of variables
P2=2*1000 //higher pressure converted in kPa
P1=10 // lower pressure in kPa
h1=192 // enthalpy at 10 kPa in kJ/kg
h3=3248 // enthalpy @ state 3 in kJ/kg from table C.3
s3=7.128 // entropy @ state 3 in kJ/kg.K from table C.3
s4=s3 // isentropic process
h4=((s4... |
81c5ec6583e878446453e83a64db41cbb6aea443 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Practice.sce | 7735acfab436a336d5ed3cd0c59404b676a21b59 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 21,125 | sce | Practice.sce | Name=Practice
PlayerCharacters=PUBG memer
BotCharacters=target.bot
IsChallenge=false
Timelimit=60.0
PlayerProfile=
AddedBots=
PlayerMaxLives=0
BotMaxLives=
PlayerTeam=0
BotTeams=
MapName=
MapScale=3.8125
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
InvincibleBots=false
Timesca... |
42bb1396dd6bc3276eb005900d62462819594228 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH3/EX3.2.A/additional_ex_2.sce | fd46a85b50f05d90d3ee7960d9c1dfaabe694483 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 695 | sce | additional_ex_2.sce | clear;
clc;
Fm=3; //frequency of message signal
Fc=8; //frequency of carrier signal
Ea=5;
Eb=10;
m=Ea/Eb; //modulation index
disp(m,"m=");
USf=Fc+Fm*10^(-3);//Upper Sideband frequency
LSf=Fc-Fm*10^(-3);//Lower sideband frequency
disp(USf,"USf(Mhz)=");
disp(LSf,"LSf(Mhz)=");
Amp=m*Eb/2;// amplitude of ... |
c4806de54f9d11bdb337072cc24ddd5c6e838bcb | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab09_18i190002/ex3.sci | 20285c8bdc7fa12ec4bc53f8dbf053d96926d09e | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sci | ex3.sci | clc,clear
function x=testrand(n)
x=[]
for i=1:n
x=[x',[rand()]']'
end
endfunction
clf
subplot(2,2,1)
histplot(5,testrand(10),xlabel('-----values---->'),ylabel('--Frequency density---->'),xtitle('histogram plot of testrand(10)'))
subplot(2,2,2)
histplot(5,testrand(1000),xlabel('-----values---->'),yl... |
e3e53bf9b736a6fbfb852ed7c3d5a9779f039130 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH7/EX7.2/ex_2.sce | 7d2a6284cb87e6bce13831bdc47b369731163a6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | ex_2.sce | // PG (476)
A = [0.2 0.6 0;1.6 -0.2 0;-1.6 1.2 3.0]
U = [0.6 0 -0.8;0.8 0 0.6;0 1.0 0]
Ustar = inv(U)
T = Ustar*A*U
trace(A)
lam =spec(A)'
lam1 = lam(1,1)
lam2 = lam(1,2)
lam3 = lam(1,3)
lam1 + lam2 + lam3
// trace(A) = lam1 + lam2 + lam3
det(A)
lam1*lam2*lam3
// det(A) = lam1 * lam2 * lam3 |
06e8e1a095877b9b7e8871b9117c69107cacab61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH2/EX1.9/EX1_9.sce | 7e866cc1072c9d8964bdcdb4dbcf4b9fe3a7c98f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | EX1_9.sce | // Grob's Basic Electronics 11e
// Chapter No. 01
// Example No. 1_9
clc; clear;
//Calculate the conductance for the following resistance values: (a) 1 kOhms (b)5 kOhms
// Given data
R1 = 1*10^3; // R1=1k Ohms
R2 = 5*10^3; // R2=5k Ohms
G1 = 1/R1;
disp (G1,'The Conductance for Resistance valu... |
23d6648d4f667a1020d4e278100c3967b11e4e1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH6/EX6.7/7.sce | 3353c9f573b09317220edcedd50fcf02d417a422 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | 7.sce | //Variable declaration
i=10**-2
A=0.01*0.001
RH=3.66*10**-4
Bz=0.5
//Calculations
Jx=i/A
Ey=RH*(Bz*Jx)
Vy=Ey*0.01
//Result
printf('Jx = %0.3f ampere/m**2 \n',Jx)
printf('Ey = %0.3f V/m \n',(Ey))
printf('Vy = %0.3f mV \n',(Vy*10**3)) |
50afa0d3d728437fc9e6317d7069c02044eef39d | 872b5ff8852c926ca1261037de07449db7ac51db | /area-01/aproximacao_interseccao.sce | 2ba79a06cc12907fafd7312c8e6e108b9b222ad3 | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | aproximacao_interseccao.sce | //definição das funções
// como fala de g derivado < 1, ja colocar aqui a derivada
function y=f(x)
y=5*x^4 - 1.4*x - 1
endfunction
function y=fl(x)
y=20*x^3 - 1.4
endfunction
//metodo de newton para o primeiro corte em y=0
x=-1
for n=1:10
x=x-f(x)/fl(x)
disp(x)
end
//metodo de newton para o segundo cor... |
15282331b1f9b98d9eb8c342e39291560a672933 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH10/EX10.9/Example10_9.sce | 267c9917a3df5d35f6e91714628f9e3b507a3b2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,992 | sce | Example10_9.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 3: STEADY STATE CHARACTERISTICS AND PERFORMANCE OF TRANSMISSION LINES
// EXAMPLE : 3.9 :
// Page number 134
clear ; clc ... |
de8c6516b10072b85d5171287bb19d9f9231e930 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH6/EX6.16/6_16.sce | e13cf403d48b2fe3f8678b555c5180a40503e467 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | 6_16.sce | clc
//initialisation of variables
T= 2000 //K
R= 1.987 //cal /mol K
G= 31160 //cal
//CALULATIONS
Kp= 10^(-G/(2.303*R*T))
//RESULTS
printf ('Equilibrium constant = %.2e ',Kp )
|
010e0079d534e8e4b5c662552b2b87adb067f62a | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH1/EX1.3/1_3.sce | 1e55e15b60d73594a0f5d249ed92080f5fb54058 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | 1_3.sce | clc;
heat_supplied=2800;//kJ/kg
heat_rejected=2100;//kJ/kg
sigma_dQ=heat_supplied-heat_rejected;
work_done=1000;
work_reqr=5;
sigma_dW=work_reqr-work_done;
m=-sigma_dW/sigma_dQ
disp("steam mass flow rate required is:");
disp("kg/s",m)
|
9b47fc2dad8db4432d0f03d3e878e10813abdaec | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH9/EX9.1/Example9_1.sce | 78a17c813e42128589eaa0fc379e332af0ea8008 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | Example9_1.sce | //clear//
//Caption:Program to find Relative Intensity Noise (RIN)
//Example9.1
//page 320
clear;
clc;
close;
IB_Ith = [1.3,1.4,1.5,1.6];//ratio between bias current and threshold current
f = 100e06; //frequency = 100MHz
RIN = ((IB_Ith-1)^-3)/f;
RIN_dB = 20*log10(RIN);
disp(RIN_dB,'Relative Intensity Noise(R... |
581e37a3333007c93d090ea71afbb2790f15388d | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH4/EX4.2/example4_2.sce | 52592300b86c08459c554c1eb77953e002cfa0d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | sce | example4_2.sce | r=10;
ro=5.5*10^(-8);
l=3*10^(-2);
a=ro*l/r;
d=sqrt(4*a/%pi);
disp("the diameter (in mm) is"); disp(d*10^3); |
62fd39f4d6571ffee306ab6e87a3590f4bd620df | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH6/EX6.11/ex11.sce | 748c5dd587c266156d5da0a25c68633f6574ee61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | ex11.sce | //example 11
//Determining the final temperature of steam
clear
clc
u2=3040.4 //final internal energy in kJ/kg
hi=u2 //in kJ/kg
P2=1.4 //final Pressure in MPa
disp('Since, the final pressure is given as 1.4 MPa,we know two properties at the final state and hence,final state can be determined.The temperature corr... |
de4ac1becb06ada6fa243379bf512515cf800876 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH17/EX17.1/17_1.sce | 0080d8677769dd9f413890f2528ae68fc48ab06e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | 17_1.sce | clear ;
clc ;
Isc= 25e3;
i=2.55*Isc;
L=1;
r=0.24;
F=2.046*(i^2)*10^-5/r;
mprintf("the force on busbar per meter length =%d kgfper meter",F/1e3);
|
7a2eb0adeefb2ffdba7ad73682ced550ed68126c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH5/EX5.19/Ex5_19.sce | 57ef0e4807a7b2cce8f08fc93f585b39d06c6239 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,176 | sce | Ex5_19.sce |
// Theory and Problems of Thermodynamics
// Chapter 5
//Second Law of Thermodynamcis
// Example 19
clear ;clc;
//Given data
T1 = 573.15 // entering temperature of superheated steam in K
P1 = 3.0 // entering pressure of superheated steam in MPa
P2 = 20 // leaving ... |
5ec32e72191d40117644e05e79158a58d5e7f002 | 2391eec552dac38c05f9c53bae1ec612f2871f51 | /Lab 1/exp1qp4.sce | 3dfe73c32dfbbc64a3b5d744a6b9ee9bbb7f589b | [] | no_license | Zebz13/EEE-S7-Power-Systems | fe9e00e27242fa51650bf87e46c504a716a22edf | 1fc9ab29e96a5d5f8a23d629364cadf2c70c4a40 | refs/heads/main | 2023-01-10T03:53:34.295752 | 2020-11-08T17:03:45 | 2020-11-08T17:03:45 | 309,158,346 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,040 | sce | exp1qp4.sce | //Program to find the inductance per phase per metre for a 3 phase double circuit line
clc;
clear;
format('v',20)
r=input("Enter the radius of the conductors in cm: ")
GMR=0.7788*r*10^-2
dab=input("Enter the spacing of A and B in ms: ")
dbc=input("Enter the spacing of B and C in ms: ")
dac1=input("Enter the spa... |
49e795b230c08ffcf330ebd53677a64bfa07bfc7 | 292983cd8dd99bd552dbbfb2088669e2fd8e9256 | /DustyWave/DustyWavePolydispVolumeDust.sce | cea69a6155da44dcb6c60cfd16b6a3ece09ebc82 | [] | no_license | MultiGrainSPH/1D_Dust_DS | ec848f29b53737c8fcaed4458be309055c18c206 | 0ad4619952e6e5fc6ede5859abe1f3a432dca0f4 | refs/heads/master | 2022-05-10T18:59:57.101731 | 2022-05-05T08:15:54 | 2022-05-05T08:15:54 | 244,804,407 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 6,754 | sce | DustyWavePolydispVolumeDust.sce | //НАЧАЛЬНЫЕ ДАННЫЕ
rho_g = 1; //начальная плотность газа
N = 2; //количество фракций пыли
rho_i = [1, 1]; //массив начальной плотности пыли//все rho_i больше 0 и их сумма меньше rho_s
t_i = [0.01, 0.001]; //массив времён релаксации
rho_s = 4; //истинная плотность пыли
Cs = 1.0; //скорость звука в газе
k = 2*%pi;... |
8b9e9cccb6585165f55cb193fc5393be5e9598ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH12/EX12.5/example_12_5.sce | 3bd6dcbcb0f783a3da500de1fe2ac0556141b113 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | example_12_5.sce | //Example 12.5
clc;
clear;
ful_scale_voltage = 0 ;
for i=1:5
op_v(1,i)= 10/2^i;
ful_scale_voltage = ful_scale_voltage + op_v(1,i); // calculating the full scale voltage
end
disp("full scale output voltage in volts is =");
disp(ful_scale_voltage)
|
21660adf270197192cb059e33e596ef6f9183d99 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/SM.tst | 5b7df52caf90d8f859a73a54b5984b2b5951a7c9 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 970 | tst | SM.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Fourier Single Mode Basis, P=7</description>
<executable>IncNavierStokesSolver</executable>
<parameters>SM.xml</parameters>
<files>
<file description="Session File">SM.xml</file>
</files>
<metrics>
<metric type="L2" id="1... |
54f98c95f20cfedb304ecab774476af5f09786d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH4/EX4.1/example_4_1.sce | a345eb91ca0f9d45b2805c76002be27b2be2c595 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | example_4_1.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 4
// Principles of Fluid Flow
// Example 4.1
// Page 172
printf("Example 4.1, Page 172 \n\n");
L = 3 ; // Length, [m]
D = 0.01 ; // ID, [m]
V = 0.2 ; // Average Velocity, [m/s]
// From Table A.1 at 10 degree C
rho=999.7 ; // [kg/... |
c8b1fde1a8291d637c8104f09d69b954495c72ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH8/EX8.22/Ex8_22.sce | f4a22e34359c194929b2ddb609c627fef7d38b2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Ex8_22.sce | //directivity of half wave dipole
//given
clc
Pr=1//watts
r=1//as value of "r" do not effect the expression
n0=120*%pi
for(r!=0)
I=sqrt(Pr/73)
Emax=60*I/r
si=r^2*Emax^2/n0
gdmax=4*%pi*(si)/Pr
gdmax=round(gdmax*1000)/1000///rounding off decimals
end
disp(gdmax,'the directivity expression for half wave dipol... |
1fc300b3ce53ff6bfb27f0dd58c92ebe51219631 | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /test-deprecated/testConversionvRxRyRzThetaU.sce | be8ce3db9e93b51fb0eec4e5e7cd7d027483dfd8 | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | testConversionvRxRyRzThetaU.sce | // main programm
//-----------------------------------------------//
path=get_absolute_file_path("scilab-src");
disp('HOME:'+path),
getd(path + "src/graphisme"); // pour charger un repertoire en entier
getd(path + "src/transformation");
//-------------------------------------------------//
// test de vecteur vitesse... |
27e19be9d064f3dead90aa35e7d64cb222d87185 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH12/EX12.6/example12_6.sce | f50a6ce4569484c8964168d5057e50e2f7948521 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sce | example12_6.sce | clear
clc
//Example 12.6 ENTROPY INCREASE ACROSS SHOCK WAVE
//To find Approx Value
function [A]= approx (V,n)
A= round(V*10^n)/10^n; //V-Value, n-to what place
funcprot (0)
endfunction
k=1.4;
M1=1.5;
//Downstream Mach number
M2=approx(sqrt(((k-1)*M1^2+2)/(2*k*M1^2-(k-1))),3)
//Pressure ratio, (p21=p... |
2c7ac8e78867c2d7efe61c0a25450b3df75fe977 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH1/EX1.16/ex1_16.sce | 184bd389eb98e5db0ab0634ed6bd6cf41a03a895 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | ex1_16.sce | clc;
v=10; //voltage in volt
t=2; //time in sec
r=40; //resistance in ohm
p=(v^2)/r; //power
e=5/5; //energy in Watt
disp(p,"Power in Watt = "); //displaying power
disp("2 W resistor is adequate."); //displaying result |
1ebacd3b240ca86da948d594678536c7f7e31c88 | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/example/可制御正準形を求める.sce | 05227a8a3a1d2e549b91e753c8862a78b5b3a327 | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | SHIFT_JIS | Scilab | false | false | 121 | sce | 可制御正準形を求める.sce | //可制御正準形を求める
L=[-3 1; 1 0];
Mc=cont_mat(A,b);
Tc=inv(Mc*L);
Ac=Tc*A*inv(Tc); bc=Tc*b; cc=c*inv(Tc);
|
caf161e69a36ec79484bae0cb4c8becac5e894ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH4/EX4.12/Ex4_12.sce | e70351905d41b89e9f8e560eb609d8c79df0505b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | Ex4_12.sce |
//determine the power dissipiated in resistance
//v=200 sind 314t
Vm=200;
o=314; //@=omega
//i=50 sind 314t
Im=50
o=314
R=Vm/Im
I=Im/1.414
P=(I*I*R)
disp( 'power dissipiated in resistance='+string(P)+' watts')
|
afe39ffd395bd8023f7ee161431641cb46d1bd14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH5/EX5.7/Ex5_7.sce | 053bc52fbeef32dfcf8ae7bde29f5797cf306852 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,017 | sce | Ex5_7.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 5 : DIRECT CURRENT MOTORS
// Example : 5.7
clc;clear; // clears the console and command history
// Given data
I_a1 = 65 // supply current to dc series motor in A
V_t = 230 // supply volt... |
08e4ef9abc9ac66f8cbaaae7ee366ab1a221ba3c | 8bc1ab9f1d4165ad25962a8bb841b4e0cc161537 | /finalproject/test/PL.TST | 5e99926420399445bd2e059443872742f6c71bb1 | [] | no_license | hyeonjang/scheme-simulation | 95779f08da760d726106ce403709f217d5a4a008 | 45190c9a30ddf8d646500060e75f7e6d14157ecd | refs/heads/master | 2023-01-07T05:14:31.351706 | 2020-11-19T15:57:18 | 2020-11-19T15:57:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,076 | tst | PL.TST | OK
[13] (load "mbase/pl.m")
Model of type atomic-models with name PL made.
Processor of type simulators with name S:PL made.
OK
[14] (send pl inject 'in '(g1 (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)))
state s =
state s = (9 BUSY (G1 (1 2 3 4 ... |
bc5a7f8b5de2750cb03b0be87d64bc9708de2fee | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/56.tst | 33340bd297b926ca9ee4823db9a4f601b813df11 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 48 | tst | 56.tst | int f(float x)
{
int x; /* ошибка */
}
|
39927f740be45fbcd1c407826317c473fab41e46 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Machine_Learning/demos/1 hot encode_Demo.sce | 17db0dc7f98167019354b5abe73981a59f69989c | [
"BSD-2-Clause"
] | permissive | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | 1 hot encode_Demo.sce | // Demo script for 1 hot encoding
getd('../macros/')
// Data preparation
M = read_csv('Datasets/titanic.csv')
x = M(:, 12);
x = stripblanks(x)
x(or(isnan(x),'c'),:) = []
l = size(x)
y = []
for i = 1:l(1)
if(strcmp(x(i), '') ~= 0)
y = [y;x(i)];
end
end
x = y
[categories, encode] = hotEncode(x);
disp(categories);
... |
2b76ba87bccdf2ebf2bc2b5981078212c2cee91a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH4/EX4.21/ex4_21.sce | 9716cf6d592ae993b4ee58760fc1aeca6727d2a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,024 | sce | ex4_21.sce | //Chapter-4, Example 4.21, Page 147
//=============================================================================
clc
clear
function [polar] = r2p(x,y)//function to convert rectangular to polar
polar = ones(1,2)
polar(1) = sqrt ((x ^2) +(y^2))
polar(2) = atan (y/x)
polar(2) =(polar (2)*180)/%pi
endfunc... |
0daa6cbed8cdbb720c1dbcbd44fa22d539f62d72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH7/EX7.16/Example7_16.sce | 19b88eb8d4bd95232b262c7310505338f1114def | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,005 | sce | Example7_16.sce | ///Chapter No 7 Fluid Mechanics
///Example 7.16 Page No:127
///Find continuity discharge equation
///input data
clc;
clear;
///refer figure 11
ZA=2; //water flows section A-A in m
DA=0.3; //datum pipe diameter at section A-A in m
PA=550*10^3; //pressure in kPa
VA=6... |
c1f08c67ac4e733931ea61357c7d4c58f8b8087e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2720/CH2/EX2.16.2/ex2_16_2.sce | 4852795caf0ab11eb7f0f86538e3af8bf5d44a3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | ex2_16_2.sce | // Exa 2.16.2
clc;
clear;
close;
format('e',9)
// Given data
l = 0.1;// in m
A = 1.7;// in mm^2
A = A * 10^-6;// in m^2
R = 0.1;// in ohm
At = 63.5;// atomic weight
N_A = 6.02*10^23;
d = 8.96;// in gm/cc
n = (N_A/At)*d;// in /cc
n = n * 10^6;// in /m^3
//Formula R = Rho*(l/A);
Rho = (R*A)/l;// in ohm m
... |
70d540853eb2bfc558dbc4afed52311fd5f9fbee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH3/EX3.13/Example3_13.sce | f87d443c6304f9fa3a84ea15920501a63adc1e37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | Example3_13.sce | //Example 3.13
clc;
clear;
close;
format('v',6);
//Given data :
a=8;//meter
b=6;//meter
h=3;//meter
CD=2;//meter
theta=30;//degree
A=(a+b)/2*h;//meter^2
AB=(a+2*b)/(a+b)*h/3;//meter
x1bar=AB;//meter
BC=AB*sind(theta);//meter
BD=BC+CD;//meter
xbar=BD;//meter
g=9.81;//gravity
w=g*1000;//in N/m^3
p=w*A*... |
6f4da448691a37524b8de32215b31929b140c490 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH8/EX8.4/ex8_4.sce | efacae14721e044faa53b61631bd5e6690cda4d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 694 | sce | ex8_4.sce | // Exa 8.4
clc;
clear;
close;
// Given data
R_f = 1;// in Mohm
R_f = R_f * 10^6;// in ohm
disp("Part (a)")
V1 = 1;// in V
V2 = 2;// in V
V3 = 3;// in V
R1 = 500;// in kohm
R1 = R1 * 10^3;// in ohm
R2 = 1;// in Mohm
R2 = R2 * 10^6;// in ohm
R3 = 1;// in Mohm
R3 = R3 * 10^6;// in ohm
V_o = -(R_f) * ( (V1... |
ba544eb509342e1524a69c5a73eff1f17de6b8d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH5/EX5.5/Ex5_5.sce | 8ef87352695663dade0be339f0308ae5401f6bd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Ex5_5.sce | //example 5.5
clc; funcprot(0);
B=5;
L=10;
Ef=2.3e6;
Eo=1400;
k=25;
t=1.0;
mus=0.3;
Df=5;
qo=5000;
Ig=0.69;
Be=sqrt(4*B*L/%pi);
If=%pi/4+1/(4.6+10*(Ef/(Eo+2*Be/2*k))*(2*t/Be)^3);
Ie=1-1/(3.5*exp(1.22*mus-0.4)*(Be/Df+1.6));
Se=qo*Be*Ig*If*Ie/Eo*(1-mus^2)/144;
disp(Se*12,"settlement in inches");
|
329592af9cd62f9608dd354aeb80f4d74b1f2c7c | f7378eec5e8815bdba8a29ea1beec900bbac11b1 | /lab1/questao62.sce | 257def1353f1907637eafd59250c1a71d7ca3bac | [
"MIT"
] | permissive | andersoncordeiro/ComputerVision | dba8ed6a1a6c890b2aa7b8d4159b07cf311e8c70 | 163bd0e9cbcb7f0046e5f46f78d3967785b0e8b4 | refs/heads/main | 2023-03-05T18:35:06.740972 | 2021-02-16T14:16:09 | 2021-02-16T14:16:09 | 339,419,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | questao62.sce | stacksize('max');
chdir('/home/anderson/VisaoComputacional/MaisLuz');
rotulo = ls('*.jpg');
QTDimagens = size(rotulo,1)
M = [ ]
for i = 1 : QTDimagens
im = imread(rotulo(i));
M = [ M, im(:) ];
end
[l,c,p] = size(im);
ImMedia = mean(M,'c');
ImMedia = matrix(ImMedia,l,c,p);
xset('window',1);
imshow... |
cd2608929a3ce372998976bde3472b2ed69a91fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH5/EX5.13/Ch05Ex13.sce | d58d52db91d02b9966338b6206e08efe806f160c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | Ch05Ex13.sce | // Scilab Code Ex5.13 : Page-5.25 (2004)
clc;clear;
V = 15000; // Accelerating potential, volts
lam = 12.26/sqrt(V); // de Broglie wavelength, angstrom
printf("\nde Broglie wavelength of electron wave = %5.1f angstrom", lam);
// Result
// de Broglie wavelength of electron wave = 0.1 angstrom
|
ea7116747a7485203361d4201c9ce82c7c99c63e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH8/EX8.18/8_18.sce | 3fd725e0e45259f5d7ac9cf573a81dbb7ad41ea2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | 8_18.sce | //Stator Current and pf and efficiency of a motor operating at 0.03 slip
clc;
clear;
V=400;
Vph=V/sqrt(3);
R1=0.2;
R2=0.15;
X1=%i*0.5;
X2=%i*0.3;
s=3/100;
Ptl=2000; // Total Losses
Z1=R1+X1;
Z2=(R2/s)+X2;
Zt=Z1+Z2; // Total Impedance of the circuit
Is= Vph/Zt; // Stator Current
Ctheta=atand... |
428c5cd1640b11d0b7082634668ab62fa4fbd142 | 1db0a7f58e484c067efa384b541cecee64d190ab | /builder.sce | d67b226c2b8a40d5aacfae8fd18459cdcce072b5 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,256 | sce | builder.sce | mode(-1);
// Copyright (C) 2017 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the BSD.
// This source file is licensed as described in the file LICENSE, which
// you should have received as part of this distribution. The terms
// are also available at
// https://opensource.org/licenses/BSD-3-C... |
4bce028619eb051a0d02bd49f7a44c5d1bf5cf88 | db719ae90d19be4c228e1cc4209c3271c9c72eaa | /MissionB3.sce | a22e4b90984dc915b110f9c815ca7f48528c6520 | [] | no_license | Cedric-M/Projet_Scilab_Imagerie | 9a51a12cf70ef820a158630a2b0c29c5f1ad4f08 | 13c62cddd8e1969a61864a332fae21457e8afdf7 | refs/heads/master | 2021-01-22T20:12:42.509435 | 2017-03-17T09:33:57 | 2017-03-17T09:33:57 | 85,294,028 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,517 | sce | MissionB3.sce | //MissionB3
function missionB3(imgB3)
disp("Résultat de la mission B3 :")
[y,x]=size(imgB3)
display1=zeros(y,x)
display2=zeros(y,x)
display3=zeros(y,x)
display4=zeros(y,x)
for i=1:1:y
for j=1:1:x
if (imgB3(i,j)<= 64) then
//disp("DEBUG 1")
display1(i,j)=255
... |
4ea35681610f57699ac2aa92b052868823910a8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH9/EX9.7/Ex9_7.sce | 5dacfa299a80c75fe1cf317a9ed7f8652834266f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | Ex9_7.sce | //Ex9_7
clc
IIL=-1.6*10^(-3)
disp("IIL= "+string(IIL)+" A") // Input sink Current of TTL driver
IIH=40*10^(-6)
disp("IIH= "+string(IIH)+" A") // source (supply) reverse Current of TTL driver
IOL=16*10^(-3)
disp("IOL= "+string(IOL)+" A") // Specified Maximum sink Current of TTL driver
IOH=-400*10^(-6)
disp("... |
1e366a75df2cebcc5b901c551edb4c6d045da60a | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH3/EX3.7/example7_sce.sce | 5e460532636ee58858ea88882dc6b5438799a66c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | example7_sce.sce | // chapter 3
// example 3.7
//page 135
A=10;//d.c gain
R1=10000;
F=10000;//input frequency
CfRf=15915*10^-4;
Fa=F/A;
Rf=10*R1;// A=Rf/R1
//Fa=1/(2*3.14*Rf*Cf)
Cf=15915*10^-4/Rf;
disp(Cf)
Rcomp=(R1*Rf)/(R1+Rf);
disp(Rcomp) |
3202c62fecc0e82bab7590d947683e7eefddfee1 | 3b68afeab7136e24e06dfb8b19290e206726ae55 | /2013/Investigating the Limits of Monte Carlo Tree Search Methods in Computer Go/experiments/test files/two-safe-groups/g_two_safe_groups_2_0.5.tst | 1299e200eab279162d9f790dcaa07def58203468 | [] | no_license | AbhishekYMCA/papers | 7719245f720ba5e0cb3545544b8e806f5a50c9cf | babc9fe07190401b33dd622f3861d1a6f08345b8 | refs/heads/master | 2021-07-19T14:35:59.029459 | 2017-10-29T06:33:28 | 2017-10-29T06:33:28 | 108,710,966 | 0 | 0 | null | 2017-10-29T06:32:20 | 2017-10-29T06:32:20 | null | UTF-8 | Scilab | false | false | 1,875 | tst | g_two_safe_groups_2_0.5.tst | #-----------------------------------------------------------------------------
# Position evaluation tests involving two safe white groups on the 9x9 board.
# All these positions are lost for Black so the uct_value should be low.
#-----------------------------------------------------------------------------
#----... |
37157a294c7109d439dbe799171c84c26b7e0ce0 | 9b046504c3b7683d3bfa294fe100408058e75aa3 | /Metodos/Clase3/ScriptsClase/metodoFalsaPosicion.sce | 8193bac1a74f009509176c6bed583175cf569825 | [] | no_license | DavidAlex99/Cursos | f15cb4f4fbb35a6eb62cbae0a9b51ea671f3ea8f | aee547ab09db7e535bea5a6d41ed6e455f8a9a89 | refs/heads/master | 2023-01-08T02:46:07.502656 | 2020-11-14T00:45:57 | 2020-11-14T00:45:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 999 | sce | metodoFalsaPosicion.sce | clear()
clf()
function xr = biseccion(xl,xu,n,fx)
for i = 0:1:n
xr = (xl+xu)/2
if(fx(xl)*fx(xr)<0)
xu = xr
else
xl = xr
end
plot(xr ,fx(xr),"marker","p")
xstring(xr, fx(xr),"B"+string(i+1))
end
endfunction
function xr ... |
4e31d08c7ba2a989b287d072e85d57576fe2d30f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH10/EX10.1/exp_10_1.sce | a2cc2b3f7f02b952033fecb7f7feb72d0323d1fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | exp_10_1.sce | clear;
clc;
v=[complex(100,0);complex(-75,129.90);complex(-105,-181.865)];
a=complex(-.5,.866);
A=[1 1 1;1 a^2 a;1 a a^2];
vs=inv(A)*v;
mprintf("symmetrical components of phase voltages are \n");
disp(vs);
|
08bdd9ac7191be4f88de13ffded1b2eccb0bfaab | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH2/EX2.5.b/Example2_5_b.sce | bf63017713d0e621f4c47b9c38f0b8f71635775f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | Example2_5_b.sce | //Example 2.5(b)
clear;
clc;
R1=15*10^3;//From the result of Example 2.4
p=0.001;//For 1% tolerance p=t/100=1/100=0.01
emax=4*p;//imbalace factor
Romin=R1/emax;
printf("Ro can be anywhere in the range Ro>=%.2f Mohms",Romin*10^(-6)); |
0c6c09b3da2039ae341357b68235e05078d6ec4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH7/EX7.5/7_5.sce | 3ca22fb5fdd804843c69201fd7aaccc80192e2cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | 7_5.sce | //To find velocity and angular velocity
clc
//Given:
NAO=120 //rpm
OA=100/1000,CE=350/1000 //m
//Solution:
//Refer Fig. 7.13
//Calculating the angular speed of the crank OA
omegaAO=2*%pi*NAO/60 //rad/s
//Calculating the velocity of A with respect to O
vAO=omegaAO*OA //m/s
vA=vAO
//By measurement from the ve... |
93e671a52f6dc4ea2c3bad75440715850a19b4a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH15/EX15.02/15_02.sci | 6c4f40dcd68dafcf391bfa27bfd8099d08c2933a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sci | 15_02.sci | //system//
s=%s;
sys=syslin('c',1/(s*(s+2)))
nyquist(sys)
show_margins(sys,'nyquist')
printf("Since P=0(no of poles in RHP)=Poles of G(s)H(s) \n here the number of zeros of 1+G(s)H(s) in the RHP is zero \n hence the system is stable")
|
ef9a65733b0fac8c28e09271e7aaeaa8bba3e3aa | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Assign.sci | 8d9201cc0e106e405c2537b865a6c9bebf0bcf04 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,637 | sci | Assign.sci | // 08.09.26
// 09.09.21
// 09.09.26
// 09.10.01
// 09.10.03
// 09.10.05
// 09.10.08
// 09.10.09 ( format=20)
// 09.10.15 ( added Assign('') : reset
// 09.10.17 ( Matrix added, ? -> number returned)
// 09.10.21 ( list supported with Makeliststr )
// 14.10.04 format=12
// 14.12.11 only replaced when variable name
/... |
d94f4e2a04da51d89c562817d753da028f653ac4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH4/EX4.1/4_1.sce | 7fbf7f8ec9255b04e347be3c88a105738828a6e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | 4_1.sce | //chapter 4
//example 4.1
//page 102
clear all;
clc ;
//given
Rc=9;//collector resistance in kohm
Ic1=0;//collector current
Vcc=20;//supply voltage
Vce1=Vcc;//point A(Vce,Ic)=(20,0)
Vce2=0;//collector to emitter voltage V
Ic2=Vcc/Rc;//mA
//point F(Vce2,Ic2)
plot([Vce1 Vce2],[Ic1 Ic2],'-.*');
xtitle('dc lo... |
41f47a8a25897b8197b4d7691eef2b72019dff18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH5/EX5.7/Ex5_7.sce | cb6ec350ea02e9e07d7d606ee0ca4ed8f0b1348e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | Ex5_7.sce | //Ex 5.7
clc;clear;close;
format('v',6);
R1=10;//kohm
R2=16;//kohm
C=10;//nF
R=62;//kohm
Beta=R1/(R1+R2);//unitless
T=2*R*1000*C*10^-9*log((1+Beta)/(1-Beta));//seconds
f=1/T;//Hz
disp(f,"Frequency of oscillations(Hz) : ");
|
59f802b194c5f88b0db8f3fea664c323e1869b9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH13/EX13.17/example13_17.sce | 40f91da61fe852809d2b0de63e0cbcdb3e70f1e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | example13_17.sce | //Chapter 13
//Example 13_17
//Page 329
clear;clc;
l=1000;
i=1.25;
r_km=0.05;
r=2*r_km/1000;
I=i*l;
R=r*l;
vd=I*R/8;
//Part 1 is derivation of maximum voltage drop and is not included in the code. Only Part 2 is solved.
printf("(i) Total current supplied by distributor = %d A \n\n", I);
printf("Total resistance o... |
22ddf5a65aa0e5b23af2fd73dbbd3d18424571b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH25/EX25.24/ex25_24.sce | 060dff858961c2b0dd551701b5c2041acf2c45d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | ex25_24.sce | clc;clear;
//Example 25.24
//binary to hexadecimal conversion
//given values
X='1011101';//binary number
//calculation
x=bin2dec(X);//decimal equivalent
z=dec2hex(x);
disp(z,'hexadecimal number is ');
|
b7f9ab095fd94b88202a7e1e7602cf8f7a0d5444 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH10/EX10.4/Ex10_4.sce | 001c943718d03d43f94a73dcc031e2f61c8eecaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sce | Ex10_4.sce | //fiber optic communications by joseph c. palais
//example 10.4
//OS=Windows XP sp3
//Scilab version 5.4.1
//given
clc;
clear all;
deltaf=200//Frequency deviation in MHz/mA
fm=300//modulation frequency in MHz
pac_current1=1//peak ac current in mA
pac_current2=5//peak ac current in mA
//to find
deltaf1=d... |
73c7199b6def2e3b31a6a70b2a64402e2d0fc8ed | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Power-1_Transmission_And_Distribution_Of_Electrical_Power_M._L._Anand_1802.zip/Electrical_Power-1_Transmission_And_Distribution_Of_Electrical_Power_M._L._Anand_1802/CH7/EX7.14/Exa7_14.sce | 7b4d0dd422d50bcd30de6d8f2a9636edcbba236a | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | Exa7_14.sce | errcatch(-1,"stop");mode(2);//Exa 7.14
;
;
//Given data :
format('v',7);
//Applying KVL on +ve side
V1=200-(600*0.015)-(100)*0.03;//in volt
disp(V1,"Voltage at +ve side(in V): ");
//Applying KVL on -ve side
V2=200-(-100*0.03)-500*0.0015;//in volt
disp(V2,"Voltage at -ve side(in V): ");
//Note : answer of ... |
a379a48bdab1dc4077905bd44edefc83b3555c35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH4/EX4.12/4_12.sce | 077284ffd3bb653c9da5b8c4230ab29b7f15b966 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | 4_12.sce | clc
//initialisation of variables
p= 4/3 //atm
p1= 1 //atm
R= 1.9872 //cal /mole K
//CALCULATIONS
S= 2*R*log(p/p1)
//RESULTS
printf (' increase in entropy= %.4f cal deg^-1',S)
|
6fc7c1956a20e42bf671389a4775fccbbe1cc432 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH6/EX6.7.2/exa6_7_2.sce | e8db694a6e465ded0705949837edd8d6f4b1c5c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 790 | sce | exa6_7_2.sce | // Example 6-7-2
// Step and ramp response of lag compensated system
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "/<your code directory>/";
// exec("plotresp.sci");
s = %s;
G = 1.06 / (s * (s + 1) * (s + 2));
Kc = 0.9956;
z = 0.05;
p = 0.005;
Gc = Kc * (s + z)/(s + p);
GGc = G*G... |
f64424527b59d375d59eca4c1babf96f6f08e16d | 7bb3266c3d222ac3765229d4a9e3004c6b91da23 | /TypeScriptTemplate.tst | 176a678b52495496ec66f77bbe8c6b7e45c3fc92 | [] | no_license | parak80/EI | d6cfb9654d9c4bf6fb841fe122b517b791da9e23 | 6d3ff5d11af24ee726bbbec82aba9f6a769c45cd | refs/heads/master | 2022-12-23T00:15:10.638008 | 2020-09-28T15:56:34 | 2020-09-28T15:56:34 | 299,344,392 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,293 | tst | TypeScriptTemplate.tst | ${
using Typewriter.Extensions.Types;
using System.Text.RegularExpressions;
using System.Diagnostics;
string ToKebabCase(string typeName){
return Regex.Replace(typeName, "(?<!^)([A-Z][a-z]|(?<=[a-z])[A-Z])","-$1", RegexOptions.Compiled)
.Trim().ToLower();
}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.