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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b07383f63d2c953b96765f2203517c21e9f5a254 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH14/EX14.4/ex_14_4.sce | c3ef3f28625ba79835362d8dfc4d8e7d07bfc9b4 | [] | 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 | 484 | sce | ex_14_4.sce | //Example 14.4 // wavelength & angle
clc;
clear;
//given data :
d=2.82;//spacing between successive planes in A
theta=8+35/60;//in degree
theta=theta*%pi/180;// to convert in radian
n=1;// order of reflection
lamda=2*d*sin(theta) /n;//de-broglie equation
disp(lamda,"wavelength of NaCl in A ")
n=2;//to find an... |
dd0e86204ed7ba529508a4f297823f3b7509b774 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH12/EX12.22/Ex12_22.sce | caab2aad9b1ff1476d43ff25f2caa7204df8e9a5 | [] | 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 | 209 | sce | Ex12_22.sce | clear;
clc;
//Example 12.22
Ao=10^6;
fPD=0.010;//KHz
b=0.01;
Af=Ao/(1+b*Ao);
printf('\nlow frequency closed loop gain=%.2f\n',Af)
fc=fPD*(1+b*Ao);
printf('\nclosed loop 3dB frequency=%.2f KHz\n',fc)
|
de7593b6e02e77c31e713d897a2a1139bf58bf6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH45/EX45.3/Example45_3.sce | 37de01a845c24d286856de4bb424459f3ca993c2 | [] | 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 | 397 | sce | Example45_3.sce | //Given that
Ep = 938.3 //in Mev
Epi = 135.0 //in Mev
Epip = 139.6 //in Mev
//Sample Problem 45-3
pt = mopen('Example45_3_result.txt', 'wt')
mfprintf(pt, '**Sample Problem 45-3**\n')
Q = Ep - Epi - Epip
if (Q > 0) then
mfprintf(pt, 'The proton can decay according to given scheme')
else
mfprintf(... |
c131c6a3db7f0484f610c0c75a656957583eb576 | 717ddeb7e700373742c617a95e25a2376565112c | /3165/CH3/EX3.13/Ex3_13.sce | 11aba534f9cbfea209d6e7e6dbdf04e634b0ab4a | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 701 | sce | Ex3_13.sce | //Example 3-13
//Program to Pl o t Magni tude Responce o f i d e a l d i f f e r e n t i a t o r wi th s p e c i f i c a t i o n s :
//N=8 ,w=p i
// u s i n g Re c t angul a r window
clc ;
N =8;
alpha =7/2;
U =1;
h_Rect = window ( 're' ,N);
for n =0+ U :1:7+ U
hd(n)=-( sin (%pi *(n-U- alpha )))/( %pi *(n-U- ... |
13f6ff684f73a2c8fb735481ec155763d316320e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH3/EX3.13/Example3_13.sce | cd3c192ffaf430ba07bf86338c8ab3fd446397c8 | [] | 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 | 386 | sce | Example3_13.sce | // Example 3.13
clear; clc; close;
format('v',7);
// Given data
J=3*10^-4;//in Kgm^2;
f1=1000;//in Hz
f2=2000;//in Hz
delt=100;//in ms
Tf=0.05;//in N-m
Qs=1.8;//in degree
//Calculations
delt=100*10^-3;//in sec
Qs=Qs*%pi/180;//in radian
w1=Qs*f1;//in rad/sec
w2=Qs*f2;//in rad/sec
dwBYdt=(w2-w1)/delt... |
0869cfb70daf3b9a8d326db3d52919b1db29c71b | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ap_vrt_ind_d/~BivLCM-SR-bfas_ap_vrt_ind_d-PLin-VLin.tst | 74697d33cd3eff057c940cca5ff5ae0aff062533 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ap_vrt_ind_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.255153D+00
... |
429e7808ff0be9674bb65a8d1360c156ea907db4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH3/EX3.9/Ex3_9.sce | aefc35ea1ec29b6325ccab7ef71306ecaeeaeb03 | [] | 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 | 628 | sce | Ex3_9.sce | Bf=1250//width of flange, in mm
Df=120//thickness of flange, in mm
d=700//effective depth, in mm
m=13.33//modular ratio
Ast=5500//in sq mm
W=60//UDL including self-weight, in kN/m
l=8//span, in m
M=W*l^2/8*10^6//in N-mm
//Assume x>Df. Equating moments of area on compressiona and tension sides about N.A.
x=(m*A... |
f6e03abd33814b7af6231db7df35c052e56a77e1 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Space/OrbitSimulations/CalculateLaunchWindow.SCI | cc82c12fa3f1283c0546f410eb70171972d5bca1 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 4,557 | sci | CalculateLaunchWindow.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_SSYS.sci");
sf=T_scene_create;
sc=T_getscene;
vp=T_getviewport;
vp.nearclipplane=0.1;
vp.farclipplane=50;
vp.camerapos=point(0,0,10);
vp.cameradir=vecnorm(point(0,0,0)-vp.camerapos);
vp.focaldistance=13;
sc.Light0Pos=point(100,300,1... |
bfc272a0f2c515507fcb7a555a0ee07a09895732 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH11/EX11.4/11_4.sce | cb3dd0476d68c379130ef30db5eead0496c77510 | [] | 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 | 615 | sce | 11_4.sce | clear
clc
//initialisation of variables
g= 32.2 //ft/sec^2
u1= 90 //ft/sec
w1= 70 //ft
e= 0.8
h1= 10 //ft
h2= 16 //ft
h3= 5 //ft
k= 2/5
f1= 20 //ft/sec
f= 18 //ft/sec
a= 45 //degrees
x1= 164.4 //ft
//CALCULATIONS
Hm= u1*w1/g
Hm1= e*Hm
lh= Hm-Hm1-h1-h2-h3
vg= k*sqrt(f1^2+w1^2)
pr= ((f^2+u1^2-f1^2/(si... |
f7d41423af7251aae7b0b071a2632693ec581023 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH6/EX6.30/ex6_30.sce | 1dd856512b329fc27d57897080cd1d51638be2af | [] | 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 | 448 | sce | ex6_30.sce | // Exa 6.30
clc;
clear;
close;
// Given data
Cp= 2.3;// in kJ/kg-K
T_sat= 179.9;// in °C
T_sat= T_sat+273;// in K
H= 3052;// enthalpy in kJ/kg
P= 10*10^2;// in kN/m^2
h_f= 763;// in kJ/kg
h_fg= 2015;// in kJ/kg
V= 0.1944;// in m^3
// Formula H= h_f+h_fg*Cp*(t_sup-T_sat)-P*V*(t_sup/T_sat)
t_sup= (h_f+h_fg-... |
6218019d4ab14ea93f8bbd28100f19739081a155 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH8/EX8.11/ex_11.sce | 3aac8402e16fa4ae784d879c265aa82bdba40623 | [] | 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 | 343 | sce | ex_11.sce | //EXAMPLE (PG 549)
//Gauss Seidel Method
exec gaussseidel.sce
A = [10 3 1;2 -10 3;1 3 10] // Coefficient matrix
b = [14 -5 14]' // Right hand matrix
x0 = [0 0 0]' // Initial Gauss
gaussseidel(A,b,x0) // Calling function
// End the probl... |
c3f9e73f486652822e44121a472a4d77259950d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH2/EX2.33/33.sce | 43f26eed8ab510e5b7838ffe1e384c8707f60db4 | [] | 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 | 717 | sce | 33.sce | //finding SOP and POS//
//example 33//
clc
//clears the command window//
clear
//clears//
disp('given f=B''C')
disp('f=(B''+AA''+CC'')(C+AA''+BB'')')
disp('f=((B''+A)(B''+A'')+CC'')((C+A)(C+A'')+BB'')')
disp('f=[C+(B''+A)(B''+A'')][C''+(B''+A)(B''+A'')][B+(C+A)(C+A'')][B''+(C+A)+(C+A'')]');//using distributive... |
cbf47cc5736abc32d6a07242e511d5479d0a9053 | 93961eacae3ff81569a398200d1ae75e92552235 | /A_estrela.sce | f9a6a540c61cb6f394118c7ad3595cdc088befff | [] | no_license | FabianoPessoa/Scilab | b271dfad4861e4bab260071e8e0fa2d17ce713f4 | 6968addae2a3dfc93b5b9f4ab9d97f9af0d95820 | refs/heads/master | 2023-03-26T10:59:40.033652 | 2021-03-30T11:09:17 | 2021-03-30T11:09:17 | 298,696,087 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 26,592 | sce | A_estrela.sce | //**********************************************************************************
//Botoes de dialogo na caixa de dialogo
answ=buttondialog("Programa Algoritmo de Busca A*\nEsse programa foi criado para implementação do algoritmo de busca A*\nTravalho número 01 de controle Inteligente\nPara começar leia a tela de m... |
41dae58f016aa742b8a00f0754409ec79c8ff6c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH2/EX2.4/Example2_4.sci | a5653d11b8c6c04404d97472b799231e983c0c24 | [] | 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 | 748 | sci | Example2_4.sci | //Chapter 2_Thick Film and Thin Film Hybrid ICs
//Caption : Design Capacitor
//Example2.4: Design a circular 100pF capacitor with the thick film dielectric having dielectric film thickness=0.02mm(or 0.002cm), assume Er=100
//Solution: We have to find the radius of crcular capacitor inorder to design it.
clear;
clc... |
8ee4bfcd276d22b918a3f8a6c520f0b4340590f5 | adaa1dc1e9781bebdc15cc0c3a4bfbfa059442fa | /cs506/HW2/Expander16.tst | 70abba33a7966fe83c9bad7d05b7ae30bf379644 | [] | no_license | rodrigo-r-martins/pace_university | e87fbf9d2eb47797f0652af59304bdbe5293f5cc | 7bfc407c2b7ae90e4e9d5cc650c6ae719358b084 | refs/heads/main | 2023-05-27T04:38:33.513928 | 2021-06-17T04:24:22 | 2021-06-17T04:24:22 | 377,698,848 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | tst | Expander16.tst | load Expander16.hdl,
output-file Expander16.out,
compare-to Expander16.cmp,
output-list in%B3.1.3 out%B3.16.3;
set in 0,
eval,
output;
set in 1,
eval,
output;
|
3e32659cf17a6d229c915cc8649c4148e52ad50d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH20/EX20.1/20_1.sce | f3c2c24fe54245d8b5251c1178b693dc62e4063d | [] | 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 | 283 | sce | 20_1.sce | clear;
clc;
l=.4;
Ft=.8;
Fd=8.2;
Tt=6;
Td=5;
Rf=Ft + (Fd*l);
mprintf("\n(a)Failure Rate = %.2f outages/year",Rf);
t=((Ft*Tt)+(Fd*Td*l))/Rf;
mprintf("\n(b)Down Time = %.3f Hours per outage",t);;
T=t*Rf;
mprintf("\n(c)Total Outage Time = %.1f Hours per year",T);;
|
17adddcbfb151457417b389f9b97757f2c0376e9 | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_7.4/DuperPlot.sci | 859e53546489955103805ebbf9054d7570476da9 | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 655 | sci | DuperPlot.sci | function DuperPlot(plA)
if typeof(plA) == 'list' then
for i=1:size(plA)
DuperPlot(plA(i));
end
end
axGrooveProfile = gca();
axGrooveProfile.isoview = "on"
axGrooveProfile.axes_visible = ["on" "on" "off"];
axGrooveProfile.data_bounds=[mi... |
801a034cd41eb5d83a8fec4c4cd13aaf8196c529 | 449d555969bfd7befe906877abab098c6e63a0e8 | /36/DEPENDENCIES/prob9_18data.sci | 26dd5f1b2afc2cd4c4bf3ef0bfc807801a4034cf | [] | 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 | 111 | sci | prob9_18data.sci | //problem 9-18 data
//size of the array
words=1024;
//as given we are using a four module memory organization
|
bd5b3df4c491112268b02797f1bee3504ee6ce25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH10/EX10.4/Ex10_4.sce | 5dfeace3ccb6663ca86848ac3ffecb9e4e8c4177 | [] | 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 | 621 | sce | Ex10_4.sce | //chapter 10
//Vout
//page no. 359
//Figure 10.11a
//Given
clc;
clear;
Rf=400000; //in Ohm
C=20*10^-9; //in farad
flow=1/(2*%pi*Rf*C);
printf("\n Flow = %.1f Hz",flow);
Ri=15000; //in Ohm
//integration
function Vin=f(t),Vin=.6,endfunction
exact=-2.5432596188;
I=intg(0,10^-... |
7ca7b63521da611552d0c3718aee4d99e5d1f81f | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/DEPENDENCIES/ch4_4.sce | 9deb374dc0b960d79c14bebf58ffa06c69726339 | [] | 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,640 | sce | ch4_4.sce | clc
disp("Problem 4.4")
printf("\n")
//From figure 4.7
//Let us consider a tree with 5,6,7,8 as tree branches
//Correspondingly links be 1,2,3,4
//By adding links one after other Loops can be formed
//The fundamental loops are..
disp("L1={1,5,6} L2={2,5,6,7,8} L3={3,6,7,8} L4={4,6,7}")
disp("1 is written i... |
720569ecb6ed14517b88ce7d31dc1f1f0bff59e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH9/EX9.13/example13.sce | b55b40db4e15c005089101740a3cd336b4657d82 | [] | 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 | 841 | sce | example13.sce | clc
clear
//input data
H=30//Working head of the turbine in m
D1=1.2//Inlet wheel diameter in m
D2=0.6//Outlet wheel diameter in m
b11=90//Vane angle at entrance in degree
a11=15//Guide blade angle in degree
Cx2=0//Velocity of whirl at inlet in m/s
g=9.81//Acceleration due to gravity in m/s^2
dw=1000//Density... |
cc5d807bf42c5906cd7cc1f5562dddbf6a197efe | 6e51f2fdd036612dc2b51c405904fed97d2ae8b0 | /src/test_server_1_a.tst | 67b6291053884e08af7cdf0eb3b18f6989cee775 | [
"MIT",
"Zlib",
"BSD-3-Clause",
"OML"
] | permissive | joe-nano/ciyam | 92c6ccb58029a1b2a641a7e00417ab524cb9f957 | a92c296b911b29620a7bb3b758eb55339e040219 | refs/heads/master | 2022-04-16T14:39:55.822434 | 2020-03-27T06:39:13 | 2020-03-27T06:39:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,368 | tst | test_server_1_a.tst |
> version
0.1
> session_list -min
1* session_list <none> <unknown> 0:0 0:0 2
> encrypt -no_ssl -no_salt for_testing_password
Zm9yX3Rlc3RpbmdfcGFzc3dvcmQ=
>
>
>
> X
> X.
> .X
> X
> X.
> .X
> XY
> XY.
> .XY
> X.Y.
> XY
> .XY
> XY.
> X.Y.
> XYZ
> XYZ.
> .XYZ.
> X.Y.Z.
> XYZ
> XYZ.
> .XYZ.
> X.Y... |
12eb6c0ad751774ccaabfd1af745d5d5d0b3e268 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH11/EX11.10/Ex11_10.sce | 43b4ffbcb51644576bcb98ab8822b91a34ccc397 | [] | 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,101 | sce | Ex11_10.sce |
// Theory and Problems of Thermodynamics
// Chapter 11
// Kinetic Theory of Gases
// Example 10
clear ;clc;
//Given data
r1 = 0.18 // radius of oxygen molecule in nm
P = 0.01 // pressure of oxygen in MPa
T = 500 // temperature of oxygen in K
R = 8.314 ... |
d015f7c06f78e41182900089d1c433c0dc2839a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH13/EX13.03/13_03.sce | 8e57e219faa9118e0e129c09cef92386110ec4ae | [] | 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 | 968 | sce | 13_03.sce | //pathname=get_absolute_file_path('13.03.sce')
//filename=pathname+filesep()+'13.03-data.sci'
//exec(filename)
//Pressure of steam entering(in bar):
p1=12
//Pressure at exit(in bar):
p2=6
//Mass flow rate(in kg/s):
m1=5
m2=m1
m3=m1
//Exit velocity(in m/s):
C3a=500
//From steam tables:
h1=3045.8 //kJ/kg
h... |
c20fe3adc1085fcffd618d77c291177409d377f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.2/EX3_2.sce | 7a1a4b051837ea75df1082fc3fdd35e392084522 | [] | 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 | 851 | sce | EX3_2.sce | //EXAMPLE 2-32 PG NO 173
Vp=400; //Peak voltage
VL=400;
Z=8-%i*10; //Impedance
Ip=VL/12.81;
IL=sqrt(3)*Ip;
S=sqrt(3)*VL*IL;
P=S*cos(-51.34);
Q=S*sin(-51.34);
Vab=Vp+%i*0;
Vbc=-200-%i*346.410;
Vca=-200+%i*346;
Iab=Vab/Z;
Ibc=Vbc/Z;
Ica=Vca/Z;
Ia=Iab-Ibc;
Ib=Ibc-Iab;
Ic=Ica-Ibc;
di... |
1c0fc7ea6eae7aa68c3dd30e24929d0f22eae201 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.4/Ex11_4.sce | a1ac89fa9c4a498aad56a97820f656ab7a090f04 | [] | 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,656 | sce | Ex11_4.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 11.4\n\n\n");
// Chapter 11 : Heat Transfer
// Problem 11.4 (page no. 558)
// Solution
//For Brick,
deltaX=6/12; //6 inch = 6/12 feet //deltaX=length //unit:ft
A=1; //area //unit:ft^2
k=0.40; //Unit:Btu/(hr*ft*F) //k=proportionality constant //k=the... |
02ca4a9d0cd2d48f6dbe5587fe0f95a2deb57c1c | ab89c2161afc0845367b8e25f534e4f99bd36759 | /LAB3/ex3.sce | 3436b7c7260ac3bafd7c3378750d44b90fb3e7c5 | [] | no_license | PhiTruongCE/Digital_Signal_Processing | 22446ebfa65765d1dfcd2c420e05c83dc861ec15 | bacaf762f31a333a641ac48f6b5cc18f120c65be | refs/heads/main | 2023-06-04T03:38:36.140107 | 2021-06-17T04:04:49 | 2021-06-17T04:04:49 | 377,699,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | ex3.sce | clc;
clf;
clear all;
n=-1:3;
x1=[0,0,1,3,-2];
x2=[0,1,2,3,0];
y=x1+x2;
a=gca();
a.x_location='origin';
b=gca();
b.y_location='origin';
plot2d3(n,y,10);
title('y(n)');
xlabel('n');
ylabel('y(n)');
|
ce8b99043b3dd93183e569e1254069c7d76f7f05 | 717ddeb7e700373742c617a95e25a2376565112c | /40/CH8/EX8.6/Exa_8_6.sce | be5c3cbb94fdf30b03a0e49fc165da131a115fec | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 426 | sce | Exa_8_6.sce | //Signal and spectrum replication
xn=[2 3 2 1];
XDFT=dft(xn,-1)
yn=[xn xn xn];
YDFT=dft(yn,-1)
YDFT1=3*[XDFT(1:1/3:length(XDFT))];
for i=2:3
YDFT1(i:3:length(YDFT1))=0;
end
YDFT1(12:-1:11)=0;
disp(YDFT1,'the DFT of x[n/3] is');
hn=[xn(1:1/3:length(xn))]
for i=2:3
hn(i:3:length(hn))=0;
end
hn(12:-... |
8f0722fc52c3fc8592df35600328361266ae407b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH12/EX12.3/Ex12_3.sce | 0dff24b4fc35e50cd927236efbb22c7198a506df | [] | 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 | 429 | sce | Ex12_3.sce | //Defining Matrices
t=[0 1 2 3 4 5 10] //s
//Displacement matrix
s=[8*t^2+2*t] //m
//Velocity Matrix
v=[16*t+2] //m/s
//Acceleration Matrix
a=16 //m/s^2
//Plotting the curves
//S-T curve
subplot(221)
plot(t,s)
xlabel('t(s)')
ylabel('s(m)')
subplot(222)
plot(t,v)
xlabel('t(s)')
ylabel('v(m/s)')
subplot... |
2014fef819ca1db92da9751fdeea01fcd73fe560 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_0/masa.sce | b451117b76b78f6934d9fde2a72a746580361145 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 64 | sce | masa.sce | function masa = a(y,t)
masa = 7 - (8*y)/(100-t)
endfunction
|
3dacc7f6b2a6f79d59c87c0a7fdc00f3d3314b4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH12/EX12.2/12_2.sce | 3bc3c81b686512a30f9679259d8c1e85498807ce | [] | 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 | 422 | sce | 12_2.sce | clc
//initialisation of variables
clear
p1= 50 //atm
p2= 100 //atm
p3= 200 //atm
p4= 400 //atm
r1= 0.98
r2= 0.97
r3= 0.98
r4= 1.07
//CALCULATIONS
f1= p1*r1
f2= p2*r1
f3= p3*r3
f4= p4*r4
//RESULTS
printf ('fugacity of nitrogen gas = %.f atm',f1)
printf ('\n fugacity of nitrogen gas = %.f atm',f2)
prin... |
83c66166974ae9ac32c8dd8cd8c73a250edcbc2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH22/EX22.25/22_25.sce | 32291a6c44fcaa4f5c0f261be7cc62efbf56c18e | [] | 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 | 309 | sce | 22_25.sce | //Chapter 22, Problem 25
clc;
V=250; //supply voltage
I=40; //current
Ra=0.15; //armature resistance
Rf=0.05; //field resistance
n=(((V*I)-(2*I^2*(Ra+Rf)))/(V*I))*100; //overall efficiency
printf("Efficiency = %.1f percent",n);
|
a4a0b567c685e5915770c90f3e1f067cf8d9768b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH9/EX9.32/Ex9_32.sce | bde0c0ef8252677e38719c6febb0d96e800b9228 | [] | 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 | 564 | sce | Ex9_32.sce | // Calculating the minimum number of poles
clc;
disp('Example 9.32, Page No. = 9.92')
// Given Data
P = 1200;// Power rating (in kW)
Ec = 15;// Average voltage between commutator segments (in Volts)
ATa = 10000;// Armature mmf per pole
// Calculation of the minimum number of poles
a = P*10^(3)/(ATa*Ec);// Minim... |
f826412541be091d29cd27b59e3554c3b8a7c0d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH8/EX8.5b/Exa_8_5b.sce | 0c97e81c75a50b9c5c06f261853c7a7306bead77 | [] | 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 | 835 | sce | Exa_8_5b.sce | //b1)modulation
XDFT=[4 -2*%i 0 2*%i];
xn=dft(XDFT,1)
for i=1:length(xn)
zn(i)=xn(i)*%e^((%i*%pi*(i-1))/2);
end
disp(zn,'The IDFT of XDFT[k-1] is');
ZDFT=[2*%i 4 -2*%i 0];
zn1=dft(ZDFT,1)
//b2)periodic convolution
HDFT=(convol(XDFT,XDFT))
HDFT=[HDFT,zeros(8:12)];
HDFT=[HDFT(1:4);HDFT(5:8);HDFT(9:12)];
HDFT1=[0 0 0 ... |
c3ad4d718b868da10d9d2703c13d3c621f48f836 | 4038e640183a33a5edcfa99a2f4dcfe5153a500e | /Guass_with_start.sce | 32178fe969eac18a860210367a21743b75819f9c | [] | no_license | BrenoPeixotobr/scilabcodes | 2da4518cb6449942e39fae5b3319ed99ea226c43 | 213bdae495fc97ff24b7625a2be30449798e5e4d | refs/heads/master | 2020-07-11T12:43:20.753002 | 2019-09-17T14:58:34 | 2019-09-17T14:58:34 | 204,541,979 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | Guass_with_start.sce | /* refinamento de solução
r = b -Ax
uma solução aproximada
X¹=X⁰+xC⁰
Ax¹=b
A(X⁰+C⁰)=b
*/
function [x,residuo] = Gauss(A,b)
[m,n] = size(A);
b1=b;
A1=A;
for k = 1:n-1
for i = k+1:n
mult = A(k,k)/A(i,k);
b(i)=b(k)-mult*b(i);
A(i,k:n) = A(k,k:n)-mult*A(i,k:n);
end
end
// retrosubstituicao... |
b5da0dfab8cc4e391d8d808ffbb83b4ff5abffa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH14/EX14.8/Example14_8.sce | 0de6389219c5ac09d2b63ca348fe3bc5dd67fe32 | [] | 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 | 610 | sce | Example14_8.sce | //Example 14.8
//Program to calculate the ratio in dB of back scattered optical
//power to the forward optical power at the fiber input
clear;
clc ;
close ;
//Given data
NA=0.2; //NUMERICAL APERTURE
gamma_r=0.7*10^-3; //per m - RAYLEIGH SCATTERING COEFFICIENT
Wo=50*10^(-9); //s - PULSE DURA... |
894c272fabed0bb4c067453d43761f38f38101fc | d627d1d5236a46b4791d0486d60e7c1a74602d56 | /docker/planners/symba-2/src/search/cudd-2.5.0/nanotrav/s27.tst | d69cdbf96e742428c55ed32d785d38afd0c85368 | [] | no_license | racinmat/PDDL-docker | caebde3ab174c110771c15a5ec65cd8986d3a3d3 | 4b53d44ea52f50bf87c194cd799e8fcfd4da0666 | refs/heads/master | 2021-01-17T22:21:01.284588 | 2020-01-27T23:21:10 | 2020-01-27T23:21:10 | 84,191,113 | 5 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,918 | tst | s27.tst | # Nanotrav Version #0.12, Release date 2003/12/31
# ./nanotrav -p 1 -trav s27.blif
# CUDD Version 2.5.0
Order before final reordering
G0 G1 G2 G3 G5 G6 G7
Number of inputs = 7
Building transition relation. Time = 0.00 sec
@@@
Transition relation: 1 parts 3 latches 9 nodes
Traversing. Time = 0.00 sec
S0: 4 nodes 1 leav... |
33beeb340d2c9deb19a4aa07967f68a3e6327b77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /695/CH1/EX1.10/ex1_10.txt | 40205ea3f939d77113310ee8f684c564c9541ce5 | [] | 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 | 310 | txt | ex1_10.txt | //Caption:Find the average value of emf induced in the coil
//Exa:1.10
clc;
clear;
close;
N=1000;//No.of turns
Phy_1=2000*10^-6;//In Webers
//On reversal of current
Phy_2=2000*10^-6;//In Webers
t=0.2;//in seconds
e=N*(Phy_1-(-Phy_2))/t;
disp(e,'Average value of emf induced in the coil (in volts)=') |
92abc2f05b54ee789d2988dec806b82c2053b3d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH6/EX6.8/6_8.sce | 3ceb16a501ff0c0b23d29f72c643ce72ea582c17 | [] | 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 | 146 | sce | 6_8.sce | clc
//initialisations
e=4*10^-3//erg
p=1*13.6*981
//calculations
kt=2*e/3//erg
n=p/kt
//results
printf(' number of molecules = % 1f',kt)
|
30fd85f18f616065acca29365ab7e27517e5dd59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH10/EX10.11/Example_11.sce | 3577f29b4d4e85e652879094a784a1e09253a4e7 | [] | 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 | 265 | sce | Example_11.sce | //Chapter-10,Example 11,Page 255
clc();
close();
E_cell = 0.123
E_calomel = 0.2415
E_Q = 0.6990
//E_Q/H2Q = E_Q - 0.0592 *pH
//E_cell= E_Q/H2Q - E_calomel
pH = (E_cell + E_calomel - E_Q)/(-0.0592)
printf('the pH of solution is pH = %.2f',pH)
|
568ce8671c444c558f94af41878fed7dd1c49527 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH6/EX6.9/6_9.sce | 023ce2e7f197e372ffbfa0b1e500ffb689976d4f | [] | 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 | 107 | sce | 6_9.sce | clear all; clc;
disp("Ex 6_9")
disp("THe free body diagrams are shown in figures 6-21b, 6-21c and 6-21d")
|
84f2af829999c9b2ac86bccfcd2d44204bba60e8 | 5c94cf84436ff620c517792d888ff3ff8e02e08c | /polar.sce | 4683fea80dc38af730b6f524fd09f0ae57419e15 | [] | no_license | paulomarcondes/COVplot | 8d8287511f73b919619b7f132b2460e33d385402 | 91496810202761606a4cf486069367db19ca6152 | refs/heads/master | 2016-09-06T20:04:19.905597 | 2015-07-01T01:39:51 | 2015-07-01T01:39:51 | 38,181,630 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sce | polar.sce | rho=1:0.1:4;theta=(0:0.02:1)*2*%pi;
z=30+round(theta'*(1+rho^2));
f=gcf();
f.color_map= hotcolormap(128);
clf();graypolarplot(theta,rho,z)
|
edb85ed3972671dc9f2aede2c0a9b7833167ddfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH18/EX18.8/Ex18_8.sce | 499697759d020bdfca78a65ecc1f5e02c655fc1d | [] | 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 | 594 | sce | Ex18_8.sce | // Example 18_8
clc;funcprot(0);
// Given data
m=3.50;// kg
T_1=20.0+273.15;// K
p_1=0.101325;// MPa
p_2=10.0;// MPa
R_u=8.3143;// kJ/kg.K
W_12=-100;// kJ
// Calculation
// (a)
M_krypton=83.80;
R_krypton=R_u/M_krypton;// kJ/kg.K
Q_12=0;// kJ
T_2=T_1-((W_12/(3*m*R_krypton/2)));// K
// (b)
S_p12=m*R_kry... |
7598bf163edd1bf1ace6a390a3c69961794d2462 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH6/EX6.11/6_11.sce | be01c692e34c64f346e550bc9f6dfae0c7e7676a | [] | 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 | 6_11.sce | clc;
V=0.3;//m^3
vg=4.133;//m^3/kg
m=V/vg;
disp("mass of water injected:");
disp("kg",m)
//part B
pa=0.7;//bar
pg=0.3855;//bar
v=0.001026;
ms=(V-[pa*v])/[vg-v];
mw=pa-ms;
V_d=ms*vg
pa2=pa*V/V_d;
disp("total pressure is:");
disp("bar",pa2+pg);
|
822bec2ff47d897afa7c44890f5dad7460661aaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH1/EX1.4/1_4.sce | 0d972a4704d33177e5b9828163025767abb60941 | [] | 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 | 500 | sce | 1_4.sce | //Chapter 1, Example 1.4
clc
n=105 //no of coil turns
a=8*10^-5 //cross sectional area in metre square
ur=230 //relative permeability
uo=4*%pi*10^-7 //permeability of air
Erms=10*10^-6 //electric field stre... |
af6a3ccaa1484034a6a5934129ca1fa985e8977a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH13/EX13.5/Chapter13_example5.sce | d7fb4906dbefc621c1289544ae4eb62bf4a11c49 | [] | 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 | 377 | sce | Chapter13_example5.sce | clc
clear
//Input data
R=5000//Resistance in ohms
L=2//Inductance in H
Vrms=200//rms Voltage in V
f=50//Frequency in Hz
//Calculations
Xl=(2*3.14*f*L)//Inductive reactance in ohms
Z=sqrt(R^2+Xl^2)//Impedence in ohms
Vl=(Vrms*Xl)/Z//rms potential difference across the inductor in V
//Output
printf('rms p... |
4f5cadf8b9596c375cec44f1cfb9d2dc2fec3b3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH13/EX13.1/Ex13_1.sce | 13834aa73949833b2936620b6390267225f77b4d | [] | 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 | 765 | sce | Ex13_1.sce | clc;clear;
//Example 13.1
//given data
mO2=3;
mN2=5;
mCH4=12;
//molecular masses
MO2=32;
MN2=28;
MCH4=16;
//constants used
Ru=8.314;//in kJ/kg - K
//calculations
//part - a
mm=mO2+mN2+mCH4;
mfO2=mO2/mm;
mfN2=mN2/mm;
mfCH4=mCH4/mm;
disp(mfO2,'mass fraction of oxygen is');
disp(mfN2,'mass frac... |
89161d2d4cf65cb285560954a0d7ad8484dcd354 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH9/EX9.6/exp9_6.sce | c48db4719235b40481762da7078bdf2570bd7661 | [] | 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 | 384 | sce | exp9_6.sce | clear
clc
disp("example 9.6")
pp=235
pe=0.33
lf=1
teo=pp*8760*3600*10^6
ei=teo/pe
nfr=3.1*10^10//fessions required
tnfr=nfr*ei
t1gu=2.563*10^21 //total uranium atoms in 1 grm
fure=tnfr/t1gu
printf("total energy input %eWatt sec \n energy input is %eWatt-sec\n total number of fissions required is %efissions ... |
00f59101c1eabee2d3bd11e554782e3a1c9a7772 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH8/EX8.12/Ex8_12.sce | cc6102f92c932af21ac5ed44a3b94c1bf642698b | [] | 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 | 173 | sce | Ex8_12.sce | clc;
//e.g 8.12
alpha=0.98;
Ico=5*10**-6;
Ib=100*10**-6;
Ic=((alpha*Ib)/(1-alpha))+(Ico/(1-alpha));
disp('mA',Ic*10**3,"Ic=");
Ie=Ib+Ic;
disp('mA',Ie*10**3,"Ie=");
|
b3b6ce364c6f7182ea59ebb09c768191bcd36563 | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH9/EX9.2/example9_2.sce | a1414ca898f87f4c86072d06f85a3f418238d507 | [] | 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 | 587 | sce | example9_2.sce | // To find minimum detectable signal
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 9-2 in Page 277
clear; clc; close;
// Given data
NF = 20; //Noise figure... |
15f0980c61459153cef1bad3638d10229545187d | e9e370052f7ecbe6a5e198a1432f6424815f9a68 | /Demo/Tests/Scripting.tst | cb2d304ca846e322003e6f5fb273372736a50925 | [] | no_license | willcademo/devtest | e766df0df0a30f89dd85da93057bf14cea7e382f | c4be35f52210d727fdbafabaa4c6c69aa7e07ced | refs/heads/master | 2020-03-23T22:42:19.895576 | 2018-07-26T00:26:37 | 2018-07-26T00:26:37 | 142,192,866 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,963 | tst | Scripting.tst | <?xml version="1.0" encoding="UTF-8"?>
<TestCase name="Scripting" version="5">
<meta>
<create author="admin" buildNumber="10.1.0.283" date="07/23/2018" host="truwi01mac1448" version="10.1.0"/>
<lastEdited author="admin" buildNumber="10.1.0.283" date="07/23/2018" host="truwi01mac1448" version="10.1.0"/>
</meta>
... |
e36f16a77a8170c53cd1148bd6854a555bd6ad3a | a89d5fe13e368f75763c9bfdaa34356f448ac48f | /BE SEM 7 Exp/DSP/EXP2/exp2.sce | bac107982a4715a490857fdeeb86a7c9789c4921 | [] | no_license | oldcompilerharris/Practice | 6954f5d69f3008d3f520ab329a7bb60d4a7da4b7 | 2752358aa7e46430bfd5355c90bf7320ef277b55 | refs/heads/master | 2021-07-04T05:52:05.504582 | 2017-09-24T12:01:38 | 2017-09-24T12:01:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,474 | sce | exp2.sce | // This GUI file is generated by guibuilder version 3.0
//////////
f=figure('figure_position',[400,50],'figure_size',[646,506],'auto_resize','on','background',[33],'figure_name','Graphic window number %d');
//////////
delmenu(f.figure_id,gettext('File'))
delmenu(f.figure_id,gettext('?'))
delmenu(f.figure_id,gettext('To... |
a25029bd10da1eca5e4502793311617d37882735 | b73e9d989ebb6c74535238e10eede063a5d7e66b | /assignment1_part4b.sce | c8f27703c5a13b5e22345a0850dc075c496cf87f | [] | no_license | ParthaSurve/CODES_SEM_VI | 930a520ccdbc7cb389dac6b6f03900674b5e1a6b | 1f6afa9b92ad8263d0773ce0f90f9ffa5943b8e4 | refs/heads/master | 2021-01-21T05:13:44.089655 | 2017-02-25T17:46:44 | 2017-02-25T17:46:44 | 83,149,933 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,598 | sce | assignment1_part4b.sce | // Assigment 1 Computational Methods for compressible flow
//--------------------------------------------------------//
// January 27-01-2017
// Steady state time for Implicit Backward Time Central Space scheme (BTSC) for solving PDEs
// Author: Partha Surve (SC14B036, Aerospace Engineering 3rd year, IIST)
clc;
clear;... |
db20882eabe2e650acf34ac3baecc4586a495f65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH7/EX7.10/ex7_10.sce | b458e45e9cb9a0ea6de94a3920ae0bba47e6bbb4 | [] | 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 | 466 | sce | ex7_10.sce | // Exa 7.10
format('v',7);clc;clear;close;
// Given data
Vd = 4;// vertical division
Va = 0.5;//Vertical attenuation in V/Div
App = Vd*Va;//peak to peak amplitude in V
disp(App ,"The peak to peak amplitude of the signal in V is");
TimebyDiv = 2;//time per division in µs/Div
Hd = 4;// horizontal division
Time =... |
8ee3b2f5d6a01c7e6e1be461f669a02345b59f25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH3/EX3.4/EX3_4.sce | 121ef04b88e07bf844d35ee0e6724505989651e1 | [] | 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 | 475 | sce | EX3_4.sce | clc;funcprot(0);//EXAMPLE 3.4
// Initialisation of Variables
eta=1/6;...................//Efficiency of the engine
rts=70;.................//The amount of temp which is reduced in the sink in C
//Calculation
t1byt2=1/(1-eta);
t2=(rts+273)/((2*eta*t1byt2)-t1byt2+1);............//Temperature of the sink in K
disp(... |
91fa60878ade71b36e5440a0fe4596971a0bb7ad | ed1c05f846a64e6a8308394b3f3a4edbf4801a04 | /raytracer/scenes/cube/cube.sce | c615401676606e1fd5d0d22323fc18cc545ec27d | [] | no_license | Gorzen/Computer-Graphics-2019 | e56b85314fa7b4782041977480e4d7b01a854a6c | c17a640342414402a6efe8859cfc9e3aa042960b | refs/heads/master | 2020-04-24T09:39:56.561728 | 2019-05-30T11:41:20 | 2019-05-30T11:41:20 | 171,869,278 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | cube.sce | # camera: eye, center, up, fovy, width, height
camera 5 2 5 0 0 0 0 1 0 45 500 500
# recursion depth
depth 1
# background color
background 1 1 1
# global ambient light
ambience 0.2 0.2 0.2
# light: position and color
light -1 10 -1 1.0 0.2 0.2
light 10 0 5 0.2 0.2 1.0
# mesh: filename, F... |
05a226c76f5c7a086c4fe4a036c3e70c45012260 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096.zip/Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096/CH5/EX5.1/ex_5_1.sce | ea819c14353845076c2cbf387f07a44741f98b30 | [] | 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 | 180 | sce | ex_5_1.sce | errcatch(-1,"stop");mode(2);//Example 5.1 // frequency
;
;
//given data :
N=45; // count
t=10; // gate period in ms
f=(N/(t*10^-3))*10^-3;
disp(f,"frequency,f(k-Hz) = ")
exit();
|
3dcf0f15cf7f31e0dbaf497fd0824117bc2045f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH6/EX6.5/example5.sce | b9a8bc8d6e0c0fe7ac793a1458362e6cfeedd335 | [] | 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 | 847 | sce | example5.sce | // find Ib,Ic,Vce,Pd
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 6-5, page 201
clear;clc; close;
// Given data
Rc=2*10^3;// resistance in ohms
Bdc=300;// current gain
Vbb=10;// base source voltage in volts
Vbe=0.7;// emitter diode in volts
Rb=... |
f22116257eb71cdc07cbe32f4b64ad9eae64cf2d | f1275bcc58e973ff76ca7292f9105d658455170c | /scilab/rei5-3.sce | cff816b479f7aeb1c8088471c7162e9dcc26455c | [] | no_license | MasahiroAraki/SpeechRecognition | 5987f03ea4629e56c88851321cff60847ec9feb7 | d095897fb77f1051396c72d2c6454e9589b5bc4a | refs/heads/master | 2023-08-31T01:26:01.624052 | 2023-08-16T23:23:08 | 2023-08-16T23:23:08 | 212,271,685 | 17 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 631 | sce | rei5-3.sce | clear;
X = [1.0 0.5 -0.2 -0.4 -1.3 -2.0]'; // 学習データ
y = [1 1 0 1 0 0]'; // 教師信号
[n d] = size(X);
X = [ones(n,1), X]; // x_0 軸を追加
eps = 1e-8; // 終了判定の閾値
differ = %inf; // 二乗誤差の変化量
olderr = %inf; // 前回の二乗誤差
w = [0.2 0.3]'; // 初期重み
rho = 0.2; // 学習係数
while differ > eps
w = w - rho * sum(X .* repmat((X * w - y), [1,2... |
7c270c444371e4c4fc3c4710fe50aa42fb9d4042 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/elem/coth.sci | 507c15e34d5d8a840d642c06ecf6ee7b68515f06 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 158 | sci | coth.sci | function t=coth(x)
//Syntax : t=coth(x)
//
// hyperbolic co-tangent of x
//!
if type(x)<>1 then error(53),end
t=exp(x);
t=(t-ones(x)./t).\(t+ones(x)./t)
|
be42e7e2b489b66b70f70038ceda013b4d816a13 | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/projectPoints.sci | ce4d3d6ff9b38c987faf7241b8d9467262adf127 | [] | 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 | 1,310 | sci | projectPoints.sci | function [newpoints] = projectPoints(worldPoints, rvect, tvect,camMat, disCoefMat)
// Returns the ideal point coordinates from the observed point coordinates
//
// Calling Sequence
// [idealPoints] = distortPoints(observedPoints, camMat, disCoefMat,alpha)
//
// Parameters
// observedPoints: 1xN or Nx1 2-channel (CV_3... |
327d0303e08336880057eb4552b3347293dc532a | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/step(p,pi,pid).sce | e275d360cc78fd562427463f5dede40b80476736 | [] | 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 | UTF-8 | Scilab | false | false | 590 | sce | step(p,pi,pid).sce | s = %s;
t = 0:0.01:15;
L = 0.5;
G0 = 1/((s+1)*(s+4));
DelayN = 1-(L/2)*s+(1/10)*(L*s)^2-(1/120)*(L*s)^3;
DelayD = 1+(L/2)*s+(1/10)*(L*s)^2+(1/120)*(L*s)^3;
Delay = DelayN/DelayD;
G = Delay*G0;
Le = 0.6;Re = 1.56;
Cp = 1/(Re*Le);
Tcp = G*Cp/(1+G*Cp);
sysp = syslin('c',Tcp);
yp = csim("step",t,sysp);
Cpi = 0.9/(Re*Le)*(1... |
6bc6f74101df0d3369a2bbf08edba459f833a35d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153.zip/Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153/CH5/EX5.7/ex_5_7.sce | e3dbe95139e88446806874fdd64974b7b0cfb571 | [] | 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 | 241 | sce | ex_5_7.sce | errcatch(-1,"stop");mode(2);// Example 5.7: mobility of electrons
,
// given :
format('v',8)
e=1.602*10^-19; // in C
m=9.1*10^-31; // in kg
t=10^-14; // time in sec
mu=(e*t)/m;
disp(mu,"mobility of electrons,mu(m^2/volts.sec) = ")
exit();
|
167f0ed5134816b80a65e6ce465729104ead2ee5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH6/EX6.5/example6_5.sce | 6cc18f4ef194b34acfbfc817ff48f549a9a4b2dd | [] | 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 | 842 | sce | example6_5.sce | // To find the self capacitance
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 6-5 in Page 162
clear; clc; close;
// Given data
// Values of frequencies in ... |
0b0284d898279a2654286994680bc7cfd2ec3ebf | 76cd50cd5e5d8e4afa2af9b79740e2cff65ab2c8 | /gauss_jordan_exp6.sce | 3a2c5ad037dcc5c27a2a6e424df8ba128f0869ba | [] | no_license | ankitparekh21698/Numerical-Techniques-Lab | 60de11c65db0be65acc14a055cb5b57ca3158e26 | c3ba81f085f22dab8a3f93e6f86ea956a886e410 | refs/heads/master | 2022-12-17T21:32:04.681008 | 2020-09-10T16:07:17 | 2020-09-10T16:07:17 | 280,810,961 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 938 | sce | gauss_jordan_exp6.sce | clc()
mat =[0,0,0,0;0,0,0,0;0,0,0,0];
for i=1:3
for j=1:4
mat(i,j) = input("Enter the (" +string(i)+" , "+string(j) +" ) element:");
end
end
disp("Entered matrix is :");
for i=1:3
disp("" + string(mat(i,1)) + " " + string(mat(i,2)) + " " + string(mat(i,3))+" "+string(mat(i,... |
178f781ad3b31935a068860abbd4a5a92cbe92df | abed134eb329d44a339af93997f34c76b7649173 | /P1Codes/Xnor.tst | 2e8944df48eb3b089e0b3717628ad34a610cca4e | [] | no_license | Patrickyyh/CSCE-312 | 8823df9f53d378b96c8018064da3823faef95ce3 | b9ba0fd8592ce5d91d1689219ff48d638a66aee0 | refs/heads/master | 2023-05-03T18:46:15.689810 | 2021-05-22T06:02:17 | 2021-05-22T06:02:17 | 369,727,875 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | tst | Xnor.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/01/Xnor.tst
load Xnor.hdl,
output-file Xnor.out,
compare-to Xnor.cmp,
output-list a%B3.1.3 b%B3.1.3 out%B3.1.3;
// example tst command given
set a 0,
set b 0,
eva... |
b4f4d6785e4867f37e82ec9867fe3ed209c43791 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH10/EX10.1.4/example10_4.sce | 5cf847dbb7ddfc1ff17953cfe80b7d3cedd28bdc | [] | 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 | 730 | sce | example10_4.sce |
//example 10.4
clc; funcprot(0);
//exapple 10.4
// Initialization of Variable
rho=998;
w0=40;//density of slurry
mu=1.01/1000;
g=9.81;
rho1=2660;//density quartz
h=0.25;
t=18.5*60;
mp=[5 11.8 20.2 24.2 28.5 37.6 61.8];
d=[30.2 21.4 17.4 16.2 15.2 12.3 8.8]/1000000;
u=h/t;
d1=sqrt(18*mu*u/g/(rho1-rho))... |
82c2384d76fc5696e54b06bc15d7486cd14fc0de | fa11034f9ded2f7e35e68c4c578ab24bee926f36 | /MT/MT/test.tst | 9d93ad5b46f71dcdf388f5957d213b8277cbb046 | [] | no_license | padzikm/MT | aa3ee2ff442c6df474e5d9feb5abf8c9c949f83d | 015ab559b610d982b5c48cbca07889428058fe9d | refs/heads/master | 2021-01-16T21:18:38.679336 | 2014-11-30T23:43:53 | 2014-11-30T23:43:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | tst | test.tst | real a
real b
real c
real d
a=2
b=-3
c=-2
d=sqrt(b*b-4*a*c)
print (-b+d)/(2*a)
print (-b-d)/(2*a)
print Pi/4
bool aa
aa=false
int i
i=5
real x
x=7.5
bool bb
bb = i<=x
print aa
print bb
print aa==bb
int y
y=0
bb= i>10*x && aa==(x/y>-2)
print !bb
print 0090
exit
--------------
Prawidlowe wyniki
Result: 2r
Result: ... |
af04cacde9c15223f34133989c72c4c502107624 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /scilab/Calibration_Equity/interface.sci | a2f80800006afd9875dd1a7492828bc96b8c980c | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,498 | sci | interface.sci |
flag=1;
color=2;
while flag==1
l1=list('Calibration Method',1,[' PDE Dupire simulator', 'Monte Carlo Weighted', 'Stochastic Control', 'Markovian Calibration']);
rep1=x_choices('Methods Choice',list(l1));
if rep1==1 then
l2=list('OPTIONS',2,['PUT','CALL']);
callorput=x_choices('Options Choi... |
7c9f63b33735e7f916fbd0b6d04626792db7daf1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH9/EX9.17/Exa17.sce | 63b97695e9708257e152c57ae6971bf678f82f95 | [] | 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,745 | sce | Exa17.sce | //Exa 17
clc;
clear;
close;
// given data :
STs=1600;//in hours
STu=2400;//in hours
ATs=2500;//in hours
ATu=2500;//in hours
SRs=0.50;//in Rs/Hour
SRu=0.60;//in Rs/Hour
ARs=0.40;//in Rs/Hour
ARu=0.50;//in Rs/Hour
//Labour Cost variance
LCVs=(STs*SRs)-(ATs*ARs)
LCVu=(STu*SRu)-(ATu*ARu)
//Labour Efficiency... |
6228889a9e91cd2ac8ab88e1e48fe9d9a3c96eff | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/mtlb/mtlb_cumsum.sci | 7cd2bc960b9a87e3c1348164e42eefedeba0f9da | [
"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 | 153 | sci | mtlb_cumsum.sci | function r=mtlb_cumsum(a)
// Copyright INRIA
if type(a)==4 then a=bool2s(a);end
if size(a,1)==1|size(a,2)==1 then
r=cumsum(a)
else
r=cumsum(a,1)
end
|
60bdee33597d75109cd65534c281c4ea8795a080 | d60e8cf5de9384449a9b6a643bfe4c1d2339b1ae | /windows/nxt.sci | d7d63f8804093ee0b9ba81f820f0691a990b092b | [] | no_license | tizar/lego | 165ec2ac333bed642d96a33db77ab7d00ffbfba9 | 351c8824b3457f4735cf65ec4740d1c9fc89dd21 | refs/heads/master | 2016-09-08T05:06:23.607494 | 2011-03-03T10:46:31 | 2011-03-03T10:46:31 | 1,434,570 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,174 | sci | nxt.sci |
link('lego.dll',['nxtinit','nxtstop','getbatterylevel','playtone','playsoundfile','motor_setforward','motor_setreverse','motor_stop','motor_resetrotation','motor_getrotation'],'c')
//call('playtone',1,440,'i',2,1000,'i','out',[1,1],3,'i') ;
function status=nxt_init()
status=call('nxtinit',1,1,'i','out',[1,1],1... |
e03aaf6b4b3e4bf609c146dfbf8c5467da2e304d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH14/EX14.12/ex14_12.sce | bec785529a58684f22c801e24fd14f83233afa97 | [] | 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 | 908 | sce | ex14_12.sce | clc;
// the combustion equation
// n1C3H8+n2O2+n3 N2 → n4 CO2+ n5 H2O+n6 O2+n7 N2
T0=298; // Temperature of surroundings in kelvin
// (a).Product species at 25 oC and 1 atm
d_gfC3H8=-24290; d_gfCO2=-394359; d_gfH2O=-228570; // in kJ/kmol
GR=d_gfC3H8;
GP=3*d_gfCO2+4*d_gfH2O;
Wmax=GR-GP; // Maximum possible work ... |
d5a3d434b2efdabeaa235038700edef4dfc0f2cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH10/EX10.6/10_6.sce | c97cef0de7d1def6797f884db8b2e72371230c6a | [] | 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 | 946 | sce | 10_6.sce | clear//
//Variables
l = 0.2 * 10**-3 //length (in meter)
A = 0.04 * 10**-6 //Area of cross section (in square-meter)
V = 1 //Voltage (in volts)
I = 8 * 10**-3 //current (in Ampere)
un = 0.13 //mob... |
7d5aaffa87698abe3609ded8ad06c5c03dd5e001 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH14/EX14.9/14_9.sce | 6bc167ce6e9ebe03440ec06019301c02324075aa | [] | 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 | 198 | sce | 14_9.sce | clc
//initialisation of variables
E0= 0.0140 //volt
n= 2
r= 2
V= 96500 //coloumbs
//CALCULATIONS
E= E0-0.0576*log10(n)
G= -n*V*E/4.1840
//RESULTS
printf ('gibbs free energy = %.f cal',G)
|
6a9f9bcd0f175de2ff2040f6ed2b022df18b009a | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH13/EX13.12.b/13_12_soln.sce | 1d484ffab1203e2a0d8bf141b76d396df7a2772b | [] | 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 | 579 | sce | 13_12_soln.sce | clc;
pathname=get_absolute_file_path('13_12_soln.sce')
filename=pathname+filesep()+'13_12_data.sci'
exec(filename)
// Solution:
// atmospheric temperature in deg Rankine,
T1=T1+460; //deg R
// temperature of air in deg Rankine in pneumatic cylinder,
T2=T2+460; //deg R
// absolute pneumatic cylinder pressure,
p2=p2+14.... |
e8ef6191053f6971a86274ac54f404791c9b6b8b | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/cpse.instr.tst | a790dbd07732052c2cf7e08469a0d6f7449d0e74 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,622 | tst | cpse.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000080 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x000000b4 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x00 0x10 cpse r0, r0
0x2: 0x10 0x10 cps... |
6346ef995252b3d85b67d5f406e9eabacb186e2a | 80e9b7e2c503a7a3287b23b40bfcace1181ebf7f | /Emotional-contagion-wave-1/FMOV.sce | 7e7bf447dcee100112ffb24bec2a37371f5aa0a6 | [
"MIT"
] | permissive | GNilsonne/Stimulus-presentation-code-Oxazepam-and-emotion | fc339e60846adad70ac27c97dd51023ada77b980 | f53ff90084f192fdae47c7a909063e0ac38fec16 | refs/heads/master | 2020-05-20T05:22:49.851254 | 2015-07-21T14:54:33 | 2015-07-21T14:54:33 | 28,912,550 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,717 | sce | FMOV.sce | #define your files
scenario = "FMOV";
pcl_file = "FMOV.pcl";
#standard settings
scenario_type = trials;
response_logging = log_active; #log only if response is expected
response_matching = simple_matching;
active_buttons = 5;
button_codes = 1,2,3,4,5;
default_output_port = 1; #parallel port
response_port... |
7275bc017409eb12607e1c62dd2b8fedda8d5cef | 93c7fb5ee09b14b93d6c6a5a99d15e57555802be | /pushswap42/scripts/docker_file/test_500/test12.tst | 010c2e3d3b375d26d606c461b2e1f3823d7001ce | [] | no_license | ach5910/42PushSwap.com | b1cd724453b20296e39c18e5d576bdfb6290f7da | bfa2755c1cb84c7d72a4858c77193743a5583a1a | refs/heads/master | 2020-04-05T12:35:36.043271 | 2017-07-26T06:33:40 | 2017-07-26T06:33:40 | 95,174,903 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,896 | tst | test12.tst | 14661 1371 15184 45640 35857 28813 43785 24347 48214 13059 9989 44636 9986 3140 34909 22898 2066 4333 38585 43254 41059 27113 37529 31731 49917 47273 1359 9368 46398 35854 24834 14680 40047 16513 24327 29457 21965 17405 18484 48618 44885 44710 44677 2576 7851 43615 36600 10339 6640 31231 44901 25808 25848 37547 37015 4... |
dfe595ff5a5ffcba32c7a4f707e24b5d61bdd9fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH5/EX5.7/Example7.sce | cce0b8443e872fb5c4ec42bc464414bb90883849 | [] | 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 | 3,150 | sce | Example7.sce | clear
flag=1
clc
mode(-1)
printf("Example 7 : Show the method of file handling using the od command \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
printf("\nHere all instructions are preloaded in the form of a dem... |
8cde4d6acbba16c7f7e8213155032b3338044496 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH2/EX2.7/example2_7.sce | 0b91f4a49de72668052a3847cd5d05aeaeaa696f | [] | 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 | 285 | sce | example2_7.sce | disp("Part a");
d=0.064*2.54/100;
a=%pi*(d^2)/4;
i=15;
q=1.6*10^(-19);
n=8.85*10^28;
v=i/(a*q*n);
disp("the drift velocity of an individual electron (in m/s) is"); disp(v);
disp("Part b");
t=60;
d=v*t*100/2.54;
disp("the distance an electron moves (in inches) is"); disp(d); |
d5912a64a8552c1617928e046dfbb23f302b64a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH8/EX8.1/Example8_1.sce | 8f27ab20c24c9f23355388ee621654589fa6b6db | [] | 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 | Example8_1.sce | //clear//
//Caption:Program to calculate the Total Optical Power loss
//Example8.1
//page 287
clear;
clc;
close;
system_margin = 6; //in dB
alpha = 3.5; //attenuation in dB/Km
L =6; // Length of transmission path in Km
lc = 1; //connector loss in dB
PT = 2*lc+alpha*L+system_margin;
disp(PT,'The total optica... |
5ebcf7d5215f8da56df7b41c0d35ab4a9befab37 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Romance/xno.tst | 3e7fb48b1f31375292a78fbda225ea2904bae9a2 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,338 | tst | xno.tst | adouochi V;PFV;IND;SG;1;PST
adouochi V;IND;SG;2;PRS
adouochi V;IPFV;SBJV;PL;3;PST;LGSPEC1
adouochi V;IND;SG;3;PRS
adouochi V;PFV;IND;PL;1;PST
adouochi V;SBJV;PL;1;PRS
adouochi V;IMP;SG;2;POS
adouochi V;IPFV;SBJV;PL;2;PST
adouochi V;IND;PL;1;FUT
adouochi V;COND;PL;3
adouochi V;PFV;IND;PL;2;PST
adouochi V;IND;PL;1;PRS
ad... |
7256cca5fc7151d13e25a5baf5d189f1ffddf2ff | 0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8 | /klava/kernel/ntreelib/tests/002_join.tst | 1cbe2a11caefbbd4fc691840dc76013db98ee237 | [] | no_license | seth1002/antivirus-1 | 9dfbadc68e16e51f141ac8b3bb283c1d25792572 | 3752a3b20e1a8390f0889f6192ee6b851e99e8a4 | refs/heads/master | 2020-07-15T00:30:19.131934 | 2016-07-21T13:59:11 | 2016-07-21T13:59:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,456 | tst | 002_join.tst | # test: long (hashed) nodes
#
create "test.td"
autocheck on
clear
printf test0.tmp norm
# 001 ------------------
add 1 "'long signature must be folded to hashed node'"
printf test1.tmp norm
printf test2.tmp norm
compare 002_join_001.txt norm
del "'long signature must be folded to hashed node'"
c... |
6e5a9149b377fd4be84da1fed1f71c822df2d876 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3375/CH7/EX7.4/Ex7_4.sce | a7cde5808382ba01af92ae2df6dfbdcf9aaa5dd5 | [] | 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 | 769 | sce | Ex7_4.sce | //Example 7.4
//Developed flow of water
//Page No. 431
clc;clear;close;
D=6; //in mm
D=D/100; //conversion to m
R=D/2;
Q=5*10^-3; //conversion to m^3/s
L=10; //in m
n=7; //no unit
rho=1000; //in kg/m^3
nu=1.02*10^-6; //in m^2/s
U_av=Q/(%pi*D^2/4);
... |
d6610612819764383ea238dee253431b6d9fa0c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH19/EX19.27/example27_sce.sce | 8f3aad99522ee266f95064b3ab727daa1ca98dd8 | [] | 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 | 291 | sce | example27_sce.sce | //chapter 19
//example 19.27
//page 883
printf("\n")
printf("given")
Rw=.1;f=1*10^6;Lp=19.5*10^-6;Rl=1.2*10^3;Vcc=30;Idc=12.3*10^-3;Vce=0.5;
Vp=Vcc-Vce;
Po=((Vp)^2) /(2*Rl);
QL=(2*3.14*f*Lp)/Rw
Qp=Rl/(2*3.14*f*Lp)
B=f/Qp
Il=(.707*Vp)/(2*3.14*f*Lp)
Pl=(Il)^2 *Rw
Pi=(Vcc*Idc)+Pl
n=(Po/Pi)*100 |
35df12037895fa4b78a4828ffd80036c15cbd605 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH7/EX7.6.2/Ch07Exa7_6_2.sci | 44c5b8bda04481f6e05c0e02a0534e24ed0aa74b | [] | 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 | 551 | sci | Ch07Exa7_6_2.sci | // Scilab code Exa7.6.2 : To calculate the amplitude of output voltage pulse for NaI(Tl) :P.no. 314 (2011)
e = 1.6e-019; // Charge of an electron, C
n = 4.2e+08; // Number of photoelectrons
C = 200e-012; // Capacitance, F
A = n*e/C; // Amplitude of output voltage pulse, V
printf("\n Amplitude of output voltage pul... |
0edbbbaf516be86fd8807a36ba3a8ee512f55a7b | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/LinearSimulate.sci | e77658715f4c9c2e9cf0c5695817b88e4711bb8b | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,748 | sci | LinearSimulate.sci | function [y,x]=LinearSimulate(u,dt,sl,x0,tol)
//Syntax:
// [y [,x]]=csim(u,dt,sl,[x0])
// simulation of the controlled linear system sl.
// sl is assumed to be a continuous-time system.
// u is the control and x0 the initial state.
//
//u can be:
// - a function
// [inputs]=u(t)
// - a list
// list(... |
005bed3db6b535facc1567745fa59712a2baa6fa | 31e4300165c63baae330532146643d9cf88ace38 | /scilab/promoter_search/helper_functions.sce | 956cd1995c772451442b660710b02330d8f15149 | [] | no_license | Laknath1996/Genomic-Signal-Processing | 8556ba2bced9a512cfdd338bfd30d6ddb85b45a1 | 5c9a0d75f7712ecae3fdd4d0a85df719e5774548 | refs/heads/master | 2020-05-23T09:04:38.309925 | 2019-06-22T16:22:59 | 2019-06-22T16:22:59 | 186,701,178 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 24,255 | sce | helper_functions.sce | // BM4321 Genomic Signal Processing
//
// Operations
// 1. Reading of a FASTA file
// 2. Extraction of coding and non-coding DNA
// 3. Reading of a GenBank Protein Table
// 4. Basic analysis of a coding and non-coding region
//
// Objectives
// 1. Familiarization with the coding regions of different organisms (Archaea,... |
24d621a7deef56fc73ba28c540bfe3769ce392ce | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Oblique Clicking 540 (Smaller).sce | 4f00ff266706dbb85f9c89422a1db569607c44ef | [] | 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 | 63,165 | sce | Oblique Clicking 540 (Smaller).sce | Name=Oblique Clicking 540 (Smaller)
PlayerCharacters=A_air_pistol_frozen;MovingTarget;StaticTarget
BotCharacters=StaticTarget.bot;MovingTarget.bot
IsChallenge=true
Timelimit=45.0
PlayerProfile=A_air_pistol_frozen
AddedBots=MovingTarget.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=boxerh... |
f62329934f4d166be51ed67a361ce076bd0962b8 | 94620d60dd2edf8965f79561e420da9b42ad6728 | /HW2.sce | a867385d5128fe0ce48d4cb2d05d72eedf19107e | [] | no_license | AIladin/ScilabKNU | 287cb9543e2666f62bef7d6219a0f3419a1689f5 | 820ad3732c3e8f8ace08578a8eb77d3c30554943 | refs/heads/master | 2021-09-09T15:37:40.611899 | 2017-10-01T14:42:43 | 2017-10-01T14:42:43 | 103,492,884 | 2 | 0 | null | 2018-03-17T15:23:23 | 2017-09-14T06:09:53 | Scilab | UTF-8 | Scilab | false | false | 1,272 | sce | HW2.sce | // Copyright (C) 2017 - - Ailadin
//
// Date of creation: 19.09.2017
//
clf();//очистка окна вывода от преведущих графиков
x=[-2:0.05:2];//присваивание координат х для функции у=(1+х**2)/(1+2*x**2)
y=0.5+(2+4*x^2)**(-1);//из за непонятных неполадок функцию пришлось преобразовать в у=0.5+1/(2+4*x^2)
//вместо деле... |
960e178b17a9f8470a477e664e1c280733e60e39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH5/EX5.7/Ch05Ex7.sce | f522782f9e39f0ff44458c6cf6196a7820c7c9c2 | [] | 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 | 612 | sce | Ch05Ex7.sce | // Scilab Code Ex5.7 :: Page-5.32 (2009)
clc;clear;
A = 235; // Atomic weight of uranium, gm/mol
N_A = 6.023e+026; // No. of atoms present in 235 kg of uranium-235
N = N_A*5/A; // No. of nuceli of uranium in 5 kg of U-235
E = N*200; // Energy released in the fission of 5 kg of U-235, MeV
t = 24*3600; // ... |
d8bc15432b14c3d0b4c35c92004b3d449fef74e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH17/EX17.8/Ex17_8.sce | df0be7751b0ab17ce676a6af15456a879b9fd864 | [] | 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 | 142 | sce | Ex17_8.sce | clear
//Given
ug=1.5
uw=1.33
//Calculation
u1=ug/uw
sinC=1/u1
C=asin(sinC)*180/3.14
//Result
printf("\n Critical angle is %0.2f degree",C)
|
0cb799ab6fc0ecc5d47b58e8ae6c2ece899d292d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH24/EX24.11/24_11.sce | dac9e9394b125048588d7d2b67df3e5cbdfcf301 | [] | 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,907 | sce | 24_11.sce | clear//
//Variables
VCC = 10.0 //Source voltage (in volts)
RC = 5.0 //Collector resistance (in kilo-ohm)
rE = 500 * 10**-3 //Emitter resistance (in kilo-ohm)
beta = 50.0 //Common emitter current gain
VBE = 0.... |
df6b92d8335b0b41fb138ffb98a2aff407f0838b | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter7/Ch_7_Eg_7.6.sce | a37e175a215d339ba9567cd0020a8cd55970c121 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 948 | sce | Ch_7_Eg_7.6.sce | // A program for interpolation using the Lagrange’s method.
// Input
// x and y = A set of data points
// xp= X value where interpolated value is required
// Output
// yp = The interpolated value at xp
function [yp]=ak_Lagrange_Int(x, y, xp)
n=length(x);
yp=0;
for k=1 : n
... |
49f60c2e4515bc642cacca5a7f2c0168b6390ad5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH7/EX7.2/ex7_2.sce | c60118e127bf2607dfba1f266e642f06f0eec97b | [] | 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 | 644 | sce | ex7_2.sce | // Exa 7.2
clc;
clear;
close;
format('v',6)
// Given data
I_DSS = 10;// in mA
I_DSS = I_DSS * 10^-3;// in A
V_P = -4;// in V
V_DD= 20;// in V
R_S = 1;// in k ohm
R_S = R_S * 10^3;// in ohm
R_D = 2.7;// in k ohm
R_D = R_D * 10^3;// in ohm
I_DQ= poly(0,'I_DQ');
V_GS= -I_DQ*R_S;// in V
I_DQ= I_DQ-I_DSS*(1-... |
94b8a9367bb07168fd9534ed37f7712ae45b7960 | 28a8d47c4d79b231f8bebc28925792a290f67e9f | /db/others/prototype/prototype.tst | a02188f45e86cf20af4809863ac457627d2751f6 | [] | no_license | ZVlad1980/doo | a1fe7d18ccfd0acf6ced7dbb33927c86a925aae8 | e81be8f524b78b9a6ec06b7f83a8c13354fc6412 | refs/heads/master | 2021-08-17T02:03:54.553822 | 2017-11-20T17:21:03 | 2017-11-20T17:21:03 | 111,440,129 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,023 | tst | prototype.tst | PL/SQL Developer Test script 3.0
93
-- Created on 11.07.2014 by ZHURAVOV_VB
declare
-- Local variables here
i integer;
--t xxdoo.xxdoo_db_scheme_typ := xxdoo.xxdoo_db_scheme_typ(p_name => 'TEST', p_dev_code => 'test', p_owner => 'xxdoo');
s xxdoo.xxdoo_db_scheme_typ := xxdoo.xxdoo_db_scheme_typ(p_name => 'Con... |
ac13d280fb59f6ec11a99e74c8f7248c25887938 | f418106dce87524f4bfd1826116fbb0ca8cee0e6 | /processamento_de_imagens/negacao.sce | c9a9249e96a3f6fbf609ae90e714d28fd97e9057 | [] | no_license | lorrainepepe/projetos_bcc | f76b8c1a1fbb300ac0b64c7e677826dc2dc6d7c2 | 7c22bfa3b3eeea8aff540c2baeeffb1a36138488 | refs/heads/master | 2020-06-19T07:54:10.338122 | 2019-09-16T13:08:58 | 2019-09-16T13:08:58 | 196,626,001 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | negacao.sce | matriz_img=imread("C:\Users\ander\Dropbox\UNESP\Mestrado\Processamento Digital de Imagens\Listas\Lista4\IMG\lena.bmp");
linhas=size(matriz_img,'r'); //recebe o numero de linhas da imagem
colunas=size(matriz_img,'c'); //recebe o numero de colunas da imagem
printf("Numero de linhas: %d, numero de colunas: %d", linhas, co... |
d1c024113a66d04a653df3645d9240195533704f | 468a1ec1a04ab99eb46811103f55ed1a32266ff7 | /G_Mean.sce | 1521e778bd4c4d478db8c5d4d419f6cde18a23a8 | [] | no_license | sricharraan/Image-Processing | e2c152b3127425c17ecd36548a457b81b4b74466 | 2ea4b68d172359ee2c58f4d2fc7a4f0cb99d4440 | refs/heads/master | 2022-04-16T04:11:31.984041 | 2020-04-22T05:18:47 | 2020-04-22T05:18:47 | 257,531,057 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | G_Mean.sce | clc
clear
close
c1=imread('coins.png')
a=imnoise(c1,'gaussian',0,0.1)
a=double(a)
[r c]=size(a)
padded = zeros(r+2,c+2);
b = zeros(r+2,c+2);
padded(2:r+1,2:c+1) = a;
a=padded
for i=1:r-1
for j=1:c-1
x=a(i:i+2,j:j+2)
b(i+1,j+1)=prod(x)^(1/9);
end
end
subplot(1,3,1)
title('Orginal Image');
imsho... |
7fd36ffb552f353da66351b87aed158715ce3b7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH3/EX3.9/Ex3_9.sce | f1b1038e9dc3d584c57f153e594f4ed897d5b342 | [] | 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 | 550 | sce | Ex3_9.sce | // Example 3.9
clear all;
clc;
// Given data
E0 = 0.0253; // Thermal energy in eV
// 1 barn = 10^(-24) cm^2
sigmay_E0 = 0.332*10^(-24); // Radiative capture cross section at 0.0253 eV in cm^2
E = 1; // Energy in eV at which ra... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.