blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d629a8111ec678703d2667245cd1032d9353f2ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH16/EX16.3/Ex16_3.sce | f02f7b8cdd58253130da2f06dfcdfd8d177d27cc | [] | 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 | 430 | sce | Ex16_3.sce |
clc
//initialisation of variables
v=400//Btu per lb
t=1698//R
c=0.1715//ft
p=0.24//ft
v1=15//ft
v2=1.414//V
p1=560//R
q=800//ft
h=401600//ft-lb per lb
s=13.63//ft
//CALCULATIONS
T=(v/(1*c))//R
T1=t+T//R
T2=v/(1*p)//R
T3=T1+T2//R
V=v1/v2//ft
T4=T3/(V)^0.4//R
Q=1*c*(T4-p1)//Btu per lb
Q1=q-Q//Btu per... |
ddb326bffde9f0da2176cda7976f1e80f089b397 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH3/EX3.7/3_7.sci | ecc72e5c1053c2052bfb6c72a1fe232f59bf2703 | [] | 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 | 186 | sci | 3_7.sci | //3.7
clc;
V=20;
A=20*10^-3;
Rv=10*10^3*20;
Rx=(V/(A-(V/Rv)))/1000;
printf("The resistance=%.2f Kohm",Rx)
E_total=2.5+2.5;
printf("Maximum possible error=%.0f percent",E_total)
|
a3d9f8aa2c620153897020406bb2e35d47c21bde | 717ddeb7e700373742c617a95e25a2376565112c | /842/CH3/EX3.8/Example3_8.sce | 981eb80ed717e8d9566323f5e467ac43e3912f20 | [] | 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 | 1,904 | sce | Example3_8.sce | //clear//
//Example3.8:Fourier Series Representation of Periodic Impulse Train
clear;
clc;
close;
T =4;
T1 = T/4;
t = [-T,0,T];
xt = [1,1,1]; //Generation of Periodic train of Impulses
t1 = -T1:T1/100:T1;
gt = ones(1,length(t1));//Generation of periodic square wave
t2 = [-T1,0,T1];
qt = [1,0,-1];//Derivativ... |
07e4272614d93e9ede45ac56178f6bbd960121da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH5/EX5.2/5_2.sce | 8ceb14223f2fae966fd76bf0e166c02635903129 | [] | 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 | 183 | sce | 5_2.sce | clc
//initialisation of variables
dH= 6896 //cal mole^-1
T= 68.7 //C
//CALCULATIONS
dS= dH/(273.1+T)
//RESULTS
printf ('entropy change per mole= %.2f cal deg^-1 mole^-1',dS)
|
595c8b8a71d5868d307e5d78ec87a08d9e3e5069 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH5/EX5.10.3/ex_5_10_3.sce | f38c9a3241144e565c2bd2715640cb0f57e6f50b | [] | 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 | 140 | sce | ex_5_10_3.sce | errcatch(-1,"stop");mode(2);//Example 5.10.3: resolution
;
;
format('v',8)
//given data :
n=4
R=1/10^n;
disp(R,"resolution,R = ")
exit();
|
331adbbcaf684d46b0296fac05a93eaf531664ef | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/quant/plotquant.sce | 182ec61dc543279aea623892154657b11114f4a0 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | plotquant.sce | chdir('/home/mike/proj/math/scilab/quant');
exec('/home/mike/proj/math/scilab/quant/psi.sce');disp('exec done');
phi=0:0.05:%pi;
theta=0:0.05:2*%pi;
npoints=126;
l=1;
m=0;
xval=xmat(npoints, theta, phi);
yval=ymat(npoints, theta, phi);
yres=ypol(npoints,theta,phi,l,m);
plot3d(xval, yval, yres);
|
fc08237d626d1cd60e7ca26163cd0f2cd01288b4 | 5a8eb1c11f93715e070b588e85f2961065c3714d | /books/nand2tetris/ch01/Not/Not.tst | cc0ded3cde82fb3a3be44a66655a29a8735e8f09 | [
"MIT"
] | permissive | luksamuk/study | 0e19bf99d33e0793127c3d3f8ad3936fbeb36505 | 6a9417e071a8624c4cd9db696c16a3abcc430219 | refs/heads/master | 2023-03-04T20:08:53.266241 | 2023-02-12T20:42:09 | 2023-02-12T20:42:09 | 151,009,060 | 4 | 1 | MIT | 2023-02-12T20:42:11 | 2018-09-30T21:33:44 | C++ | UTF-8 | Scilab | false | false | 150 | tst | Not.tst | load Not.hdl,
output-file Not.out,
compare-to Not.cmp,
output-list in%B2.1.1 out%B2.1.2;
set in %B0, eval, output;
set in %B1, eval, output;
|
ecae4121788c59580e6b47631b8186372c3ea83f | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /acmp.ru/186, Субботник/test3.tst | 5389243bc7e2ccdf00da202cf5e9b0909073000a | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 75 | tst | test3.tst | 10
258 740 156 244 458 680 390 694 844 817
~~~~~~~~~~~~~~~~~~~~~
102
|
edbf2aaefad9424acdf4edc588a1f73e82d59e1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH8/EX8.1/Ex8_1.sce | cb8ce770a6db6eed1c359f1e7e77e353af87237b | [] | 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 | Ex8_1.sce | // Example 8_1
clc;funcprot(0);
// Given data
P_1=10;// kPa
P_2=2000;// kPa
T_3=400;// °C
h_f=191.8;// kJ/kg
h_1=h_f;// kJ/kg
h_3=3248;// kJ/kg
s_3=7.1279;// kJ/kg.K
// Calculation
v_1=0.001;// m^3/kg
w_P=v_1*(P_2-P_1);// The pump work in kJ/kg
h_2=h_1+w_P;// kJ/kg
q_B=h_3-h_2;// The heat input in kJ/kg... |
f883b9bf4fd851755af9a16a6f920322d81bd393 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH3/EX3.5/ex3_5.sce | fce06ff60a325ce31abdc0363ba209df71dcdb47 | [] | 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 | 261 | sce | ex3_5.sce | clc;
u=14; //object distance in cm
f=-21; //focal distance in cm
v=(-5/42); //simplifying(1/f)=(1/v)-(1/u)
I=(3*-8.4)/(-14); //using m=(1/0)=(v/u);
disp(v,"Image distance in cm = "); //displaying result
disp(I,"I in cm = "); //displaying result |
12e8e6d6b99309405b09a13e22d00691fc04ea26 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/abstract_inherit_ok_runme.sci | 0ee1e291beba9952621a0c63353970d14e59feac | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 162 | sci | abstract_inherit_ok_runme.sci | exec("swigtest.start", -1);
try
Spam = new_Spam()
catch
swigtesterror();
end
if Foo_blah(Spam)<>0 then swigtesterror; end
exec("swigtest.quit", -1);
|
d945c1373d8472ac7f2f437cb77c6851dc3c4f9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.10/Example11_10.sce | 32ada77c9119d82617f32a921b6b4b06f0076247 | [] | 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 | 255 | sce | Example11_10.sce | //Example 11.10
clc;
clear;
close;
format('v',7);
//Given data :
Cd=0.62;//Coeff of discharge
H=250/1000;//meter
L=400/1000;//meter
g=9.81;//gravity acceleration
Q=2/3*Cd*sqrt(2*g)*L*H^(3/2);//m^3/s or cumec
disp(Q,"Discharge in cumec : ");
|
ab1b40c0e4be450050c436f4036dc558168324ad | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/demos/aggloms.dem.sce | 1de2f02724e629ba5f7a0505181325ed7e207c7f | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | aggloms.dem.sce | mode(-1);
lines(0);
my_handle = scf(0);
clf(my_handle,"reset");
demo_viewCode("aggloms.dem.sce");
// DEMO START
Data = read(SCI+'/contrib/OpenPR-0.0.2/etc/data/aggloms_data',2,1810);
Label = read(SCI+'/contrib/OpenPR-0.0.2/etc/data/aggloms_label',1,1810);
sigma = 0.4; // kernel bandwidth
ite_num = 60; // iteration ... |
840ee3b972ecc68b0898452d87c4f8f5851a6583 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.18/1_18.sce | da9005f1f03b1be2c6988d4fc1a5b05c541cfb91 | [] | 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 | 699 | sce | 1_18.sce | //Expression for the sum of energy stored by inductor and capacitor connected in parallel at resonance
clc;
clear;
printf('v = Vm * cos(w0*t)\n')
printf('The energy stored by the capacitor = C*(Vm^2)*(cos(w0*t)^2)\n')
printf('The energy stored by the inductor = L*(i^2)/2\n\n')
printf('v = L *(di/dt)\n di = ... |
676af77f7435b0ca53400af3134f064f9211567f | 665eac2bfd0d2f1d559f485375f89e8a91632c6e | /VOL_200/211_01/XMERGE1.TST | a9f7570af5f9b295c2caf70a9421c9a85b0d2176 | [] | no_license | kubohisa/CUGL | 615c29732e5fc2c6bcb29a4013be3351dc21dda6 | 75fc7cb2f8c5f3869a091b2b5c50c09323bc1c03 | refs/heads/main | 2023-03-15T16:19:49.355867 | 2020-10-02T21:19:00 | 2020-10-02T21:19:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,560 | tst | XMERGE1.TST | .ig XMERGE1.TST VERS:- 01.00 DATE:- 09/26/86 TIME:- 09:37:37 PM
.. Test file consisting of several CAS abstracts for use in trials
.. of xmerger (CAS abstracts are the default option):
.. Usage: xmerger <xmerge1.tst xmerge2.tst +results_file
*
XMERGE1.TST ANSWER 1 OF 8
AN CA103(23):193943... |
627173d6793ded20bf713c3695ce1f6fa032f2c9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/scicos/changeports.sci | 4331cfdd09837f6a518f814425f3ac766454c670 | [
"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 | 6,120 | sci | changeports.sci | function scs_m=changeports(scs_m,k,o_n)
// Move change number of ports of block k and modify connected links if any
//!
//look at connected links
// Copyright INRIA
connected=[];dx=[];dy=[]
o=scs_m(k)
[nin_n,nout_n,ncin_n,ncout_n]=o_n(3)(2:5)
[sz,orient,ip,op,cip,cop]=o(2)([2:3,5:8])
[nin,nout,ncin,ncout]=o(3)(2:5)
... |
6ae031ef24a07c77cd4572826707e59cad69b49d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH26/EX26.5/26Ex5.sce | 6f12429778d385f45d0057b5f09053011e7f1299 | [] | 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 | 289 | sce | 26Ex5.sce | //Chapter 26 Ex5
clc;
clear;
close;
lagBA=40; lagCA=64; //distance B and C are lagging from A
//assuming A covers 1000 m
A=1000;
B=A-lagBA; //from given condition
C=A-lagCA;
lagCB=A*(C/B); //Distance C is lagging from B
mprintf("B should give C a start of %.0f meter",A-lagCB);
|
1d5775981c466f16b4ef17898f6ed60b70870430 | 918e8207504f36c7eaf613b62c71e91ad3a33a8a | /2017/educrace_by_lulu/EducRace/DATA/Scenario/zigzag.sce | a0d3a14b019a6173ed812346679b3d57b033d117 | [] | no_license | lazarusccr/GraphicsContest | b1299eeb74449b8714f126deeb64dc02da285260 | 8dec398588970e958c7f08ab7be32af760acbbd6 | refs/heads/master | 2021-04-29T07:29:46.122593 | 2017-12-28T16:26:51 | 2017-12-28T16:26:51 | 77,950,829 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | zigzag.sce | MoveRelative 300 0 1 Sinusoid
RotateTo 8 0.5 Sinusoid2
Wait 0.5
RotateTo 0 0.5 Sinusoid
Wait 0.5
MoveRelative -300 0 1 Sinusoid
RotateTo -8 0.5 Sinusoid2
Wait 0.5
RotateTo 0 0.5 Sinusoid
Wait 0.5
SendEvent 1
Wait 0.01
Loop |
94539fa43dc636b672837006956ed2b2103dcd52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH34/EX34.19.3/ex19_3.sce | 43da22246e4a9c303dc93e195d704d1c4a56748a | [] | 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 | 136 | sce | ex19_3.sce | clear
clc
disp('total no.of possible outcomes=10*9=')
10*10
disp('no. of favourable outcomes=5*5+5*5=')
5*5+5*5
disp('p=')
50/100 |
5968e3b3f0b21a4d672a0405f960439733b9bceb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.59/Example1_59.sce | 5754831652aaa1292f4e815fad7dc221e05e092b | [] | 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 | 423 | sce | Example1_59.sce | // Example 1.59
clear; clc; close;
format('v',6);
// Given data
Zouter=0.05+%i*0.11;//in ohm
Zinner=0.015+%i*0.5;//in ohm
//Calculations
R2odash=real(Zouter);//in ohm
X2odash=imag(Zouter);//in ohm
R2idash=real(Zinner);//in ohm
X2idash=imag(Zinner);//in ohm
TouterByTinner=R2odash/(R2odash^2+X2odash^2)*... |
c6cd24c5a00172bf4c190db31a417c748ab7c07f | 57bf4c6c3a40f5d25e9c8e7ddf0d572b36d1ff72 | /projects/07/MemoryAccess/tests/arg.tst | f444e1003fade9794e42d619ced540bc9f18217d | [
"MIT"
] | permissive | theapi/nand2tetris | 516879eb0a2defe9a7269ccd7d423f8983dc2581 | 0e09a7b3f1f1ec68e56b5299128d4b62f5b164d7 | refs/heads/master | 2021-01-10T21:40:34.591217 | 2016-01-26T14:09:38 | 2016-01-26T14:09:38 | 37,582,867 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | tst | arg.tst |
load arg.asm,
output-file arg.out,
compare-to arg.cmp,
output-list RAM[401]%D1.6.1 RAM[402]%D1.6.1;
repeat 75 {
ticktock;
}
output;
|
671bce56f008815c0f45c42e2af20cd6cb796c3d | 49c332fb095450edccbd7e42e057fa0b57157045 | /test/WW05.prev.tst | 70c833aec663155029d2000d25cca98b358398d9 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/numword | 836edd4693d90ede0f37ebcad01f8202362f3c74 | 9fbef644f2142ed7db9b4fa696b5a2388181f7b9 | refs/heads/master | 2022-02-04T19:09:38.860895 | 2022-01-28T14:43:02 | 2022-01-28T14:43:02 | 5,777,703 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,728 | tst | WW05.prev.tst | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml;charset=UTF-8" />
<meta name="rob... |
8251d5dd1ec5368fb2ab6cb90bc885b2b7cf7118 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH6/EX6.8/6_8.sce | c6d03334c7550ac5e877b85299f684a8a1e52fed | [] | 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 | 6_8.sce | clear
clc
//initialisation of variables
h= 80 //ft
f= 0.008
l= 3000 //ft
r1= 6.07
r2= 377.5
r3= 4733
r4= 0.0466
r5= 3220
r6= 51.5
//CALCULATIONS
Q= sqrt(h*10/(f*l))
Q1= sqrt(r2+sqrt(r2^2-4*r1*r3)/(2*r1))/3
Q2= Q1-r4*sqrt(r5-r6*Q1^2)
//RESULTS
printf ('rate discharge when valve B is closed= %.2f cusecs... |
17324c8b034cc9cd3a0d44579031000e010b22e7 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.5_14.tst | 62e6c54982b73e8bb18c4dbac5b05e037fafc3b8 | [] | 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 | 31,859 | tst | bow.5_14.tst | 5 4:0.5 6:0.4 7:1.0 8:0.16666666666666666 12:0.2857142857142857 20:0.25 21:0.4 23:1.0 26:0.022222222222222223 38:1.0 48:1.0 49:0.015503875968992248 51:2.0 55:0.5 64:0.375 68:0.5 71:2.0 100:0.038461538461538464 133:1.5 137:1.0 176:1.0 183:1.0 190:0.2 236:0.1111111111111111 366:1.0 383:1.0 407:1.0 483:2.0 611:1.0 647:1.0... |
cd668d80ce21f260f3aa06fc3fcdc1b888866527 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH1/EX1.1/Ex1_1.sce | 6d987c9aa48bd08d2e7a17d43da755eb9ab3614c | [] | 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 | 201 | sce | Ex1_1.sce |
// determine the absolute pressure in the tank
clc
patom=47.2 // pressure of an atom
pg=40 // pressure at 40kpa from table
pa=patom-pg
mprintf('\n absoulte pressure in the tank is %f kPa',pa)
|
48bc5a050a8823c3502e6e2359a60f84cd2b981c | f23cac45e0a1e3e9444fd3bb8e11d56a5be97cf8 | /holding.sci | c3bdee38a75c02a1ab9e6e56c2a90186cb884f5e | [] | no_license | paulaperdigaoram/YOGURT | 4cd805bfb9a06630fba0d990ad7edbbf3786903b | fc95ba5408e085c91bca2a04084fc36b2ea39f95 | refs/heads/master | 2020-03-22T07:56:53.718648 | 2018-08-23T17:31:35 | 2018-08-23T17:31:35 | 139,734,779 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,071 | sci | holding.sci | function o = holding(i)
//Datos de entrada
Mini = i(5)
T = i(7) // ºC
//Parámetros
D1211m = 0.05; //s
Zm = 10; //ºC
//Resolución del modelo
xini = Mini;
tfin = 300; dt = 0.01; // s
t=0:dt:tfin;
x = ode(xini,0,t,odeholding);
M = x;
Mfin = ... |
998d707352f15c69e8e8672741f15df661fb8ee7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH7/EX7.1/7_1.sce | b790f5fab11b90f980083c2fe3b3d6f297dfa1a7 | [] | 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 | 609 | sce | 7_1.sce | clc
//initialisation of variables
m= 0.35 //kg
u2= 211.785 //kJ/kg
u1= 182.267 //kJ/kg
p2= 300 //kPa
v3= 0.085566 //kJ/kg
v2= 0.076218 //kJ/kg
h3= 260.391 //kJ/kg
h2= 234.650 //kJ/kg
u4= 199.460 //kJ/kg
u3= 234.721 //kJ/kg
p4= 250 //kPa
v1= 0.076218 //kJ/kg
v4= 0.085566 //kJ/kg
h1= 201.322 //kJ/kg
h4= 2... |
6fb35c83074a6d624a2b089d7d436c8422d63239 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH17/EX17.7/Ch017Ex7.sce | 0112f4d6aa4bf1ba21bf5071750654b8bb2c0b7a | [] | 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,383 | sce | Ch017Ex7.sce | // Scilab code Ex17.7 : Pg:892 (2011)
clc;clear;
amu = 931.5; // Energy equivalent of 1 amu, MeV
nucleus = cell(4,3);
nucleus(1,1).entries = 'P';
nucleus(1,2).entries = 15;
nucleus(1,3).entries = 31;
nucleus(1,4).entries = 30.98356;
nucleus(2,1).entries = 'n';
nucleus(2,2).entries = 0;
nucleus(2,3).entries... |
342ef3db82e275dea748e1e9666b8f6d1760d330 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH4/EX4.8/example8.sce | afc211eae88d33321faa3dc3d1fc01405ff10865 | [] | 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,137 | sce | example8.sce | clc
clear
//input data
N=9000//The rotational speed in rpm
dT0=20//The stagnation temperature rise in K
DhDt=0.6//The hub to tip ratio
l=0.94//The work donee factor
ns=0.9//The isentropic efficiency of the stage
C1=150//Inlet velocity in m/s
P01=1//The ambient pressure in bar
T01=300//The ambient temperature ... |
f3d2cf35957febd093a0c3e279f854b8b3969f84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH2/EX2.5/2_5.sce | 7af70d7f92bf574fc97dea32e02d61b0dd141c9b | [] | 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 | 257 | sce | 2_5.sce | clc;
clear;
gamma1=9.8;//kN/m^3
gamma2=15.6;//kN/m^3
h1=1;//m
h2=0.5;//m
//pA-(gamma1)*h1-h2*(gamma2)+(gamma1)*(h1+h2)=pB
//pA-pB=diffp
diffp=((gamma1)*h1+h2*(gamma2)-(gamma1)*(h1+h2));
disp("kPa",diffp,"The difference in pressures at A and B =")
|
d3d177eb01c05e1f4b941e376aef28689d50be1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /63/CH16/EX16.6/Exa16_6.sci | 6e3ddd62c929ca14d81785f5c8f555e2c70743be | [] | 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 | 272 | sci | Exa16_6.sci | //Determine the maximum range of a deep-space radar
lambda1 = 30/2.5;
lambda = lambda1/100;
Pt = 2.5e+7;
D = 64;
S = 1;
dF = 5e+3;
F = 1.1;
Rmax = 48*sqrt(sqrt(((Pt*D^4*S)/(dF*lambda^2*(F-1)))));
disp(Rmax, 'Maximum range of a deep-space radar is (in Km)') |
e05978f706772abf473017efe0ca3892ddccd4dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH4/EX4.10/EX4_10.sce | a6038f4a40130f811f8688256d624cda3d60debb | [] | 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 | 925 | sce | EX4_10.sce | clc;funcprot(0);//EXAMPLE 4.10
// Initialisation of Variables
r=7;....................//Compression Ratio
t2=715;.................//Temperature at the end of isentropic compression in Kelvin
t4=1610;................//Temperature at the end of expansion in Kelvin
//Calculations
vr2=65.8;..................//From st... |
6636429c7b6c6a56b4be051d8721286b6f9c4942 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/grayplot.man.tst | 4fdfdf9a6fc61a74e3c95f8eee694d03c3bde7a2 | [
"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 | 147 | tst | grayplot.man.tst | clear;lines(0);
x=-10:10; y=-10:10;m =rand(21,21);
grayplot(x,y,m,"111",[-20,-20,20,20])
t=-%pi:0.1:%pi; m=sin(t)'*cos(t);
xbasc()
grayplot(t,t,m)
|
adf711b3963f573931bc3ac1962976e86c8898c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3050/CH6/EX6.10/Ex6_10.sce | 671c67426b44d00ce29502c590098f62cf84512e | [] | 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 | 203 | sce | Ex6_10.sce | //calculating Kc
//Example 6.10
clc
clear
//E'cell=0.0591*logKc/n
Ecell=-0.8277
n=1
Kc=10^(n*Ecell/0.0591)//equilibrium constant
printf('Thus the equilibrium constant for the reaction = %e',Kc)
|
468842579743dbe55ba806e3337a9fb7529f4d1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH2/EX2.8/exp2_8cpp.sce | febcc81ba0c5991281644cf511367ee66f95e24c | [] | 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 | 536 | sce | exp2_8cpp.sce | clc
disp("example 2.8")
disp("the chronological load curve is plotted in fig 1")
a=[0 5 9 18 20 22 24] //time in matrix format
b=[50 50 100 100 150 80 50]//load in matrix format
for x=1:6
z(1,x)=((b(1,x)+b(1,x+1))/2)*(a(1,(x+1))-a(1,x))
end
e=sum(z);
printf("energy required required by the system in 24 hrs ... |
18c5e27550b8432b0f8d07a5f8432d95474761af | b26239033e0d21476c77ff50326b32231c2a3b00 | /Workspace/missionX2.sce | 086622ad24882e78130419a8e543296fd76abe81 | [] | no_license | SmartGuyy/Exolife | 1c9a5bfdb8b16523e9681170fe4cb2cb12613e3a | eb477766dffe7edd9022d0cf46028980489c6277 | refs/heads/master | 2021-06-17T03:56:00.785128 | 2017-03-17T09:39:04 | 2017-03-17T09:39:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | missionX2.sce | //1 Load Image
img_input=readpbm("C:\Users\DimitriXPS\Documents\GitHub\Exolife\Exolife\Images\Mission 9\Gliese 581d V2.pbm");
display_gray(median(img_input,2));
|
54f86e44c6567e52d55b8808977b7bc10cb4f14e | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH3/EX3.4.a/example_3_4a.sce | 7a7a90857bbe371c9a9aa1ada918663e7ec0fabe | [] | 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 | 530 | sce | example_3_4a.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 3
// Thermal Radiation
// Example 3.4(a)
// Page 123
printf("Example 3.4(a), Page 123 \n\n")
e = 0.08; //emissivity
T = 800; //temperature, [K]
Stefan_constt = 5.67*10^(-8); //[W/m^2.K^4]
// From Stefan Boltzmann law, equation... |
f376c927d166e868ca45f885f47e095acc24bcec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH10/EX10.2/2.sce | e884281ac078ddccb4eee60e633614a3aab7c990 | [] | 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 | 284 | sce | 2.sce |
//Variable declaration
h=6.63*10**-34; //planck's constant
c=3*10**8; //velocity of light(m/s)
Eg=1.44; //energy gap(eV)
e=1.6*10**-19;
//Calculation
lamda=h*c/(Eg*e); //wavelength(m)
//Result
printf('wavelength is %0.3f angstrom \n',(lamda*10**10)) |
2ce6d00c67cc65c70f97d1fc714bdaa9a9b99d02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH16/EX16.5/16_5.sce | 23c356e4bf6ea6cfd548eae90650b7b482e4892d | [] | 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 | 870 | sce | 16_5.sce | clc
//ex16.5
n_m_1=1200; //speed in rpm
T_out_1=12; //motor torque
W_m_1=n_m_1*2*%pi/60; //angular speed
//As we are neglecting losses, the output torque and power are equal to the developed torque and power respectively
P_out_1=W_m_1*T_out_1; //output power
//For Torque=24
T_out_2=24;
T_de... |
299b7a97f4176795b42966c6269b9dccafe75614 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH7/EX7.10/Ex7_10.sce | 455acc2013b1b1ae88e8f2492c4eb25c56f5f99f | [] | 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 | 396 | sce | Ex7_10.sce | // chapter 7 , Example 7.10 , pg 214
T1=300 //temperature (in K)
e=1.6*10^-19 //charge of electron (in C)
k=1.38*10^-23 //Boltzmann constant (in J/K)
T2=330 //temperature (in K)
E1=0.3 // E1=(Ec-Ef_300) (in eV)
E2=(E1*T2)/T1 //E2=(Ec-Ef_330) (in eV)
printf("At 330 K the Fer... |
01b26451f0588b33e8c024c7289f4a0cc5930290 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH1/EX1.44/ex1_44.sce | 5e3f85dbe5b1be7b78741a199a2fefcc2d8a4463 | [] | 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 | 358 | sce | ex1_44.sce | // Exa 1.44
clc;
clear;
close;
format('v',6)
// Given data
V_T = 0.7;// in V
V = 5;// in V
R = 2;// in k ohm
R = R * 10^3;// in ohm
Vs = 0.7;
Vx = Vs+V_T;// in V
// The value of I1
I1 = (V-Vx)/R;// in A
I1 = I1 * 10^3;// in mA
disp(I1,"The value of I1 in mA is");
// The value of I2
I2 = I1;// in mA
... |
d7ee5a143c75e3677d70644b5b11804285c96e63 | 4a33e080edd00748440b770f738c4bbb5ebc05f9 | /test1.tst | 1cb87b66613eb99e3f4b63d1cedd9d25740c4f1b | [] | no_license | nholeg/Simple-Paiment--Kapitalbank-Training | d04779742af82f5e49826072993fb37e911ab9e4 | a5bb6cc7f72caff3434add39e24fd5649c3b6815 | refs/heads/main | 2023-07-02T13:43:44.030309 | 2021-08-10T09:49:20 | 2021-08-10T09:49:20 | 394,600,935 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | tst | test1.tst | PL/SQL Developer Test script 3.0
10
-- Created on 20.06.2017 by OLEG
declare
-- Local variables here
i integer;
BEGIN
jober.P_CREATE_JOB (p_paiment_id => 82);
-- jober.P_RUN_JOB (p_paiment_id => 53);
--ui.start_up (p_paiment_id => 70);
end;
0
0
|
136c5543e3e4a782fa850c8a96b6c490281f57b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH26/EX26.8/26_8.sce | 5b8dc23c850e449d1749d65c46c8bdc3393ae405 | [] | 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,625 | sce | 26_8.sce | clear//
//Variables
VCC = 10.0 //Source voltage (in volts)
RE = 1.5 * 10**3 //Emitter resistance (in ohm)
R1 = 30.0 * 10**3 //Resistance (in ohm)
R2 = 20.0 * 10**3 //Resistance (in ohm)
beta1 = 150.0 //Common emitter c... |
8d1fe461bea8fa815aadf84e6734c3a4a2f4b513 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH12/EX12.2/ex12_2.sce | 181869b174ae92c5329026bbd439a530155f9814 | [] | 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,036 | sce | ex12_2.sce | clear;
//clc();
// Example 12.2
// Page: 319
printf("Example-12.2 Page no.-319\n\n");
//***Data***//
T = 298.15;//[K] temperature
P = 0.987;//[atm] pressure
g_0_NO = 86.6;//[kJ/mol] Free energy of formation the NO from elements
R = 8.314;//[J/(mol*K)]
// And the corresponding values for the elements N2... |
d7b0294dac73ef3c25baf2f6156751315a762860 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH10/EX10.1/Ex10_1.sce | 05e8a3c63c8b826f6a13ceac9b9192d38aacc15b | [] | 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 | 293 | sce | Ex10_1.sce | clc;
//e.g 10.1
Ic=10;
Vce=10;
hie=500;
hoe=10**-5;
hfe=100;
hre=10**-4;
gm=Ic/25;
disp('ohm',gm*1,"gm=");
rbe=hfe/gm;
disp('ohm',rbe*1,"rbe=");
rbb=hie-rbe;
disp(rbb);
gbc=hre/rbe;
disp('*10^-7',gbc*10**7,"gbc=");
rce=-1/((hoe-(1+hfe)*gbc));
disp('kohm',rce*10**-3,"rce=");
|
575ec99df9f5205b897292fb906a53b596f2dfb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH1/EX1.6/Ex1_6.sce | 8ce7b521f09ca8b1517bad9089a6122c7266c69b | [] | 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 | 830 | sce | Ex1_6.sce |
//Variable declaration
I=10 //Ge diode carries current(mA)
V=0.2 //forward bias voltage(V)
//Calculation
//Part a
Is=I/(exp(40*V)-1) //reverse current(mA)
//part b
I1=1*10**3
V1=(log(1/3.355*10**3 + 1))/40 //voltage(V)
I2=100*10**-3 //current(mA)
V2=(log(100/3.355*10**3+1))/40 ... |
66ce83b0b36970b48273bae47fbde6a6693a65fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH18/EX18.15/Ex18_15.sce | f41e5fdbb610b80a2ca537eff75a57862a76879b | [] | 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,230 | sce | Ex18_15.sce | // scilab code Exa 18.15 Impulse Steam Turbine 3000 rpm
P=500; // Power Output in kW
u=100; // peripheral speed of the rotor blades in m/s
cy2=200; // whirl component of the absolute velocity at entry of the rotor
cy3=0; // whirl component of the absolute velocity at exit of the rotor
alpha2=65; // nozzle angle ... |
3731fce4959998fa447b2c57edb6ce4fff780f0a | 86ae7e24466d959da945d5b6d8ab93354a9e8a1d | /Exptno2.sce | 6d2665f54d73871ddf39cef7d4d4fad40804b18d | [] | no_license | AnujaNagare/Scilab-Programs | be27fdeb0db8cfa4b00ac5121676b18412b8a222 | 4152eac1a3e87ec7408fb3dfea55cac984cca2d9 | refs/heads/master | 2021-08-30T16:53:33.876536 | 2017-12-18T19:11:47 | 2017-12-18T19:11:47 | 114,677,855 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,927 | sce | Exptno2.sce | // EXPT NO. 2: - SCREW TRANSFORMATON
//AIM: - TO STUDY THE SCREW TRANSFORMATION OF A POINT
// ABOUT A SPECIFIED AXIS USING scilab AND TO PROVE THAT SCREW TM
// IS CUMULATIVE [ Rot(?,k)*Trans(?,k) = Trans(?,k)* Rot(?,k) ]
clear ;
close ;
clf
clc
disp('ENTER COORDINATES OF THE POINT')
x=input('... |
6364a21131b8e832d8e0c7ceaa1d5d5e7b637321 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.13/Ch02Ex13.sce | 70ceb318d3ed24e1d1e8bec9234bf25ae7283770 | [] | 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 | Ch02Ex13.sce | // Scilab Code Ex2.13:: Page-2.13 (2009)
clc; clear;
b = 0.125; // Fringe width of the interfernce pattern due to biprism, cm
d = 1; // For simplicity assume distance between sources to be unity, cm
d_prime = 3/4*d; // New distance between sources, cm
// As b is proportional to 1/d, so
b_prime = b*d/d_prime; // ... |
a3f92da45d5c9cde1df3efa11150fef0b23ae8cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH2/EX2.4/Example2_4.sce | 7f7a530788c01ddffebe4dc5ec482689d0fe9fad | [] | 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 | 542 | sce | Example2_4.sce | //Example 2.4
//Program to Obtain Output Voltage Vo from Given A.C. Equivalent of an Amplifier using a Transistor
clear;
clc ;
close ;
//Given Circuit Data
//Input Side
Vs=10*10^(-3);//i.e. 10 mV
Rs=1*10^3;//i.e. 1 kOhms
//Output Side
Ro1=20*10^3;//i.e. 20 kOhms
Ro2=2*10^3;//i.e. 2 kOhms
//Calculation
i=Vs... |
0c7eabe2d5b0cc648c78ec7e240e3ac1b6814dfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH4/EX4.7/eg4_7.sce | bcf7cdc1a6b02739b7b88555a541995cd0f7e88e | [] | 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 | 383 | sce | eg4_7.sce | Dn = 30;
Dp =15;
Na = 5*10^16;
Nd = 5*10^17;
q = 1.6*10^-19;
tn = 10^-8;
tp = 10^-7;
ni = 1.84*10^6;
np = ni^2/Na;
pn = ni^2/Nd;
Ln = (Dn*tn)^0.5;
Lp = (Dp*tp)^0.5;
disp(Ln,"diffusion length, Ln (in cm) = ")
disp(Lp,"diffusion length, Lp (in cm) = ")
n = (q*Dn*np/Ln)/((q*Dn*np/Ln)+(q*Dp*pn/Lp));
disp(n,"... |
351871cf2f1f6a28476205997df97884beb957d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH4/EX4.15/Ex4_15.sce | 72e305cd9ceaa4e351f94d6fd71cc7f37b85dcda | [] | 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,552 | sce | Ex4_15.sce | //Ex4_15
clc
RON=100
disp("RON= "+string(RON)+ " ohm") //ON resistance of analog series switch
ROFF=10^(10)
disp("ROFF= "+string(ROFF)+ " ohm") //OFF resistance analog series switch
Vip=1
disp("Vip= "+string(Vip)+" volts")// Peak amplitude of analog voltage
Rs=100
disp("Rs= "+string(Rs)+ " ohm") //Voltage ... |
e4b58e078b0757ac06cd8f8f58425ed60d58a0e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH4/EX4.18.b/solution4_18.sce | aecb236f931d4874a60b14932012c485a301ab38 | [] | 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,464 | sce | solution4_18.sce |
//Function to round-up a value such that it is divisible by 5
function[v] = round_five(w)
v = ceil(w)
rem = pmodulo(v,5)
if (rem ~= 0) then
v = v + (5 - rem)
end
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution4_18.sce')
//Obtain path of data file
dat... |
6ca9130f8fd654c0b434dd138b4f5eba2303839c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH10/EX10.5/5.sce | 1359ff5a7546051f3f7ffaf697f1c99a356a70e1 | [] | 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 | 903 | sce | 5.sce | clc
clear
//INPUT DATA
Eg=1.43*1.6*10^-19//The energy gap of intrinsic GaAs in J
xe=0.85//The electron mobility in m^2 V^-1 s^-1
xh=0.04//The hole mobility in m^2 V^-1 s^-1
me=0.068*9.11*10^-31//effective mass of electron in m
mh=0.5*9.11*10^-31//effective mass of hole in m
h=6.625*10^-34//Planck's constant in ... |
56affdfac8bbfbc8cb241b75dd7d7f3160cd815e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH3/EX3.3/Ex3_3.sce | 9edf696d468e981165b3edfa3d16f39ac8d9da4c | [] | 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 | 189 | sce | Ex3_3.sce | ////Caption Nquist Rate
//Example 3.3
//page no 104
//Find Nquist Rate
//given
clc;
clear;
f=100;
fs=2*f;//Nyquist rate
disp(" Hz",fs,"(i)To avoid aliasing Nquist Rate is ");
|
cf1f79e6117cc84de5ec2dbef7b2dec48144fc8c | 717ddeb7e700373742c617a95e25a2376565112c | /668/CH4/EX4.4/eg4_4.sce | e7c47f99900f31a33ad6f66aa269ff073963f328 | [] | 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 | 250 | sce | eg4_4.sce | Na = 10^19;
Nd = 10^16;
E1 = 4*10^5;
E2 = 10^7;
eps0 = 8.84*10^-14; //in F/m
eps = 11.9*eps0;
q = 1.6*10^-19;
V1 = eps*E1^2/(2*Nd*q);
disp(V1,"breakdown voltage for Si = ")
V2 = eps*E2^2/(2*Nd*q);
disp(V2,"breakdown voltage for diamond = ") |
fbfdc97cb1a6cd0e4020e5abbc56daa29b8381da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH3/EX3.22/Ex3_22.sce | 425a1b960568624de037a40e3c1e14474d652a03 | [] | 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 | 133 | sce | Ex3_22.sce | clc;
//e.g 3.22
rho=9*10**-3;
mup=0.003;
sigma=1/rho;
disp('S/m',sigma*1,"sigma=");
RH= mup/sigma;
disp('m^3*C',RH*1,"RH=");
|
57162bbc5b2d5c8ab2ae54d93287a13c7cb38a1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH7/EX7.5/7_5.sce | 4702618841b36e2fb557218216952b0c182671b5 | [] | 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 | 216 | sce | 7_5.sce | clc;
//page no 295
// prob no 7.5
// in the given problem
fs=40; m=14;
// the minimum data rate needed to transmit audio is given by
D=fs*m;
disp('Kb/s',D,'The minimum data rate needed to transmit audio is '); |
27e45c8d080b6fd0020eef10da849d7ad272036e | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH12/EX12.1/Example12_1.sce | 13a8797f512b85e9d9a859ecc70642048f123231 | [] | 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 | 461 | sce | Example12_1.sce | clear;
clc;
// Example: 12.1
// Page: 471
printf("Example: 12.1 - Page: 471\n\n");
// This problem involves proving a relation in which no mathematics and no calculations are involved.
// For prove refer to this example 12.1 on page number 471 of the book.
printf(" This problem involves proving a relatio... |
addc70cdbf29206758cfd611650c31f825cb06dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH8/EX8.22/Example_8_22.sce | 9f9c28b292d48caadbf03752d2ca482ebae7e470 | [] | 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 | 510 | sce | Example_8_22.sce | //Example 8.22
clear;
clc;
//Given
T=298;//Temperature in K
R=8.314;//gas constant in J K^-1 mol^-1
k=4.814-(2059/T);//k=log(K),where K is the equillibrium constant
//To determine the values of delGo,delHo and delSo
delSo=4.814*R;//entropy change in J K^-1 mol^-1
delGo=-R*T*k;//free energy change in J mol^... |
813473db6553a74243fc8b087ddfc1b03a2071ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH2/EX2.2/Ex2_2.sce | 4915ec06955771a14f6606a6fcbc4589054530a1 | [] | 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,045 | sce | Ex2_2.sce | // Given:-
p1 = 3*(10**5) // initial pressure in pascal
v1 = 0.1 // initial volume in m3
v2 = 0.2 // final volume
m = 4.0 // mass of the gas in kg
deltau = -4.6 ... |
5dacc101d7f30ab79a5005c5a3bfe885144ce57b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH4/EX4.4/Ex4_4.sce | a29e12a5a7e79778accae96bcb3efae27291e032 | [] | 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 | 457 | sce | Ex4_4.sce | clc
//Variable Initialisation
V=230//Input Voltage of motor in volts
Ra=1.5//Armature resistance in ohm
La=1e-3//Armature inductance in ohm
Ia=15//Armature Current in Ampere
k=0.05//Voltage constant
//Solution
Eb=0 //when d=0
Ea=Eb+(Ia*Ra)
d=Ea/V
Eb1=V-(Ia*Ra)
//when d1=1
N=Eb1/k
printf('\n\n Range of spe... |
39792493eb81058ee1629dc8e6bfa7e7a14cc49d | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/problem.tst | dd780dd18aa143ceae0d1f3b8d73e6142acba207 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 321 | tst | problem.tst | *
* This file was put into the public domain 2016-11-29
* by John P. Hartmann. You can use it for anything you like,
* as long as this notice remains.
*
* Null problem state program for education
*Testcase problem
sysclear
archmode z
loadcore "$(testpath)/problem.core"
runtest .1
*Compare
r 88.4
*Want 00020000
*Done... |
71d1588f4bddfc6bd46b76becdda6679f5fcff1b | 037362195179268c71b89f6485fb796c82311d07 | /Native Scilab Algorithms/logistic_regression.sci | ef3cc893594fafb75b5d337125ef3a15229610aa | [] | no_license | SoumitraAgarwal/machine-learning-Toolbox-SCILAB | 34a6884fd0138548955e836836181df0c8169ab1 | ef4dc44a9676a2b63e8c8fa0ce7c0452a98b44fa | refs/heads/master | 2020-03-15T03:59:52.960122 | 2017-08-28T16:36:20 | 2017-08-28T16:36:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,187 | sci | logistic_regression.sci | function logistic_regression(data)
//currently designed to classify inputs with only 2 features and 2 classes
b0 = 5;
t = b0 * rand(100,2);
t = [t 0.5+0.5*sign(t(:,2)+t(:,1)-b0)];
b = 1;
flip = find(abs(t(:,2)+t(:,1)-b0)<b);
t(flip,$)=grand(length(t(flip,$)),1,"uin",0,1);
c0 = t(find(t(:,$)==0),:);
... |
8dfccc696de91886055628d224adaa6e6b2fd485 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH2/EX2.16/Ex2_16.sce | 8e08cf34063daf7093e0365330d7f80fd3003aab | [] | 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 | 523 | sce | Ex2_16.sce | clear
//
//
//
//Variable declaration
N=10000/2*10**2 //number of lines/m
m=1 //order
lamda1=5890*10**-10 //wavelength(m)
lamda2=5896*10**-10 //wavelength(m)
//Calculation
sintheta1=m*N*lamda1
theta1=asin(sintheta1)*180/%pi //angle(degrees)
sintheta2=m*N*lamda2... |
ace04d0b5a75be18786c6c33d192fda7a3a65a20 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/AM02.prev.tst | 0183d5b7ed1f13ed29c190344236bb7a71aa85af | [
"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 | 203 | tst | AM02.prev.tst | [[m11,m12,m13],[m21,m22,m23],[m31,m32,m33]] * [a^2-b^2,2*a*b,a^2+b^2] =
[a^2*m11-b^2*m11+2*a*b*m12+a^2*m13+b^2*m13,a^2*m21-b^2*m21+2*a*b*m22+a^2*m23+b^2*m23,a^2*m31-b^2*m31+2*a*b*m32+a^2*m33+b^2*m33]
|
e83c77c28e1523f646a9df35de999955f1ae0055 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH4/EX4.9/4_9.sce | 9893e7f3295c8de0a856bea7d6b201aef17604ba | [] | 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 | 4_9.sce | clc
//initialisation of variables
HfHcl= -22.063 //kcal
H298= -17.74 //kcal
//CALCULATIONS
HfHcl200H2O= HfHcl+H298
//RESULTS
printf ('enthalpy of formation= %.2f kcal mole^-1',HfHcl200H2O)
|
da1d53b9fa6e28acef1cbc840f64e9e62ba45397 | df9b25ceab5916f0a9256bce2d326a82f8daa2b8 | /app/public/views/planner.sce | f429c65eb6c92a1a1e046b1582f6d9f68c4a27eb | [] | no_license | TheBrenny/SAD-assignment2 | 6625611ebde9619ca45bdb7996ef51a653868059 | 1f2b247c275b2d3327e58b8752d3e2e5a0cc5823 | refs/heads/master | 2023-01-21T16:46:45.535129 | 2020-11-02T01:22:18 | 2020-11-02T01:22:18 | 297,238,799 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | planner.sce | [[i= partials/header ]]
<h1 style="text-align: center">Coming soon!</h1>
[[i= partials/footer ]] |
fe1d1cdf0046c510b855d83c48631ed85749adfc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH18/EX18.1/example18_1.sce | 43b6afb7c315ff269edff0078a6bc51d6b62f9e2 | [] | 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 | 5,672 | sce | example18_1.sce |
//example 18.1
//design Sarda type fall
clc;funcprot(0);
//given
Q=40; //full supply discharge
sl_u=218.3; //supply level at upstream
sl_d=216.8; //supply level at downstream
D=1.8; //suplly depth
L=26; //bed width
bl_u=216.5; //bed level ... |
97c5f9a7f735cad0dbc20817d8e489c99bf988a4 | 1ccfcf39e5941044f7809d7bd29f3a001877ffac | /experimento_03/firr.sce | 4bd31df3625d1a6495b14709ba6a9071e56b6a1f | [] | no_license | victoribeir0/experimentos_pds | 9ebe7aa4f678fa7e39942398543217bc2d6807a7 | 283fcfd16b743ae8cc864e0f5abcac955c8552d0 | refs/heads/main | 2023-04-30T01:48:48.984254 | 2021-05-01T09:25:13 | 2021-05-01T09:25:13 | 351,879,262 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,112 | sce | firr.sce | /*
Determina os coeficientes do filtro FIR pelo método das janelas.
fc = freq. de corte (em Hz));
fs = freq. de amostragem (em Hz));
M = ordem do filtro (inteiro positivo).
filtro = 'pb' (passa-baixas) ou 'pa' (passa-altas).
*/
function [h,w,coef] = firr(fc,fs,M,filtro)
omegac = 2*%pi*(fc/fs)... |
068d824621ae33372a18816566ec1bc8c88f6363 | 52891b40d6509dbdf55faa562cf0f3692c2d958b | /algoritmos/yin/main.sce | 384d603ec1e160a021c36435e69b0b41d284b635 | [] | no_license | google-code/audio-fingerprint | f78981721d3def3ad557cceb1c010cc759684442 | 9d3dc04103a9bd0f3e3951a6180312865b7f3b8a | refs/heads/master | 2016-09-08T16:59:21.186418 | 2015-03-15T16:13:40 | 2015-03-15T16:13:40 | 32,270,052 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 3,950 | sce | main.sce | //**********************************************************************************************************
//*************** Algoritmo para calcular la frecuencia fundamental de una señal de audio ******************
//******************************* Las señales de audio de prueba son: ******************************... |
70df8db9bd48d4b082b0a2861afde4b149f84538 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH4/EX4.16/Ex4_16.sce | f755680f9bc84c2dd6466ac10350caafcd92bc32 | [] | 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 | 614 | sce | Ex4_16.sce | //Example 4_16
clc();
clear;
//To find the wavelength and energy of X-ray beam
theta=27.5 //units in degrees
n=1
h=1
k=1
l=1
H=6.625*10^-34 //planks constant
c=3*10^10 //velocity of light units in meters
a=5.63*10^-10 //units in met... |
2d9d8ae3e5de8901b85b32fb48014cac484963d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH13/EX13.9/EX13_9.sce | e83c1b770dbbc142f39164928862c54989fd18b2 | [] | 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 | 527 | sce | EX13_9.sce |
//Example13.9 // Design a monostable circuit with frequency f = 25 KHz
clc;
clear;
close;
f =25*10^3 ; // Hz
// The output frequency of monostable multivibrator is defined as
// f = 1/(0.69*R*C);
C = 0.1*10^-6 ;
R = 1/(0.69*f*C);
disp('The value of resistance R is = '+string(R)+ ' ohm ');
// In the ... |
4972dfcb0fc500ba3df577af97158906625e8779 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH16/EX16.5/Ex16_5.sce | 4f5044cec9dda28d39a582a2fe44f1a292a2bcc5 | [] | 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 | 549 | sce | Ex16_5.sce | // Example 16_5
clc;funcprot(0);
// Given data
T=-20.0+273.15;// K
p=0.500;// atm
M=0.850;// The Mach number
k=1.40;// The specific heat ratio
R=286;// J/kg.K
g_c=1;// The gravitational constant
// Solution
V=M*sqrt(k*g_c*R*T);// m/s
T_os=T*(1+(((k-1)*M^2)/2));// K
T_os=T_os-273.15;// °C
p_os=p*(1+(((k-1... |
8241d8124ee8b2bcc1167ea5700e22b8379ea5c5 | 4b3c8d2302d37ad5981adb6f68fae3db1d9820c8 | /add_Blocks.sce | 8169998d8138b4341ca7dbaf2cab49a1344504b7 | [] | no_license | mayank1513/littleBird_RD_ResourceManagementSystem | 002d19579b3b55a314450ec75d2874131741564b | 090d016248164580defc9b4629ba54c9dc362949 | refs/heads/master | 2020-03-15T04:48:31.637752 | 2018-05-03T09:46:53 | 2018-05-03T09:46:53 | 131,970,842 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 899 | sce | add_Blocks.sce | str = get(get('edit_blockList'),"String");
for i = 1:size(str,2)-1
str(i) = stripblanks(part(str(i),1:$-1));
end
str($) = stripblanks(str($));
addblk_msgStr = [];
for i = 1:size(str,2)
if isempty(str(i)) then
continue;
end
if ~isempty(find(blocks(1)==str(i))) then
addblk_msgStr($+1) = st... |
8caf1c9e3a0d66d5103508086eff6ca438ae146b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH3/EX3.20/ex_3_20.sce | 775e5493cea0de20a8032b516ccaa1fa024212df | [] | 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 | 219 | sce | ex_3_20.sce | //Example 3.20 : interplaner spacing d_220
clc;
clear;
close;
format('v',6)
//given data :
a=0.316;// in nm
h=2;
k=2;
l=0;
d=a/sqrt(h^2+k^2+l^2);
disp(d,"inter planer spacing d_220,d(nm) = ")
// answer is wrong in book
|
524995fe53acd44c4938b2e79617b1508b33b373 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH16/EX16.4/16_4.sce | a4ad51f85b03da6c7149ef8ca1bd4b52b7b41173 | [] | 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 | 421 | sce | 16_4.sce | ////
//Variable Declaration
R = 8.314 //Ideal Gas Constant, J/(mol.K)
T = 298 //Temperature of Gas, K
M = 0.040 //Molecular wt of Ar, kg/mol
P = 101325 //Pressure, N/m2
NA = 6.022e23 //Number of particles per mol
V = 1.0 //Volume of Container, L
//Calculations
Z... |
dc61ae02a617011a61bb5f3c01b00d12b9d25001 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH9/EX9.11/Ex9_11.sce | 915002eadac6b632326e49cc86d11142ff1f59f8 | [] | 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 | 479 | sce | Ex9_11.sce | // exa 9.11 Pg 273
clc;clear;close;
// Given Data
d=26;// mm
L=0.25;//m
F=300;// N
mu=0.14;// coefficient of thread friction
p=5;// mm (for normal series)
dc=d-p;// mm
dm=d-p/2;// mm
l=2*p;// mm
alfa=atand(l/%pi/dm);// degree
fi=atand(mu);// degree
To=F*L;// N.m (Torque applied by the operator)
//Tf=W*dm/2*tand(alfa... |
a32e73393ed7bbac44a10a1a53341fd27cfa21fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH6/EX6.27/ex6_27.sce | 56cd4baaa2006bfb07f61f727ba31864e30f0bd7 | [] | 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 | 844 | sce | ex6_27.sce | // Exa 6.27
clc;
clear;
close;
// Given data
P1 = 2.1;// in MN/m^2
P1= P1*10^3;//in kN/m^2
P2 = 0.7;// in MN/m^2
P2= P2*10^3;//in kN/m^2
V1 = 0.1281;// in m^3
x = 0.9;
n = 1.25;
h_f1= 920;// in kJ/kg
h_fg1= 1878.6;// in kJ/kg
h_f2= 697.0;// in kJ/kg
h_fg2= 2065.0;// in kJ/kg
V_wet1 = x * 0.0949;// in m^... |
338ded1bec11f7c05619d32d2b8c7c537ab5fe8b | 9fd700113e21acbb9d3cef5e6010e7f37656b6e6 | /cs16b025_lab1/Or8Way.tst | a0dec091d1075734e84a84bf9651836c9d0dd556 | [] | no_license | madhav543/cs16b025_lab | 01432fe8d0fbacf4dafe5189413943ec48afaed4 | 4924ea918b9b4dc6eb22b713e639204c9e59c697 | refs/heads/master | 2020-07-11T22:44:32.575114 | 2019-11-19T16:06:12 | 2019-11-19T16:06:12 | 204,659,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | tst | Or8Way.tst | load Or8Way.hdl,
output-file Or8Way.out,
compare-to Or8Way.cmp,
output-list ip1%B2.8.2 out%B2.1.2;
set ip1 %B00000000,
eval,
output;
set ip1 %B11111111,
eval,
output;
set ip1 %B00010000,
eval,
output;
set ip1 %B00000001,
eval,
output;
set ip1 %B00100110,
eval,
output; |
f64ffb1bd4584bee4f6154e6bcf4b3b91753f7bd | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.2_17.tst | 6cbfa1eb15426bc98b07b341ad5de1e4df2093ad | [] | 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 | 723,544 | tst | 5.2_17.tst | 2 95:1 97:1 163:1 448:1 472:1 682:1 753:1 820:1 1216:1 1224:1 1528:1 1556:1 1634:1 1857:1 1922:1 2029:1 2126:1 2280:1 2417:1 2575:1 2736:1 2843:1 2882:1 2888:1 3031:1 3134:1 3402:1 3415:1 3421:1 3689:1 4131:1 4455:1 4819:1 4826:1 4873:1 4880:1 5136:1 5395:1 5409:1 5501:1 5580:1 5898:1 5908:1 5972:1 6017:2 6236:1 6640:1... |
4ab6f241865ef1c32fcbef3e3c045ce101a6f408 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH7/EX7.3/7ex3.sci | d5fee25ca07c261b9600770a8386afc5778b26bf | [] | 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 | 540 | sci | 7ex3.sci | disp("Experiment: a card is selected from a deck of 52 cards ")
disp("A is the event of the selected card being a spade ")
disp("B is the event of the selected card being a face card ")
t=52 ; //the total number of cards
s=13; //number of spades
PA= s/t;
disp(PA,'probability of selecting a spade'... |
d1ef01b7c205d64f64c8305ac3abd3d4436c0607 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH7/EX7.17/Ex7_17.sce | 0a4ad27127658357b3734312822045c2eb69061e | [] | 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 | 441 | sce | Ex7_17.sce | //Ex:7.17
clc;
clear;
close;
P_21=4/5;// ratio of the input available at port2
P_31=1/5;// ratio of the input available at port3
Lt=-10*log(P_21)/log(10);// throughput loss
Lp=-10*log(P_31)/log(10);// tap loss
Le=-10*log(P_21+P_31)/log(10);// excess loss
printf("The throughput loss =%f dB", Lt);
printf("\n ... |
7ba00b13d908be479d142e96bd2e786972baec39 | c87a44be475d3008f7d0fcb8dd2eac3b2fa78e94 | /Examples/Chapter_12/Example_12_5.sce | 3346f5d492ad465dae2f6ddcc332f622b059a71c | [] | no_license | Echeban/icmd3e | 6c766ffafab0137a64de46448879d8a9eed2903c | 6ca0273e322fa390fcabc66669f3f56c9af5a563 | refs/heads/master | 2020-03-27T09:08:47.798549 | 2018-08-27T15:45:44 | 2018-08-27T15:45:44 | 146,316,991 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | Example_12_5.sce | // Example 12.5
mode(0)
function residual = residual(x)
residual = 0.3*E*(x/a)^2*(1-.00875*(phimax-20))*(1-.000175*a/x)-qcr
endfunction
a = 31.2;//m
E = 19.0E9;//N/m^2, from carpet plots
phimax = 22.62; //deg
qcr = 11632;//N/m^2
t_guess = 0.1;
t = fsolve(t_guess,residual)
|
ed91116f261c0fb8b7627d9fc236a2a57eb10344 | afcf746e249b9463101019f07a47845355c6acc2 | /starter_files/hw2/Eq16.tst | cc08da792ad2f6b8318d14ca36b790bfb02a32ca | [] | no_license | jyuan2pace/CS506 | afca44ee8df14436d72de97e658a61841091e651 | fa80d2786f006c226c6e6413ee23fe306d6c57d0 | refs/heads/master | 2020-07-28T13:04:37.077116 | 2019-11-24T20:15:20 | 2019-11-24T20:15:20 | 209,419,478 | 8 | 11 | null | null | null | null | UTF-8 | Scilab | false | false | 1,622 | tst | Eq16.tst |
load Eq16.hdl,
output-file Eq16.out,
compare-to Eq16.cmp,
output-list a%B3.16.3 b%B3.16.3 out%B3.1.3;
set a %B0000000000000000,
set b %B0000000000000000,
eval,
output;
set a %B1000000000000000,
set b %B0000000000000001,
eval,
output;
set a %B1111111111111111,
set b %B1111111111111111,
eval,
outpu... |
45767a519dc52a619e7b5261d2582a85d2170f0f | aa2ea56adac7d55902e03912833928383b6e484c | /P4_QPSK.sce | 3b5e3d9204856e3adcbf2ebfaf05e41c9e347d5e | [
"MIT"
] | permissive | Yash-Yadav/DC_MatLab | dbe2e02d2f15b469c30e21dd318a12dddb3c3376 | 351529f652c905191fc0b56972651665d47aa25f | refs/heads/master | 2020-04-02T19:49:11.097720 | 2018-10-30T08:29:55 | 2018-10-30T08:29:55 | 154,747,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,002 | sce | P4_QPSK.sce | %XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
%XXXX QPSK Modulation and Demodulation without consideration of noise XXXXX
%XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
clc;
clear all;
close all;
data=[0 1 0 1 1 1 0 0 1 1]; % information
%Number_of_bit=... |
a4b8d9bfcad597be6c2d1f0d59945e14bcce3cc2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH5/EX5.5.37/Ch5_5_37.sce | 8b47542056194e0a307a7896ae4f2626c4cc36f4 | [] | 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 | 412 | sce | Ch5_5_37.sce | clc
disp("Example 5.37")
printf("\n")
disp("calculate the phase shift with negative feedback")
printf("Given\n")
//open loop phase shift
Po=15
//open loop gain
Av=60000
//closed loop gain
Acl=300
//to calculate phase shift with feedback
AvB=(Av/Acl)-1
k=((AvB*sin(Po*%pi/180))/(1+(AvB*cos(Po*%pi/180))))
Pc... |
5ddb15bfeeda9ec1457a56b1a6baba60feecc834 | 4ce7e3abde40afbac45b42e735d8099cbfefb1ea | /temperature_critique_MH.sce | d65bff60a456b9639deee6524ca47843be4e7206 | [] | no_license | rakotoshmu/Ising | 48319a622d98840dd47cfa515bb8a3f0d3a98a4a | 8d22ec05aab9843af88212151525913dd223a339 | refs/heads/master | 2021-05-14T07:30:58.728852 | 2018-01-13T13:59:50 | 2018-01-13T13:59:50 | 116,267,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 939 | sce | temperature_critique_MH.sce | /*
Température critique :
T_c théorique ~ 2.269
*/
N = 100;
J = ones(N,N,2);
h = zeros(N,N);
n = 100;
T1 = 2.4; T2 = 2.3; T3 = 2.2; T4 = 2.1;
fig_tcg = scf(); clf(fig_tcg);
printf("Temps d''exécution :\n");
tic();
X1 = ising_MH(J/T1,h/T1,n*N^2);
t1 = toc();
printf("T = "+string(T1)+" : "+string(t1)+"s\n");
subplot(2,... |
630f28fb8181ffeff2fc58ef02117538e6c4f84b | 2a39d29b2cb27e98632f6810ed3c2a22a56fa8eb | /Materias/LabCalcNum/Rafael/criteriolinha.sci | 2478e0d86e395c5a84b0328f2ae2b9c30964f6d3 | [] | no_license | rafael747/my-stuff | 74358384bc1a5b381d1951dfaef87efdf4cb53c2 | 8614aefdc3ca9afdc1534557f73719af8494f7fa | refs/heads/master | 2021-01-17T12:47:48.206860 | 2020-06-04T15:10:20 | 2020-06-04T15:10:20 | 57,989,835 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sci | criteriolinha.sci | function x = criteriolinha(A)
// Verifica se o Criterio das Linhas é satisfeito
[m,n] = size(A);
if m~=n, error('Matriz A deve ser quadrada'); end
for k = 1:n
alfaK=0;
for j = 1:n
if j ~= k then
alfaK = alfaK + abs(A(k,j)/A(k,k));
end
end
if alfaK >= 1 th... |
cb61d6d139818ecdccfa29eac25dc138f766d197 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/kNN/bruteForceNeighbors.sci | 587eeef53fffacdbbae748e9a2167899c9fbdd96 | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 558 | sci | bruteForceNeighbors.sci | function neighbors = bruteForceNeighbors(points,point,k)
wp = size(points,2);
for i=1:k
lp = size(points,1);
minDis = normNoSqrt(point,points(1,:));
neighbors(i,:) = zeros(1,wp);
for j =2:lp
curDis = normNoSqrt(point,points(j,:));
if (curDis~... |
e0f1118d746576365035abf8be23c7e010ac9ba8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH3/EX3.4/3_4.sce | d6b281f3375ba0a41a51ec6769429c7a41bd22c2 | [] | 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,137 | sce | 3_4.sce |
clc
printf("\n")
//Given
OC=9//inches
CP=36//inches
XC=12//inches
X=40//degrees
CM=6.98//from the scaled figure
N1=240//rpm
N2=240//rpm (instantaneous) with angular aceleration (ao) 100 rad/s^2
ao=100 //rad/s^2
w=(%pi*N1/30)
a=w^2*(OC/12)
printf("Centripetal acceleration = %.f ft/s^2\n",a)
Wr=w*CM/CP//r... |
9408b59f5a679b9544c86ca9f03f5c6f4c17dd93 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Projpers.sci | b43451a9aa1a6574e57662a6e272bf8e41d21e6e | [] | 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 | 748 | sci | Projpers.sci | // 08.08.12
// 08.10.28
function CL=Projpers(varargin)
Nargs=length(varargin);
Flg=0;
if Nargs==1 & Mixtype(varargin(1))==1
Flg=1;
end;
CL=[];
for N=1:Nargs
Crv=varargin(N);
if Mixtype(Crv)==1
Tmp=CameraCurve(Crv);
CL=Mixadd(CL,Tmp);
else
if Mixtype(Crv)==3
ObjL=[]... |
07d4a69ef3091f312d8cc014021e3303ee0bcfdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH2/EX2.15/Ex2_15.sce | a5123ba1e5e0ce1dda829ec3a0f694ed8dee3e66 | [] | 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,469 | sce | Ex2_15.sce | //exa 2.15
clc;clear;close;
format('v',7);
P1=poly(0,'P1');
P2=poly(0,'P2');
P3=poly(0,'P3');
Q1=0.002*P1^2+0.86*P1+20;//tons/hour
Q2=0.004*P2^2+1.08*P2+20;//tons/hour
Q3=0.0028*P3^2+0.64*P3+36;//tons/hour
Pmax=120;//MW
Pmin=36;//MW
P=200;//MW
C=500;//Rs./ton
//C1=C*Q1;C2=C*Q2;C3=C*Q3;//Rs./ton
dC1bydP1=... |
249e9a7b6d874fc9ac20c3f76ac1c7f631a57ec0 | da5f041febe4b5e738a88500e6b5c0eeea4da116 | /signals (1)/C1.sce | 4fbd7cb7aa5db3da7bde2e29d510557460147592 | [] | no_license | djouani/scilab-project | 283a5d7467957851787288bb0505a6ceac8b0e07 | 01331434dff090bdff27d416c57ee54484cd2c47 | refs/heads/main | 2023-07-25T04:49:09.341708 | 2021-09-08T11:39:39 | 2021-09-08T11:39:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,821 | sce | C1.sce | global A F Tm Fd T k Signal
//A = evstr(x_dialog("Введи значение Амплитуды от 1-3",''));
//F = evstr(x_dialog("Введи значение Частота сигнала (Гц)",''));
//Tm = evstr(x_dialog("Введи значение Длительность сигнала (с)",''));
//Fd = evstr(x_dialog("Введи значение Частоты дискретизации(8000) (Г... |
caacf0b4dc0aa25aed8c349aa9709f30309a6c44 | 9948e5af5e885117135b1a9ef1e6988dba9a8643 | /test/x121.prev.tst | 47067a30a4550f99f15029e349c1f15fcddf98dd | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/xtrans | eabfbdeee4d0024dee72174566c5c9de003d94d8 | 95dce33e3241ca46ad95df7b86afe2297106f80d | refs/heads/master | 2022-02-11T06:09:40.393075 | 2022-01-28T14:37:52 | 2022-01-28T14:37:52 | 16,539,509 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,738 | tst | x121.prev.tst | <?xml version="1.0" encoding="UTF-8"?>
<interchange>
<ISA><d1>00</d1><d2> </d2><d3>00</d3><d4> </d4><d5>ZZ</d5><d6>SUBMITTERS ID </d6><d7>ZZ</d7><d8>RECEIVERS ID </d8><d9>010122</d9><d10>1253</d10><d11>U</d11><d12>00401</d12><d13>000000905</d13><d14>1</d14><d15>T</d15><d16><c1></c1><c2></c2></d16><... |
dd62ba984162b175076fde2918835dc544f589f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH1/EX1.11/Ex1_11.sce | 4aa40650f1ccbcec50e0b597e8c6b7f73729c394 | [] | 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 | 423 | sce | Ex1_11.sce | //Chapter 01: The Foundations: Logic and Proofs
clc;
clear;
v1=sqrt(2)
v2=(3/2)
//let p be the proposition that sqrt(2) > (3/2)
if v1 > v2 then //which is false
z=v1**2 >v2**2
mprintf("(sqrt(2))^2 > (3/2)^2 %s ", string([%F]))//which is false and as a result will not be printed
end
//The conclusi... |
db0c8841bd8f2a4b0c2730dc5700a847d9468769 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH10/EX10.5/Ex10_5.sce | a1f0669dc1181622d6a1af9fe29e16bc97719ba6 | [] | 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 | 261 | sce | Ex10_5.sce | clear
//given
M=8
d=0.2
u=4*%pi*10**-7
//Calculation
B=u*2*M/(4*%pi*d**3)
Beqa=B/2.0
//Result
printf("\n (i) Magnetic induction at axial point %0.3f *10**-4 T", B*10**4)
printf("\n (ii) Magnetic induction at equatorial point is %0.3f *10**-4 T",Beqa*10**4)
|
838ab781becd7dea7c97f7c0b9fe4d9edebbf44e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH6/EX6.4/Ex6_4.sce | aa17eabd20e41a038c57bb3fa12f77755b4bfdd0 | [] | 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 | 258 | sce | Ex6_4.sce | clear
//Initialisation
Vo=15.2 //Output Voltage
Rl=50 //Load Resistance
//Calculation
Po=(Vo**2)/Rl //Output Power
//Result
printf("\n Output Power, Po = %.1f W",Po)
|
ef8a366e4c955d93c840f8742c2bbe9367309c0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH8/EX8.4/8_4.sce | 9c4ada0fa167dee5dac898432836f055df2236a2 | [] | 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 | 539 | sce | 8_4.sce | clc
//initialisation of variables
t1=261 //temp in k
t3=310 //temp in k
cp=1.005 //kj/kg
r=5
g = 9.81;
//CALCULATIONS
t2=(t1*(r)^((g-1)/g))
t4=(t3/(r)^((g-1)/g))
re=cp*(t1-t4)
ma=(3.5164*3600)/re
woc=cp*(t2-t1)
woe=cp*(t3-t4)
nw=woc-woe
cop1=re/nw
cop2=t1/(t3-t1)
reff=cop1/cop2
//RESULTS
printf('temparature at states 2... |
f1a43649ba13603367820c31249532deb56b83a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH5/EX5.6/Ex5_6.sce | a82734526c85a3c5d2635ea340c48730e2d3f97d | [] | 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 | 351 | sce | Ex5_6.sce | clc
R=8.314
T=300
a=422.546
b=0.0373
v1=30
v2=5
W=integrate('((R*T)/(v-b))-(a/(v.^2))','v',v1,v2)
mprintf("W=%fkJ/kmol\n",W)//ans may vary due to roundoff error
deltaU=a*(1/v1-1/v2)
mprintf("U2-U1=%fkJ/kmol\n",deltaU)//ans vary due to roundoff error
Q=deltaU+W
mprintf("Q=%fkJ/kmol\n",Q)//ans vary due to rou... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.