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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e32f9bdd77f3fa489a59f9d6843bb27b4dc1a1e0 | b2d3db891e489d6c9c22b9c1b7d78745a13f2ebc | /DFT.sce | ac4c1f693e2d6ea01395d3155084a317e76e9517 | [] | no_license | rajas1612/Digital-Signal-Processing | 28f1eee626141f34b71f36fe4f338c2380065a0c | 7b040622bab80a30910a3cde431c7a253c76439d | refs/heads/main | 2023-04-02T22:46:16.605197 | 2021-04-01T12:05:32 | 2021-04-01T12:05:32 | 335,709,667 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,248 | sce | DFT.sce | clear;
clc;
close;
x = [5-4*%i,2-2*%i,-4,-6];
N = [0,1,2,3];
//Plotting magnitude of input signal
scf(1);
title('Plot of magnitude of x(n)','FontSize',4);
xlabel('n','FontSize',4);
ylabel('|x|','FontSize',4);
plot2d3(N, abs(x));
e = gce();
e.children.thickness = 4;
a = gca();
a.x_location = "origin";
... |
31a75b062e6ba5e1deaf764b4dd1af0d88456002 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /apb strafe v5.sce | 7dfe2b39d10ebbb61fb4602a228f62fbebb38714 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 35,878 | sce | apb strafe v5.sce | Name=apb strafe v5
PlayerCharacters=Ascended Tracking
BotCharacters=Long Strafe Bot.bot
IsChallenge=true
Timelimit=9999.0
PlayerProfile=Ascended Tracking
AddedBots=Long Strafe Bot.bot;Long Strafe Bot.bot;Long Strafe Bot.bot
PlayerMaxLives=1
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=aimbotz.map
MapScale=3.81... |
ea22a52b847ecd7c68b9dcf1e177b09950323567 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH9/EX9.6/Example_9_6.sce | d2b2c6fb5c78fb8d6d071d53f8e7ce5987e4de5d | [] | 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 | 964 | sce | Example_9_6.sce | //Caption: Two-tailed one-sample sign test for large sample
//Example9.6
//Page319
clc;
n = 36; //number of samples
p = 1/2;
q = 1-p;
Mean = n*p;
Var = n*p*q;
Std = sqrt(Var);
alpha = 0.05; //significance level
alpha = alpha/2;
plus_signs = 25; //if it is more than 75
minus_signs = 10; //if it is less than 75
no_of_ze... |
903326533c4a926ad5c25bdc8867e579d3b45913 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH14/EX14.6/Ex14_6.sce | 3bb0a918792e2cfa1314112b1a198aba4904d31a | [] | 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 | 447 | sce | Ex14_6.sce |
//Variable Declaration
CNR=87.3 //Downlink Carrier to noise ratio(dBHz)
BER=10**-5 //Bit Error Rate Required
R=0.2 //Roll off factor
EbN0R=9.5 //Eb/N0 ratio(dB)
//Calculation
Rb=CNR-EbN0R //Maximum Transmission Rate(dBb/s)
Rb1=10**(Rb/10) //Maximum Transmission Rate(b/s)
BIF=Rb1*1.2*10**-6/2 //IF Bandwith r... |
88e71f2f2316e5feae403134569e4dfe47f91f10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.16/example4_16.sce | 1d6334ef330be5c0c8eef77a85bbaa38f5c23ec2 | [] | 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 | 936 | sce | example4_16.sce |
//example 4.16
//plot infiltration capacity curve
//calculate constant rate of infiltration
clc;funcprot(0);
//given
D=30; //diameter of inside ring of infiltrometer
A=%pi*D^2/4;
V=[0 200 470 840 1405 1840 2245 2510 2745 2885 2990 3130 3270]; //cumulative volume;
t=[0 2 5 10 20 30 45 60 80 100 120... |
9734f077ac26690d968ac6e6a9b96869f653a13c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH2/EX2.1/Ex2_1.sce | 15c4375e51aff3fb5331d4bb231259bc53ed274a | [] | 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 | 597 | sce | Ex2_1.sce | clc
clear
printf("Example 2.1 | Page number 28 \n\n");
//find work done.
//Given Data
Force = 180 //in N //horizontal force
theta = 30 //in degrees //angle of inclination
distance = 12 //in m //distance moved by block along inclined plane.
printf("Horizontal force acting on block = %.2f N \n",Force);
print... |
8a6f806a3f5ca7cd9321c47677d785f414da9829 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH1/EX1.10/Ex1_10.sce | 29f38810935fe2111c2047d4fb3eadfe1eaa01c0 | [] | 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 | 161 | sce | Ex1_10.sce |
//what is the resistance of each coil
V=200
I=25
P1=1500
R1=(V*V)/P1
R=V/I //total resistance
R2=R*R1/(R1-R)
disp('R2='+string(R2)+' ohms' )
|
7616807d7a574dff6aef9a4c2a99eef49fe5342b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH4/EX4.14/exp_4_14.sce | cc18aa3f61b0e06d352f7365031f8fece5650817 | [] | 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 | 646 | sce | exp_4_14.sce | clear;
clc;
v=400;
Xl=.30;
Xc=3.75*10^(-6);
l=300;
L=Xl/(2*%pi*50);
C=Xc/(2*%pi*50);
Zc=sqrt(L/C);
phase=2*%pi*50*sqrt(L*C);
pconstant=%i*phase;
Vs=v/sqrt(3);
//case a open ckt
Ir=0;
Vr=Vs/(cos(phase*l));
//terminated by surge impedence
VR=Vs/(exp(%i*phase*l));
//carries a load
ld=.6;
Vr1=Vs/(cos... |
f928a2c5262427e59076c48ec7a10f2d8e8628d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.32/example1_32.sce | 05d3267257a327c83e6c9a1f3eafa2fabab0e77c | [] | 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 | 980 | sce | example1_32.sce |
//exapple 1.32
clc; funcprot(0);
// Initialization of Variable
//part1
longP=162+30/60+15/3600;//longitude of place
GST=10+30/60+15/3600;//GST at GMN
RA=22+11/60+30/3600;//local sidereal time
dot=longP/15;//difference in time
i=dot*9.8565/3600;//error
gmm=GST+i;//LST at L.M.N
lmn=RA-gmm;//SI of LMN
i... |
7d2d39cba7a28ab476d8857930f69e211abf057c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH3/EX3.22/ch3_22.sce | 7cb38db777b110d1a8ae81b1fd0e3bc247acc9d4 | [] | 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 | 262 | sce | ch3_22.sce | clear;
clc;
f=50;
CRF=0.05;
R=300;
L=sqrt((CRF/(.4715*R))^-2-R^2)/(2*2*%pi*f); printf("L=%.4f H",L);
R=30;
L=sqrt((CRF/(.4715*R))^-2-R^2)/(2*2*%pi*f); printf("\nL=%.4f H",L);
L=0;
CRF=.4715*R/sqrt(R^2+(2*2*%pi*f*L)^2); printf("\nCRF=%.4f",CRF); |
ed2b570779ad071c8bad2282abb13ad615b765ef | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_J._F._Douglas_557.zip/Fluid_Mechanics_J._F._Douglas_557/CH1/EX1.1/1.sce | 8abde851e6a31cffb6654f8750a49e0af25b76bb | [] | 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 | 262 | sce | 1.sce | errcatch(-1,"stop");mode(2);funcprot(0); ;
//Example 1.1
//Initialization of Variable
sigma = 72.7*10^-3; //Surface Tension
r = 1 *10^-3; //Radius of Bubble
//Calculations
P = 2*sigma/r;
disp(P,"Excess Pressure(N/m2) :")
exit();
|
74e8e8698f5901a1e6fa7a080b93e3951338610e | 92f5993eb05f0a027cc98c0304337a20d2d9da2e | /Perceptron2.sce | 0ef2f3190f67ba6f8811e00357887cd87b3354a0 | [] | no_license | LuhJunior/Teoria-dos-Grafos | 664d034c857199d75e8a513cd0aaa12364347c89 | 22168992af086a2a03442701bcc26abe99d26aaa | refs/heads/master | 2020-03-28T02:39:12.681260 | 2018-12-06T06:29:07 | 2018-12-06T06:29:07 | 147,586,961 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,037 | sce | Perceptron2.sce | function Net()
N0E1 = [1 1 1 1 1 1 1 1...
1 0 0 0 0 0 0 1...
1 0 0 0 0 0 0 1...
1 0 0 0 0 0 0 1...
1 0 0 0 0 0 0 1...
1 0 0 0 0 0 0 1...
1 0 0 0 0 0 0 1...
1 1 1 1 1 1 1 1]
N0E2 = [1 1 1 1 1 1 1 1...
1 0 0 0 0 0 0 1.... |
eeae10be55133eeb95b9aab8a984af3e1e107f9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH6/EX6.7/ex6_7.sce | 536ecbf435a2902de2553f2d1269103f5acec85a | [] | 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 | 112 | sce | ex6_7.sce | //ex6.7
R_C=3.3*10^3;
R_E1=330;
A_v=R_C/R_E1;
disp(A_v,'approximate voltage gain as R_E2 is bypassed by C2') |
adb4638d83ae829c78c85c1377533b7b7c6c4050 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/format.man.tst | 44361614c750207f6d27fac07d036ebe899d6379 | [
"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 | 148 | tst | format.man.tst | clear;lines(0);
x=rand(1,5);
format('v',10);x
format(20);x
format('e',10);x
format(20);x
x=[100 %eps];
format('e',10);x
format('v',10);x
format()
|
576ce0eb2af2d6a62485222200e05b713e7740b2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/setfield.man.tst | 43521b2fff4f0dd89e3e65de9c727d91ae7c1392 | [
"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 | 217 | tst | setfield.man.tst | clear;lines(0);
l=list(1,'qwerw',%s)
l(1)='Changed'
l(0)='Added'
l(6)=['one more';'added']
//
a=hypermat([2,2,2],rand(1:2^3));// hypermatrices are coded using mlists
setfield(3,1:8,a);a // set the filed value to 1:8
|
ec10193f5becfc823dfa04353736d9446d2290ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.22/ch7_22.sci | f32dea78960593c049399ae1519b6cd7ecf2b014 | [] | 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 | 347 | sci | ch7_22.sci | // to compute terminal voltage at rated voltage current
clc;
R_a=0.05;
R_se=.01;
N_f=1000;
N_se=3;
I_sf=5.6; //shunt field current
I_L=200;
I_a=I_L+I_sf;
N=N_f*I_sf+I_a*N_se; //excitation ampere turns
I_freq=N/N_f;
E_a=282;
n=1200;
nn=1150;
Ea=E_a*(nn/n);
V_t=Ea-I_a*(R_a+R_se);
disp(V_... |
7a60efeda17b68d8c3840337fd0c5c6069a8a07f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH7/EX7.4/Exa7_4.sce | 6491a367b416807ec9c65f26e68361bfa9110c1c | [] | 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 | 371 | sce | Exa7_4.sce | // Exa 7.4
clc;
clear;
close;
// given data
VSat=13;//in Volt
R1=270;//in ohm
R2=39;//in Kohm
Vut=R1*VSat/(R1+R2*1000);//in Volt
Vlt=R1*(-VSat)/(R1+R2*1000);//in Volt
VH=Vut-Vlt;//in Volt
disp(Vut*1000,"The upper threshold voltage in mVolt is :");
disp(Vlt*1000,"The lower threshold voltage in mVolt is :");... |
de3060f2cca4fe6d937736772d4b631f67888a6d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/percent/%p_x_r.sci | 9041f8d6c252e71bdf44b78ed7c018dfd77c49e0 | [
"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 | 115 | sci | %p_x_r.sci | function r=%p_x_r(p,r)
// r=%p_x_r(p,r) <=> r=p.*r polynomial.* rational
//!
// Copyright INRIA
r(2)=p.*r(2)
|
b63d23cc636af16e03fca528fc92f72a64397766 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH30/EX30.5/Example_30_5.sce | 8a90e9e7c15814d5c2a25d647296f91f4a107c9d | [] | 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,343 | sce | Example_30_5.sce | //clear//
clear;
clc;
//Example 30.5
//Given
D = 1.5; //[cm]
Nre = 25000;
Qm = 40; //[L/m62-h]
Mw = 30000;
Dv = 5*10^-7; //[cm^2/s]
R = 0.75;
//Solution
//(a)
//Base case:
v = Qm*2.78*10^-5; //[cm/s]
Nsc = 0.01/Dv;
//Using Eq.(21.55)
Nsh = 0.0096*Nre^0.913*Nsc^0.346;
kc = Nsh*Dv/D; //[cm/s]
//Le... |
cde8546a0b05c9ccb90acec0ee481d32e02837ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH8/EX8.8/Ex8_8.sce | 8e2ee65eb71b332e4df85fbdbd51c13e57f5d4ac | [] | 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 | 521 | sce | Ex8_8.sce |
//calculating value of unknown capacitance
V=110//applied voltage
R=30//resistance of resistive circuit
Ir=V/R//Ohm's Law
I=5//total current drawn
Xc=V/sqrt(I^2-Ir^2)
f=50//frequency of supply
C=1/(2*%pi*f*Xc)
mprintf("Capacitance=%f microF\n",C*10^6)
//calculating unknown frequency
I=4//total current drawn... |
2f152b1964bea75e01dd2e30773b5f076eb1e9cc | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.20_7.tst | 7b712b49196680a266b625592770620ecd6ab262 | [] | 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 | 25,130 | tst | bow.20_7.tst | 20 3:2.0 4:0.08333333333333333 13:0.16666666666666666 18:0.3333333333333333 32:0.25 44:1.0 62:0.3333333333333333 65:0.2 73:1.0 78:0.25 89:0.16666666666666666 131:0.5 139:0.16666666666666666 144:1.0 175:1.0 242:0.018518518518518517 335:0.3333333333333333 365:1.0 492:1.0 726:1.0 917:1.0 1138:0.5 2874:1.0 3294:1.0 3917:1.... |
1bdf856248429c3a83493ba1d78035bce84ee661 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH8/EX8.3/ex8_3.sce | 9c5e9ab98b8287be9c7c475e9b4bc9bd702eb887 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | ex8_3.sce | // Exa 8.3
clc;
clear;
close;
// Given data
m = 800;// in kg
C_p = 0.5;// in kJ/kg K
T2 = 500;// in K
T1 = 1250;// in K
T_o = 300;// in K
del_t = T1 - T2;// in K
Q = m * C_p * del_t;// in kJ
dS = abs(m * C_p * log(T2/T1));// in kJ/K
availableEnergy = Q - (T_o * dS);//in kJ
disp(round(availableEnergy*10^-3... |
13744348af417541b1a0a7a4176b4cafbab8f403 | 32869948ce801ed2e69b5fb986fc310cab9a6d4a | /macros/MachinePal/xcpl_IMPU.sci | aac4fb7b09beb6ebe37137529023ee68589b9924 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ierturk/SciPowerLab | 54ed5755cf4f3854176d7088f893317fe86cc0cf | da5d153272bae12564c1ded95241d6b40c8b4a90 | refs/heads/master | 2022-07-20T15:29:09.447509 | 2022-07-18T21:10:36 | 2022-07-18T21:10:36 | 94,237,627 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,237 | sci | xcpl_IMPU.sci | // ErturkMe - Copyright 2011 - 2022
// http://erturk.me
// ierturk@ieee.org
// See license.txt
function [x, y, typ] = xcpl_IMPU(job, arg1, arg2)
x = []; y = []; typ = [];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x, y, typ] = standard_inputs(arg1)
case 'getout... |
2ebe33bdd470c720802d62d4b671ed496b81e3ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH5/EX5.8/5_8.sce | 3067ab5a8e860d48f6ab940a752c5f13f2805490 | [] | 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 | 5_8.sce | clc
//initialisation of variables
n= 1
n1= 0.5
n3= 0.36
n4= 0.67
n5= 0.34
r= 3
//CALCULATIONS
A= (n-n1)/(n1-n3)
A1= r*(n4-n1)/(n1-n5)
//RESULTS
printf (' amount of phase at 375 C = %.1f',A)
printf (' \n amount of phase at 370 C = %.1f',A1)
|
a38f4a7acd8f9c99718333aef57cb5a9b4de043e | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/2dof_controller/twodof.sci | b242b0b54a7c028eb8875a75d53696c660ef8974 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 769 | sci | twodof.sci | function [stop] = twodof(setpoint,fan)
global temp u_old_old u_old r_old_old r_old y_old_old y_old u_new heat r_new y_new
r_new = setpoint;
y_new = temp;
//u_new = (1/Rc(1))*(gamm*Tc(1)*r_new + gamm*Tc(2)*r_old + r_old_old*Tc(3)*gamm - Sc(1)*y_new -Sc(2)*y_old - Sc(3)*y_old_old - Rc(2)*u_old - Rc(... |
cc6ea016af616c7d34b7a680285f390b10f2f1e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH5/EX5.8/EX5_8.sce | 19d750c0cd2bb3098eb9a8fae3a4f68a06f633e0 | [] | 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 | 930 | sce | EX5_8.sce | //chapter 5
//example 5.8
//page 429
clear;
clc;
disp("example 5.8");
disp("P=6 , f=50");
P=6;
f=50;
Sp=12; //slots per pole
Cs=4; //conductors per slot
Fp=1.5;
TS=Sp*P
printf("total number of slots=%d\n",TS);
printf("total number of slots per phase= %d\n", (TS/3));
printf("total numb... |
2e783ea771d6f0ee735c01da31669be2061b7c0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/DEPENDENCIES/collision.sci | 7083d50766c8eb95ee5f9595936298142ee3f67c | [] | 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 | 471 | sci | collision.sci | //To calculate velocities after a two particle head on collision
//Vf = velocities after collision
//**Already defined variables**
//e = newton's constant for collision
//m1&m2 = masses of the particles
//Vi = initial velocities of the particle
function [f] = collision(Vf)
f=zeros(2,1);
//newton's equat... |
6ffac7713c86e4a97bfc2240278b5eed20b61076 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH4/EX4.4/Ch04Exa4.sce | 97838a9b5c439c4fedb703b6aae2352b0634867b | [] | 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 | 618 | sce | Ch04Exa4.sce | // Scilab code Exa4.4 : : Page 178 (2011)
clc; clear;
V = 1000; // Operating voltage of Counter, volt
x = 1e-004; // Time taken, sec
b = 2; // Radius of the cathode, cm
a = 0.01; // Diameter of the wire, cm
E_r = V/(x*log(b/a)); // Radial electric field, V/m
C = 1e+009; ... |
a366243fcbebc2c6c73debe5cef078d213949993 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH19/EX19.6/Ex19_6.sce | e509de1c4ebc26f09962fef150302e299f955d22 | [] | 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 | 771 | sce | Ex19_6.sce |
//calculating speed
P=4//no. of poles
V=220//applied voltage
Ia=46//current in armature circuit
Ra=.25//field resistance
Rse=.15//series field resistance
Rm=Ra+Rse
Eb=V-Ia*Rm
A=2//no. of parallel circuits
phi=20D-3//flux per pole
Z=1200//total conductors on armature
N=round(60*Eb*A/(P*phi*Z))
mprintf("Spe... |
8ecfe1fb70d27d993f8c9b30d565860488c02317 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH3/EX3.5/3_5.sce | 83252af3c4c6356472585fa2019c125243631271 | [] | 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 | 514 | sce | 3_5.sce | clc,clear
printf('Example 3.5\n\n')
N2_by_N1 = 1+(20/100)
phi1_by_phi2 = N2_by_N1 //N (prop.) 1/phi as losses are negligible
I_a2_by_I_a1 = phi1_by_phi2 //because I_a (prop.) 1/phi
I_se2_by_I_a1=0.65 //I_se2 =0.65*I_se1 =0.65*I_a1
ratio = I_a2_by_I_a1/I_se2_by_I_a1 //where ratio = 1+ R_se/R_div
Rse_by... |
a4175d1a5b7810d4701d74e827aa10936e06aabe | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH11/EX11.2/Example_11_2.sce | d9a4f37525f2e19ca4bd6f4accd52e088ea77a66 | [] | 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 | 512 | sce | Example_11_2.sce | clc;
clear;
printf("\n Example 11.2\n");
x=150e-3; //Distance from leading edge where thicness is to be found
Meu_o=0.05; //viscosity of oil
rho_o=1000; //Density of oil
u=0.3; //Velocity of flow
Re_x=x*u*rho_o/Meu_o;
//For streamline flow:
//from equation 11.17
del=4.64*x/Re_x^0.5;//thickness of the bo... |
c338a686e65cbfa8186cfeb19b71824b6137c7ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH3/EX3.5/5.sce | 2cd346bb67d7e45259ada5aa02fc08f7c886a21a | [] | 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,982 | sce | 5.sce | clc
clear
//input data
P1=120 //Static pressure at entrance in bar
T1=313 //Static temperature at entry in Kelvin
M1=2.5 //Mach number at entrance
M2=1.8 //Mach number at exit
D=0.2 //inner pipe diameter in m
f=0.01/4 //frictional factor
k=1.4 //Adiabatic constant
R=287 //Gas constant in J/kg-K
//calcula... |
5fafd7c67f705e17fdf4400ed18c07b6140b3e29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.25.a/data10_25.sci | e339d3e7cb49c64f0ea6e4c0b6a17c7ab4dafb1b | [] | 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 | 406 | sci | data10_25.sci |
//(Springs) Example 10.25
//Number of extra full length leaves nf
nf = 2
//Number of graduated length leaves ng
ng = 10
//Centre-to-centre distance between two eyes l (m)
l = 1.2
L = l/2
//Maximum force acting on each eye of the spring P (kN)
P = 30/2
//Modulus of elasticity E (N/mm2)
E = 207000
//Factor of safety fs
... |
d24ade446084de757c36d1e30d93ae3d56ab27ab | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.2_18.tst | 84400d1ca4c79d441f698500ffe14d197aab2c98 | [] | 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 | 714,314 | tst | 5.2_18.tst | 2 115:1 118:1 172:1 422:1 637:1 711:1 768:1 1104:1 1114:1 1368:1 1394:1 1462:1 1681:1 1727:1 1818:1 1826:1 1928:1 2064:1 2216:1 2369:1 2670:1 2705:1 2710:1 2847:1 2956:1 3207:1 3227:1 3491:1 3951:1 4290:1 4651:1 4659:1 4711:1 4719:1 4976:1 5238:1 5347:1 5425:1 5768:1 5774:1 5836:1 5895:2 6110:1 6509:1 6616:1 7209:1 763... |
eae7d8129071e83bc28e8d2f827e899ccc5498ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH11/EX11.3/ex11_3.sce | 6f58c32022cccf02628cbb01314926d5b12f31f4 | [] | 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 | 399 | sce | ex11_3.sce | //Calculate impedance and quality factor and bandwidth
clear;
clc;
//soltion
//given
R=10;//ohm
L=150*10^-6;//H
C=100*10^-12;//F
fo=1/(2*%pi*sqrt(L*C));
Zp=L/(C*R); //impedance
printf("The impedance Z= %.0f kΩ\n",Zp/1000);
Xl=(2*%pi*fo*L);
Q=Xl/R;
BW=fo/Q;
printf("The Quality factor of the circuit... |
f06ae40c2fbda55e14af9a6d61a8a261b58039c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH4/EX4.17/Ex4_17.sce | 9ccf3b01e73b2a1c3ff5b75bd8728b6bd3e6e44c | [] | 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 | 930 | sce | Ex4_17.sce | // Calculating the temperature of machine after one hour of its final steady temperature rise
clc;
disp('Example 4.17, Page No. = 4.24')
// Given Data
Ti = 40;// Initial temperature (in degree celsius)
T_ambient = 30;// Ambient temperature (in degree celsius)
Tm = 80;// Final steady temperature rise (in degree ce... |
185fce587cc348e57b71e9ca3726a057a830b07f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH2/EX2.7/2_7.sce | 0e37b012eb58bc687c1529d28f366dfb7ae7050d | [] | 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 | 2_7.sce | //ques-2.7
//Calculating Higher and Lower calorific value
clc
V=0.1;//Volume of gas used (in kL)
W=25;//Weight of water heated (in kg)
t1=20;//Inlet temperature
t2=33;//Outlet temperature
m=0.025;//Weight of steam condensed (in kg)
L=580;//Latent heat of condensation (in kcal/kg)
HCV=(W*(t2-t1))/V;//Higher cal... |
731b3a037b8991c96bdd9e144487f35115a2c3b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH7/EX7.6/Ex7_6.sce | 286d1aa9e6e044e2f2b42a2eda62296690608ae6 | [] | 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 | 149 | sce | Ex7_6.sce | //Chapter 7, Example 7.6, Page 206
clc
clear
// Energy required
Z = 79
E = 700/Z
printf("E = %f MeV\n",E)
//Answers may vary due to round off error
|
77a5a192dae96e857e9a99637562fb86c89e121b | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH3/EX3.7/ex_7.sce | 5a6d41a181ba84d2bb635a4d90c51cd50247a04d | [] | 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 | 305 | sce | ex_7.sce | // PG (144)
deff('[y]=f(x)','y=sqrt(x)')
funcprot(0)
deff('[y]=fp(x)','y=0.5/sqrt(x)')
funcprot(0)
deff('[y]=fpp(x)','y=-0.25*x^(-3/2)')
funcprot(0)
deff('[y]=fppp(x)','y=3*x^(-2.5)/8')
deff('[y]=fpppp(x)','y=-15*x^(-7/2)/16')
// f[2.0,2.1,.....2.4] = -0.002084
fpppp(2.3103)/factorial(4) |
723f8f33ffe17f42f2b5d552764914648748a6d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH8/EX8.4/Ex8_4.sce | 4619266ead22f2acdb3909b452dd56776ee6f90e | [] | 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 | 341 | sce | Ex8_4.sce | clear;
clc;
//page no. 266
k = 1/10;
v = 3000;//fps
h = 15000;//altitude
T = 68;// degreeF
am = 870;//fps
ap = 1057;//fps
Vm = v*(am/ap);
rho_m = v*(1/k)*0.001495*0.031/(0.033*Vm);
p_m = 32.2*rho_m*34.9*(T+460)/(144);
printf('Vm = %d fps\n p_m = %d psia',Vm,p_m);
//there is a small error in the answe... |
cd91a31ee7018108e2538268c71d722f4659010e | 7a7243b631b4f0fb324461821ad8dad7d9534fff | /macros/checkPython.sci | 17d18812f5de83cb30d48b9e537efaa6e45edd64 | [] | no_license | Mishrasubha/napari-toolbox | 1db240ec69cb1c3499fd639c790555716493f54a | e1b8dfe5539d457a57ca20dae2661dab55088368 | refs/heads/master | 2022-10-11T20:49:00.512777 | 2020-06-15T07:14:11 | 2020-06-15T07:14:11 | 272,357,233 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 809 | sci | checkPython.sci |
//Check if python is installed
function [pythonExternInstall, pythonPath] = checkPython()
pythonExternInstall = %f;
// get Python version
// use a trick as unix_g("python -V") does not return anything (bug)
[pythonVersion, err, errMsg] = unix_g("python -c ""exec(\""import platform\nprint(platform.pyt... |
90246dc7983dffdd44b9adc3edf72f36644ebf94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH17/EX17.14/Ex17_14.sce | aa51305e2acdb5fe034a0b1e531fc6b353fb8d04 | [] | 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 | 373 | sce | Ex17_14.sce | //Variable declaration:
//From example 17.13:
Qf = 108.9 //Fin heat transfer rate (W)
Qw = 18.4 //Total heat transfer rate without the fin (W)
//Calculation:
E = Qf/Qw //Fin effectiveness
//Result:
printf("The fin effectiveness is : %.2f .",E)
if E>2 then
print... |
b4f37db02506c7ff07d71b672ba352cb216cb31b | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH5/EX5.12/5_12.sce | e70979e328548bf79e1aeb811c13ed9004158a97 | [] | 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 | 555 | sce | 5_12.sce | //pathname=get_absolute_file_path('5.12.sce')
//filename=pathname+filesep()+'5.12-data.sci'
//exec(filename)
//Mass of air(in kg):
m=0.5
//Initial pressure(in Pa):
p1=1.013*10^5
//Final pressure(in Pa):
p2=0.8*10^6
//Initial temperature(in K):
T1=800
//Index of compression:
n=1.2
//Adiabatic index of compr... |
c2e34d4c4b91f8c1f23a77479295baa7097f8b94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.6/Ex11_6.sce | fdf0c4a66e06e6444e885ccfb2292a49013d338e | [] | 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,602 | sce | Ex11_6.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 11.6\n\n\n");
// Chapter 11 : Heat Transfer
// Problem 11.6 (page no. 559)
// Solution
//For Brick,
deltaX=0.150; //Unit:m //150 mm = 0.150 m //deltaX=length //unit:meter
A=1; //area //unit:m^2
k=0.692; //Unit:W/(m*C) //k=proportionality constant //... |
7bab66b8b243df504089d1c14c8738e57ffaf55e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH3/EX3.18/ex3_18.sce | dcd3e0ed30f248acd8d5c3c3dd47355882395067 | [] | 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 | 521 | sce | ex3_18.sce | // Exa 3.18
clc;
clear;
close;
// Given data
V_S = 7.5;// in V
V_Z = 5;// in V
R_S = 4.75;// in ohm
I_Zmin= 0.05;// in A
I_Zmax=1.0;// in A
I_S = (V_S-V_Z)/R_S;// in A
I_Lmax= I_S-I_Zmin;// in A
disp(I_Lmax,"The maximum value of load current in A is : ")
// when
V_S= 10;// in V
I_S = (V_S-V_Z)/R_S;// in ... |
3eea9cc5861d32f0cc22db2a537c461dc4679ca9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH13/EX13.13/Ex13_13.sce | a99521db8f5cce961c17020ef2b4afdbd144799a | [] | 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 | 666 | sce | Ex13_13.sce | //Variable declaration:
h1 = 548.0 //Steam enthalpy at the entry and exit to the boiler (kJ/kg)
h2 = 3989.0 //Steam enthalpy at the entry and exit to the turbine (kJ/kg)
h3 = 2491.0 //Steam enthalpy at the entry and exit to the pump (kJ/kg)
QH = 2... |
424e2b23fb5a485bf396f026568bdfeb706d390f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH5/EX5.2/Ex5_2.sce | 0fac4fcb71b5b5817f5a0dc93c7d3f44c3885a55 | [] | 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 | 604 | sce | Ex5_2.sce | //chapter 5
//example 5.2
//Calculate de-Broglie wavelength
//page 103-104
clear;
clc;
//given
K=50; // in eV (Kinetic energy)
m0=9.1E-31; // in Kg (mass of electron)
h=6.625E-34; // in J-s (Planck's constant)
e=1.6E-19; // in C (charge of electron)
//calculate
K=K*e; //changing unit from eV to J
//Since K... |
eb3f119dec5d1689b1dab1f8ab4f5c34e5247d0e | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_9/ej1.sce | 2fe46e64a71838f37b3cd9fe31790e852ef2aff0 | [] | 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 | 372 | sce | ej1.sce | clc
//Localizar una raíz gráficamente y=x^2+5*x+2*e^x
//Igualando y = 0
//f1(x)=x^2+5x
//f2(x)=-2e^x
deff('y=f1(x)','y=x.^2+5*x')
deff('y=f2(x)','y=-2*exp(x)')
xx = [-5:0.01:5]
yy1 = f1(xx)
yy2 = f2(xx)
plot(xx,yy1,'r',xx,yy2,'b')
xgrid(10)
deff('y=f(x)','y=x^2+5*x+2*exp(x)')
disp(f(-1))
disp(f(0))
z = biseccion(f,-1,0... |
9d2e8a0d48f8a512e6150cf084f0936a313f38ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH7/EX7.13/7_13.sce | df47657174f8f15c93aea9826757a18eb2600ec6 | [] | 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 | 821 | sce | 7_13.sce | //Example 7.13
//Calculate the net rate of heat loss
//from unit length of pipe by radiation if
//(a) tha pipe surface is considered black
//(b) the pipe surface has an emissivity of 0.74
//Variables declaration
d=0.114 //m, dia.o f pipe
l=1 //m, length of pipe
A=(%pi)*d*l //m sq, area
e1=1... |
93c7cfd31b6bae3e91c6fc9f3662fe941fb76c9a | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/microdaq_blocks/mdaq_adc.sci | 55503fc086e50d48686e1a8cbe693ca561d5b3aa | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 5,126 | sci | mdaq_adc.sci | function [x,y,typ] = mdaq_adc(job,arg1,arg2)
adc_desc = ["This block reads MicroDAQ analog inputs (AI).";
"Select ADC type according to your hardware setup.";
"";
"output(1) - 16bit raw ADC value";
"output(2) - measured value in volts";
"";
"Converter:";
" ADC01 - 8 channel, 166ksps, 1... |
52fc8a1ced6fcfa465b40acc5f6c7394fefd0f99 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/probes/watch8.tst | 876f5e1ead072124ec03d3012d4a4693f0622d0c | [] | 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 | 1,087 | tst | watch8.tst | # @Harness: probes
# @Result:
# @Program: array.asm
# @Purpose: Tests watches on reading of memory locations that are enabled by events
watch A { | | | }
event B {
insert A 0x100;
insert A 0x101;
insert A 0x102;
insert A 0x103;
insert A 0x104;
insert A 0x105;
insert A 0x106;
insert A 0x107;
insert ... |
c9309bdc8ca5dd474c68666851a734f39946b6f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH5/EX5.1.11/example5_11.sce | 4547250d226ab870718d944c239147cf17e08c96 | [] | 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,372 | sce | example5_11.sce |
//exapple 5.11
clc; funcprot(0);
// Initialization of Variable
g=9.81;
q=1.49;
pi=3.14;
//calculation
//part1
Dc=(q^2/g)^.333;
disp(Dc,"critical depth in (m):");
//part2
n=0.021;
su=1.85*pi/180;//slope upstream
sd=0.035*pi/180;//slope downstream
Dnu=(n*q/sqrt(su))^(3/5);
Dnu=round(Dnu*1000)/1000;
d... |
6f38518693ddd9273191dde89ef4347ef01bf316 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH6/EX6.8/Ch06Ex8.sce | 11963c1e5839cc6537348b3c381262963c17cfd2 | [] | 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 | 817 | sce | Ch06Ex8.sce | // Scilab code Ex6.8: Pg:250 (2008)
clc;clear;
// Define function to convert degrees to degree and minute
function [deg, minute] = deg2degmin(theta)
deg = floor(theta);
minute = ceil((theta-deg)*60);
endfunction
C = 48; // Critical angle of incidence, degree
mu = 1/sind(C); // Index of refraction
... |
adcab9968210e963a73ce7d6dec19623af06aea4 | b67defe3c1cae63dd1a79578f840d069568034e6 | /scilab/mulluck.sci | 3d75f5d9c32fd2756f3085c98b02b68decd29d9c | [] | no_license | wmacevoy/luck | bf5d93ce00e8136634d715057a97706d3aa804b3 | 47e5c8eb1782a1b4f3f5b9e7583290d9a842532e | refs/heads/master | 2023-05-03T14:46:51.353817 | 2023-04-25T03:13:44 | 2023-04-25T03:13:44 | 33,452,250 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sci | mulluck.sci | exec("mulluckrec.sci",2);
function el=mulluck(x,p,eps)
if ~exists("eps","local") then
eps=sqrt(%eps);
end
[nprobs,nsamps]=size(x);
ntrials=sum(x,'r');
min_ntrials=min(ntrials);
max_ntrials=max(ntrials);
assert_checkequal(min_ntrials,max_ntrials);
el=mulluckrec(min_ntrials,0,mulprobln(x,p),1,p,zeros... |
51c26c978850be6e57efbdddfa41f899d87a5af9 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/EA39DWK/ATWM1_Working_Memory_MEG_EA39DWK_Session1/ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | a568b955ff6d0af3e737572ce4289f8e5307cabe | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,405 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monit... |
d350c255039c8b77710994cf4d025307bd2379b7 | 96ddb5c7e26f4c4665fed642bcd3e7492c8b3af9 | /pammod.sci | ad03c89fbe0c9eb1719967a06bd442357d1b8233 | [] | no_license | kUser18/comm_scilab | 8faa238d1affd5842ae20b8dbc0d59324d12b477 | c98d78ba55b73644bf32cf1f901b6c0e45d73bc2 | refs/heads/master | 2020-03-26T11:00:15.328570 | 2018-09-30T20:35:50 | 2018-09-30T20:35:50 | 144,823,988 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,312 | sci | pammod.sci | function P = pammod(x, m, phi, datatype)
//
//Function Description
//pammod: This function modulates a sequence of integers
//x into a complex baseband phase amplitude modulation signal.
//
//Calling sequence:-
//pam = pammod(x,m)
//pam = pammod(x,m,phi)
//pam = pammod(x,m,phi,datatype)
//
//Parame... |
ddc019531cc5c8937898181545367c690a219802 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH4/EX4.3/Ex4_3.sce | 14e5cb04eb44e87270cb3cf5edd63ced9ebe8bcf | [] | 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,244 | sce | Ex4_3.sce | clear all; clc;
disp("Scilab Code Ex 4.3 : ")
//Given:
d_ac = 20; //mm
r_ac = d_ac/(2*1000); //radius in m
d_bd =40; //mm
r_bd = d_bd/(2*1000); //radius in m
P = 90; //kN
E_st = 200*(10^9); //Pa
E_al = 70*(10^9); //Pa
l_af = 200; //mm
l_fb = 400; //mm
l_bd = 300; //mm
l_ac = l_bd;
//Calculations:
... |
7564c3fc977cf01e352b254fe8bb45ddb2dca6f8 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Ptsw.sci | 5b0a34742627085806a1b69e9aeebb3e9e76dbb0 | [] | 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 | 217 | sci | Ptsw.sci | // 10.01.13
function Out=Ptsw(varargin)
global XMIN XMAX YMIN YMAX
if length(varargin)==0
Out=[XMIN,YMIN];
else
G=varargin(1);
Xm=min(G(:,1));
Ym=min(G(:,2));
Out=[Xm,Ym];
end;
endfunction |
24aeee82c35f7682478374e9c294ef909b2b1b5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH2/EX2.3/Ex_2_3.sce | 473e3995fc836c96681a9bb2f1267f86f3b4bd37 | [] | 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 | sce | Ex_2_3.sce | //Example 2_3
clc;
clear;close;
//Given data:
Eb=55.5;//V
R=10;//ohm
//Vin=110*sin(omega*t);//V
Vm=110*sqrt(2);//V
//Solution :
omega_t=asind(Eb/Vm);//degree
Iavg=1/2/180*integrate('(Vm*sind(omega_t)-Eb)/R','omega_t',omega_t,180-omega_t);//A
disp(Iavg,"Average current in the circuit(A) : ");
|
7f2b9475b52525a67f90e4f31f7cee373f514dc0 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_9/biseccion2.sce | e4dc3bad118f47a680167b301a4e4eb19be6a49c | [] | 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 | 372 | sce | biseccion2.sce | function z=biseccion2(f,a,b,Tol)
c=(a+b)/2
err=(b-a)/2
z=[a b c f(a) f(b) f(c) err]
n=ceil(log2((b-a)/(2*Tol)))
while err>Tol
if f(a)*f(c)<0
b=c
else
a=c
end
c=(a+b)/2
err=(b-a)/2
z=[z;a b c f(a) f(b) f(c) err ]
end
... |
92bd5cf6210cf8d77fd0930c2c7d1c59c6b22c54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH9/EX9.7/9_7exam.sce | db344931e76360536a6499694feac590e4b081cf | [] | 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,516 | sce | 9_7exam.sce | //Engineering and Chemical Thermodynamics
//Example 9.7
//Page no :453
clear ; clc ;
//Given
del_h0_f_NH3 = -46.11 ; // [kJ/mol],From table E9.7
del_h0_f_N2 = 0 ; // [kJ/mol],From table E9.7
del_h0_f_H2 = 0 ; // [kJ/mol],From table E9.7
del_g0_f_NH3 = -16.45 ; // [kJ/mol],From table E9.7
del_g0_f_N2 = 0 ; /... |
23d058c1bf234e49c8ba90fda310a526984d41ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /555/CH7/EX7.3/3.sce | e1a470ec05cce1c396e56d129f13a3096a58b78d | [] | 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,091 | sce | 3.sce | // Implementation of example 7.3
// Basic and Applied Thermodynamics by P.K.Nag
clc
clear
m = 1; //mass of ice in kg
Lf = 333.3; //latent heat of fusion of ice in kJ/kg
T2 = 0; //degree C
T2 = T2 + 273; //K
T1 = -5; //degree C
T1 = T1 + 273; //K
Ta = 20; //degree C
Ta = Ta + 273; //K
Cp_ice = 2.093; //... |
6f97683f1d1a8d4361f8f602c44760f76e5fd73d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH5/EX5.9/Ex5_9.sce | 952fd752838537e6b7e0c293bab2795083c989d7 | [] | 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 | 664 | sce | Ex5_9.sce | clc
//Chapter5
//Ex_9
//Given
e=1.6*10^-19 // in coulombs
Nd=10^17 //in cm^-3
Na=9*10^16 //in cm^-3
//part(a)
ue1=800 // at 300 kelvin ue in cm2/V/s
sigma1=e*Nd*ue1
ue2=420 // at 400 kelvin ue in cm2/V/s
sigma2=e*Nd*ue2
disp(sigma2,sigma1,"when Si sample is doped with 10^17 arsenic atoms/cm3, the conductivi... |
1b6e851f11b6a5dc2532f126a5ff70d1c4411d9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH7/EX7.4.1/7_4_1.sce | 41f259a0e0d171784e23ded5c5e32aa0ed402390 | [] | 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 | 312 | sce | 7_4_1.sce | clc;
//page no 230
//prob no. 7.4.1
//Refer example 7.3.1
//2-tuning capacitor with max 350pF/section ^ capacitance ratio in eg. 7.3.1
Rco=8.463;Rfo=2.909;Rcs=4.182;Rfo=2.045;fo_max=2055*10^3;fo_min=1005*10^3;
Cs_max=350*10^-12;
//For the RF section
Cs_min=Cs_max/Rcs;
disp('F',Cs_min,'The Cs_min is'); |
ea6812562cc7eb73db263857266c143af5b33126 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH6/EX6.5/Ex6_5.sce | 94ee69ee6b6f9ec405bab74d59528ae441e2c7a0 | [] | 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,205 | sce | Ex6_5.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 6 : CONTROL AND STARTING OF A DC MOTORS
// Example : 6.5
clc;clear; // clears the console and command history
// Given data
V_t = 230 // shunt motor supply voltage in V
R_a = 0.4 ... |
1d46b68cb63de538a8d201a670aad71593aff6c3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/examples/addinter-examples/ex8c.sce | 4cf75e241d7abcdd826762822b0e4017849b9f95 | [
"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 | 255 | sce | ex8c.sce | a_chain='hello';s=poly(0,'s');
deff('[y1,y2,y3]=myfunction(x1,x2)','y1=x1+x2,y2=1+s,y3=a_chain')
x1=1;x2=2;
[y1,y2,y3]=myfunction(x1,x2);
[u,v,w]=ex8c(x1,x2,myfunction);
if u-y1 > %eps then pause,end
if v-y2<>0 then pause,end
if w<>y3 then pause,end
|
46846e1039425fb14c49092e8233eaf2c3a888c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH5/EX5.6/ch5_6.sce | 4f8bea5c34a5892fdb756cf71a902fc77c5c30f6 | [] | 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 | 174 | sce | ch5_6.sce | clear;
clc;
V_s=200;
R=5;
C=10*10^-6;
//for turn off V_s*(1-2*exp(-t/(R*C)))=0, so after solving
t_c=R*C*log(2); printf("circuit turn off time=%.4f us",t_c*10^6); |
8fd2433ef1376d017032853752adb701a301a49a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH8/EX8.3/ex8_3.sce | b7599872fcc0b46a9bae2ca115527a515b290ba7 | [] | 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 | 328 | sce | ex8_3.sce | errcatch(-1,"stop");mode(2);//Example 8.3, page no-508
i1=37
i2=42
i3=13
i4=6.7
Imax=(i1+i2)+(i1+i2)*(3/100)+(i3+i4)+(i3+i4)*(1/100)
Imin=(i1+i2)-(i1+i2)*(3/100)+(i3+i4)-(i3+i4)*(1/100)
printf("Maximum level of total supply current = %.3f mA\nMinimum level of total supply current = %.3f mA",Imax,Imin)
... |
5074bd663ccfc18cb4ef8b53059707a8acc37b4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH9/EX9.14/9_14.sce | bf58c9cde00972775de218af93cd4c9577777fcd | [] | 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 | 359 | sce | 9_14.sce | clc
//Initialization of variables
T=4.5
a=0.6
u=5 //m/s
rho=1000 //kg/m^3
//calculations
sint=0.5*(1- T/(2*%pi*a*u))
theta= asind(sint)
dp= 0.5*rho*u^2 *(1 - (2 + T/(2*%pi*a*u))^2)
//results
printf("Angle = %.1f %.1f degrees",theta,180-theta)
printf("\n Min guage pressure = %.2f kN/m^2",dp/1000)
//The answ... |
940146c9a6c602c4e54c8c3e4338995b12581c2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH10/EX10.5/Ex10_5.sce | f0d4bcbd640f5b3d406cd15097e0d07a3701809d | [] | 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 | 514 | sce | Ex10_5.sce | clc
// initialization of variables
clear
E=200 //GPa
h=102 //mm
b=68 //mm
Ix=2.53e+06 //mm^4
L1=4 //m
ko=0.35 //N/mm^3
P=30.0 //kN
//calculations
E=E*10^3
P=P*10^3
L1=L1*10^3
k=b*ko
Beta=(k/(4*E*Ix))^(1/4)
if(L1>3*%pi/(2*Beta))
y_max=2*P*Beta/k
M_max=-0.3224*P/Beta
S_max=abs(M_max*h/(2*Ix))... |
1c1585f4de11fdbf28329b1f58ea88f82f85fc0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH4/EX4.21/4_21.sce | 44fd7445c712de2a05978fc3b222d5ba09fa0104 | [] | 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 | 354 | sce | 4_21.sce | clc
clear
//Initialization of variables
ta=310 //K
tc=917.3 //K
td=365.2 //K
n=0.602
k=1.4
//calculations
lntb= 1/(1-n)/k
tb=tc- lntb*(td-ta)
rc=(tb/ta)^(1/(k-1))
//results
printf("Temperature at B = %.1f K",tb)
printf("\n Compression ratio = %d ",rc)
disp("The answer given in textbook for rc is wrong. p... |
b38c4676c118c65a8f79902ccbd4518d891b19d1 | 09fb666c0701b49ab031e9c772024f96f6ed1c7e | /Lab 6/laboratorio6.sce | 4321acd098bb48977403c1e683a20a5cd1f01190 | [] | no_license | Alejandro287/Numerica_Methods | ccbf8fa032809f6f6398a0f8100a268a750d8491 | 968f6cf10b651ff1049855a677753e6b2a44ca26 | refs/heads/master | 2020-04-02T02:45:35.586981 | 2018-10-20T16:38:01 | 2018-10-20T16:38:01 | 153,926,195 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | laboratorio6.sce | function fx = f(x)
fx = (exp(-(x^2)/2))/(sqrt(2*%pi))
return fx
endfunction
clc
disp(">> Regla compuesta del trapecio")
T = UN_integral_trapecio(-3,3,106)
disp(T)
disp(">> Regla compuesta de 1/3 de Simpson")
S = UN_integral_simpson(-3,3,10)
disp(S) |
0196ec3c310cda059962963ed13462e7bcdbe28a | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 5/Questao1.sce | d0f24dc0379c72f15663a3c1fad49c15956d9375 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sce | Questao1.sce | function P = Questao1(Z)
if(1< size(Z,2)) then
// se o vetor for inserido com mais de uma coluna nos o transpomos
Z = Z';
end
// calcula a norma 2 do vetor Z
norma = norm(Z,2)
// tira o sinal do primeiro elemento do vetor Z
sinal= Z(1)/abs(Z(1))
... |
be887743389028767ce5d1f763f8cf6d38535d46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH14/EX14.4/102ex2.sce | 469bf8f8c9d1cb9a77f575ffcd5f9f2d1db31d05 | [] | 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 | 116 | sce | 102ex2.sce |
//factorize, if possible,ab+ac+bc+bd
clear;
clc;
close;
mprintf("\n there are no factors of this expression")
|
1710e5c1018d6f8eaa7302d591f4be5e0ce9a6f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH8/EX8.3/8_3.sce | a2ee79fa713d8f167bc374562eb41106c03f0247 | [] | 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 | 389 | sce | 8_3.sce | clc
//Initialization of variables
t1=500 //R
t2=1000 //R
//calculations
function y = cp1(t)
y= 7.484 - 3.47*10^3 /t + 1.16*10^6 /t^2
endfunction
function y = cp2(t)
y = 7.484/t - 3.47*10^3 /t^2 + 1.16*10^6 /t^3
endfunction
Q=intg(t1,t2,cp1)
ds=intg(t1,t2,cp2)
//results
printf("heat transferred = %... |
8a84622992391ac6a6cf013ae4c6174c9b19f651 | 3c9ed378363a111d20ce027e85cbc5ac9629bbb9 | /interpolacion_lagrange.sce | ffc3da511b9969563d732fed22255484648a7ad3 | [] | no_license | JeG99/scilab-code | 2b9eade6e57730a6274fb7ffc3f723bfd26d6153 | eae76b665688e04a5de2af8b56d0357ab0de340b | refs/heads/master | 2022-10-09T06:33:39.463575 | 2020-06-06T03:52:43 | 2020-06-06T03:52:43 | 269,859,512 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,046 | sce | interpolacion_lagrange.sce | clear
///////////////////////////////////////////////////////
// interpolacion_lagrange.sce
//
// Este programa aproxima la evaluación de ln x por
// medio de la interpolación con el método de Lagrange
// dada una x y una lista de pares coordenados.
//
// José Elías Garza Vázquez
// Andrés Alam Sánchez Torres
... |
515a10ff95102e6cf8d54b9c393dd7f03d93b97d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH12/EX12.29/Ex12_29.sce | 3027d1ebe327cbddb3b4cd125b968956897c4841 | [] | 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_29.sce | //EX12_29 Pg-41.52
clc
clear
cs=70;//carrier swing in kHz
//since cs=2*fd
fd=cs/2;//frequency deviation in kHz
fm=7//modulating frequency in kHz
m=fd/fm;
printf("\n Modulation index m=%.0f ",m)
|
29f7ccee2614849658f6b97a9e79e04c350f106d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH20/EX20.3/eg20_3.sce | d2d7631373cea0d22f9c3f20056373a76e796e72 | [] | 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 | 251 | sce | eg20_3.sce | clear;
//clc();
z1=100;
z2=600;
z3=1000;
ef=1000;
et=2*ef/((1/z2 + 1/z3)*100 +1);
er=et -ef;
printf("The reflected voltage in the line is:%.0f V\n",er);
i1=et/z2;
i2=et/z3;
i=i1 + i2;
printf("The current in the cable is:%.2f A\n",i);
|
fa30643f6790253c1297bfe8cbbecd03dae57766 | 592b1b7dfaefd62d755737ac7b6e81f44f7786ba | /8d Program for non-linear regression..sce | 93f187c7e55126a0cd1b8f6da5c0ab19ee4533d5 | [] | no_license | muitnet/Numerical-and-Statistical-Methods-sem2-fybscit-mumbai-university | 841143b72d52229c68bcd0666ed10c844c02f507 | 2d1c638b881f3e418a982baa02632effd03ae5fe | refs/heads/master | 2021-01-19T07:23:05.463429 | 2017-04-07T11:54:24 | 2017-04-07T11:54:24 | 87,540,712 | 6 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | 8d Program for non-linear regression..sce | x=[0.25,0.75,1.25,1.75,2.25];
y=[0.25,0.57,0.68,0.74,0.79];
a0=1
a1=1;
sr=0.0248;
for i=1:5
pda0(i)=1-exp(-a1*x(i));
pda1(i)=a0*x(i)*exp(-a1*x(i));
end
Z0=[pda0(1),pda1(1);pda0(2),pda1(2);pda0(3),pda1(3);pda0(4),pda1(4);pda0(5),pda1(5)]
disp(Z0,"Z0=")
R=Z0'*Z0;
S=inv(R);
for i=1:5
y1(i)=a0*(1-... |
b7b151aa677014f0f9b3dbffb41221cbe429985b | 09c4a8bcbc605cc3a5a45779e9218e6f309b0132 | /MC2/question-1-1.sci | 823b2b7475c427e426d98a23ef93cfdfd2be51e9 | [] | no_license | emilemathieu/ImportanceSampling | 8224833f7255160230532329aeb220723338eea2 | 2afeb94bc6b1063d0a1f24fc41b79c434b34a5ca | refs/heads/master | 2021-05-28T20:54:32.251555 | 2015-06-01T17:57:00 | 2015-06-01T17:57:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sci | question-1-1.sci | d=10;
rho=0.5;
// 1 sur la diagonale
// rho en dehors de la diagonale
Rho = (1 - rho) *eye(d,d) + rho * ones(d,d);
// spec calcule les valeurs propre de Gamma (son spectre)
spec(Rho)
// verifier que toutes les valeurs propres sont positives
// ...
// fabrique la matrice sigma_i * Rho_ij * sigma_j (et oui!)
sigm... |
1acf7652be17ee84f364472b91e4245cec82c320 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/SinCos_LinNS_3DHom1D.tst | d1f0e3315c5a2f137a205d543d1d1c51a7146138 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 908 | tst | SinCos_LinNS_3DHom1D.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Steady Linearised NavierStokes, 3D Soln with coupled solver, P=6</description>
<executable>IncNavierStokesSolver</executable>
<parameters>SinCos_LinNS_3DHom1D.xml</parameters>
<files>
<file description="Session File">SinCos_LinNS_3DHom1D... |
0ad783f59daec3b1ad278e9ce9242e58f792fe82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH12/EX12.7/ex_12_7.sce | 6be583006cb5a45fcfdb7ace28fabdad24cee489 | [] | 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 | 208 | sce | ex_12_7.sce | //Example 12.7 // flow rate
clc;
clear;
close;
//given data :
Qv=1.2; // m^3/s
C0=0.6; // discharge coeficient of orifice
Cv=0.97; // discharge coeficient
Q0=(C0/Cv)*Qv;
disp(Q0,"the flow rate,Q0(m^3/s) = ")
|
26b00a29ddf2f2b719fd8f723f4ff2ef6082872a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH14/EX14.12/Ex14_12.sce | e96b4f3a914829cddf98f7fe526f3248e89c235e | [] | 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 | 280 | sce | Ex14_12.sce |
clc
//given
N=1500 //rpm
R=4//lb
g=32.2//ft/s^2
w=%pi*N/30
stroke=5//in
r=stroke/2
l=9//in
b=3.5//in
B=(3/2)*R*r/b//primary force
n=l/r
F=(3/2)*R*w^2*r/(g*12*n)//secondary force
printf("\nResultant primary force = %.2f lb\nResultant secondary force = %.f lb",B,F)
|
4c4b954f82b8e731ec929a023a23ca2d2cc2c50c | 46ffb5fda9448453eba4d6787a1568028b241d88 | /ABMLangangen/calibration/calibSimplexMeanSquares_04:56:11.876 PM 07-juin-2013.sci | 8ff47e05f6552f82fe4fc29559f48e1527a0da02 | [] | no_license | JusteRaimbault/Models | f81f886dc050445dae68e933e0c052c7f9c0b59c | 52f9c28fe20c8e491fb83e22ef162256eb966d32 | refs/heads/master | 2016-09-10T23:23:05.419418 | 2013-07-30T22:02:34 | 2013-07-30T22:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,258 | sci | calibSimplexMeanSquares_04:56:11.876 PM 07-juin-2013.sci | ms=[];incomemean=[];bref=[];bnorm=[];
ms(1)=4.964979805910687E7;
incomemean(1)=17000;
bref(1)=12000;
bnorm(1)=30000;
ms(2)=5.1304862526147686E7;
incomemean(2)=17000;
bref(2)=13000;
bnorm(2)=30000;
ms(3)=5.0506900243041545E7;
incomemean(3)=17000;
bref(3)=12000;
bnorm(3)=31000;
ms(4)=1.9234492552612614E7;
incomemean(4)=1... |
6ddcf56370716f566c1bec87b5b277bdde340725 | 523a67183099ad5fbbd2a909f3d7fbd39803caa6 | /TEST/acen.tst | d538f5b3c885987c3110224ff9f6b9d6b31f3b2b | [
"MIT"
] | permissive | ihgazni2/conjugar | 5e162fcb4aea8a140f83c753698133c7f224baa6 | 0281131dd256a4727d63f28bd89b88565a95f768 | refs/heads/master | 2021-06-29T02:53:15.278685 | 2020-09-25T08:53:35 | 2020-09-25T08:53:35 | 148,722,894 | 5 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,851 | tst | acen.tst | import conjugar.acentuacion as acen
from efdir import fs
import elist.elist as elel
from xdict.jprint import pobj,pdir
dummy = acen.show_stress('abstraer')
dummy = acen.show_stress('strass')
dummy = acen.show_stress('stretta')
dummy = acen.show_stress('stricto')
dummy = acen.show_stress('stripper')
dummy = acen.show_... |
63ecd9a039f9cc3176009bd62e7f953798a948b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH6/EX6.6/6.sci | 0ca14b0d3134827fe406f4f7d85e6dff7772c422 | [] | 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 | 462 | sci | 6.sci | clc;
clear all;
disp("Heat transfer coefficient")
V =[2 5 10 20]
h =[39.5 71.2 106.5 165.3]
Dp=50/1000;//m
Dm=50/(5*1000);//m
Vp=4;//m/s
t1=140;// degree C
t2=20;// degree C
//(VD/v)m=(VD/v)p
//vm=vp
Vm=Vp*Dp/Dm;
plot2d(V,h)
xtitle("V vs h","V(m/s)","h(W/(m^2*C))")
V=Vm;
h=165.3;
disp("W/(m^2*C)",h,"... |
e36b62f459e26d8638a59f953005df218ab1c0cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH4/EX4.17/Chap4_Ex17_R1.sce | 1a07029aefaaacb203aa21358b9a741f2e8d6139 | [] | 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,626 | sce | Chap4_Ex17_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-4,Example 17,Page 119
//Title:Exit velocity
//================================================================================================================
clear
clc
//INPUT
Pi=5;//pressure of dry saturat... |
36b78980b4781259a383f7bd908a174e105b3c38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH5/EX5.4/ch5_4.sce | bb977f1e71d87b6cc2e76982ee653cb83c764abc | [] | 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 | 413 | sce | ch5_4.sce | clear;
clc;
V_s=230;
L=20*10^-6;
C=40*10^-6;
I_o=120;
I_p=V_s*sqrt(C/L);
printf("current through main thyristor=%.2f A",I_o+I_p);
printf("\ncurrent through auxillery thyristor=%.0f A",I_o);
t_c=C*V_s/I_o; printf("\ncircuit turn off time for main thyristor=%.2f us",t_c*10^6);
w_o=sqrt(1/(L*C));
t_c1=%pi/... |
293af172b1ca2895f6fc4f818e7c068f4f699546 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH18/EX17.7/EX17_7.sce | c0c541065925f454db830c25ba627fa28646bb98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | EX17_7.sce | // Grob's Basic Electronics 11e
// Chapter No. 17
// Example No. 17_7
clc; clear;
// Calculate ic produced by a 250-pF capacitor for a change of 50 V in 1 us.
// Given data
C = 250*10^-12; // Cap=250 pF
dv = 50; // differential voltage increased by 50 Volts
dt = 1*10^-6; // differectial t... |
de207f224996b4fbd0dc32e7d0a77585c8f63b01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH12/EX12.2/Chapter12_Example2.sce | 70f733cb1a2ee5e51b2e0149beb62ad182099749 | [] | 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 | Chapter12_Example2.sce | clc
clear
//INPUT
t1=573;//temperature of the hot side in K
t2=273;//temperature of the coll side in K
m=82;//mass of the black body in gm
cp=0.1;//specific heat of the black body kj/kg.K
dt=0.35;//ice melting at a rate of temperature in deg.C/sec
a=8;//area of black body in sq.cm
//CALCULATIONS
s=m*cp*dt... |
eae2ee508e3397e28a77585361a0d01e0c1be115 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH13/EX13.6/Ex13_6.sce | 34c967bb67ffa3bbb0f6809e4f883f032a24397d | [] | 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 | 217 | sce | Ex13_6.sce | clc//
//
//
//Variable declaration
Pout=40; //power(mW)
Pin=100; //power(mW)
//Calculation
al=-10*log10(Pout/Pin); //attenuation loss(dB)
//Result
printf("\n attenuation loss is %0.2f dB",al)
|
3e1258401c8e9def889197f13a46c117ec37fc0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH15/EX15.3/15_3.sce | 39997d0168492453800c12dec485011a3a71976e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | 15_3.sce | clc
//Intitalisation of variables
clear
a= 6.4*10^-6 //g ion per lit
a1= 0.05
n= 2
//CALCULATIONS
Ksp= a^2*a1
s= (Ksp/n^2)^(1/3)
//RESULTS
printf ('Ks = %.2e ',Ksp)
printf ('\n solubility of Ag2CrO4 = %.2e mole per litre',s)
|
4cc693873f8630a6e32f4e7d4657aec36223e172 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH20/EX20.2/FBELT_2.sce | 28e3cee665c3fd29e45e97abf806bc28fdae6b10 | [] | 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 | 771 | sce | FBELT_2.sce | // sum 20-2
clc;
clear;
P=12*10^3;
d=0.2;
D=0.5;
C=2;
sigmax=2*10^6;
t=8*10^-3;
//Let density be rho
rho=950;
u=0.38;
N=1500;
//Let angle of contact = thetad
thetad=180-(2*asind((D-d)/(2*C)));
thetad=thetad*%pi/180;
thetaD=(2*%pi)-thetad;
v=(2*%pi*N*d)/(60*2);
//Let T1-T2=T
T=P/v;
x=exp(u*thetad);
... |
c2b79b5401a15be11340c8261cbd0714b2f8eb5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH2/EX2.4/2_4.sce | bb03bb34a07738262638367c7e48a66102262910 | [] | 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 | 194 | sce | 2_4.sce | pathname=get_absolute_file_path('2_4.sce')
filename=pathname+filesep()+'2_4data.sci'
exec(filename)
printf("\Answer:\n")
printf("\n\Density of air at the given point: %f Kg/m^3\n\n",density) |
0286baaa8fe230e7c6fcbb36889ca8eb4a0a22d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH6/EX6.6b/eg6_6b.sce | 8a2794ef04bb622a83603c6372610703af06211c | [] | 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 | 181 | sce | eg6_6b.sce | meaneach = 147;
sdeach = 62;
samplesize = 25;
lim =150;
samplemean = meaneach;
samplesd= sdeach/sqrt(samplesize)
prob = 1- cdfnor("PQ", lim, samplemean, samplesd)
disp(prob) |
36cb2314d2bb4989dde73356074934e2c0cdbfa7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH5/EX5.2/eg_5_2.sce | 2b351d6de25c18c8c3034e31bfdb5ca6bcda4d6d | [] | 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 | 944 | sce | eg_5_2.sce | clc;
clear;
//Takes x input and check whether it is valid logic level or not.
disp("enter the vaLue of input Line & controL signaLs C1 and C2");
x=input("x = ");
while(x~=0 & x~=1)
disp("enter a vaLid LogicaL LeveL");
x=input("x = ");1
end
//Takes C1 input and check whether it is valid logic level or n... |
bae0225076c5c6487ae2a0da53ecf8d2768b0552 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH15/EX15.1/15_1.sce | 2e4caad3f5c920c7cedd6741281aa7c7d6ba5c0a | [] | 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,471 | sce | 15_1.sce | //To find linear and angular velocity and acceleration
clc
//Given:
OC=200/1000, PC=700/1000 //m
omega=120 //rad/s
//Solution:
//Refer Fig. 15.5
OM=127/1000, CM=173/1000, QN=93/1000, NO=200/1000 //m
//Velocity and acceleration of the piston:
//Calculating the velocity of the piston P
vP=omega*OM //m/s
//Calc... |
16a5fc6e887001c90dd7133382459b2ae33c9c4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH6/EX6.15/Ex6_15.sce | 33bd2bdda4a097e360d9d50f4103a0843b389db8 | [] | 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 | 336 | sce | Ex6_15.sce | //Chapter-6,Example 6_15,Page 6-33
clc()
//Given Values:
A=0.5*10^3 //Area of B-H loop in Joules per m^3
V=10^-3 //Volume of specimen in m^3
n=50 //Frequency of a.c.
//Calculations:
H=n*V*A //Hysteresis power loss
printf('Hysteresis power loss is =%.... |
8d8661dd8c8dad312b5123af01f20eeabc224269 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH22/EX22.4/22_04.sce | 81e7c255a0f8f844ad9b967b3626a3de49705905 | [] | 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 | 330 | sce | 22_04.sce | //Chapter 22, Problem 4
clc;
p=8/2; //no of pairs of poles
c=2;
phi=0.03; //flux
n=500/60; //armature speed
Z=1200; //no of armature conductors
E=(2*p*phi*n*Z)/c; //e.m.f
printf("emf = %... |
4f1bf3a14ddb8f33f2ba5f854f5a5b162b4ea4b9 | 491f29501fa7d484a5860f64aef3fa89fb18ca3d | /.sandbox/robotics/HuMAns_pa10/RobotSim/arm2Control.sci | f23573a6ef11418e90d213b3bc363d64148a13e7 | [
"Apache-2.0"
] | permissive | siconos/siconos-tutorials | e7e6ffbaaea49add49eddd317c46760393e3ef9a | 0472c74e27090c76361d0b59283625ea88f80f4b | refs/heads/master | 2023-06-10T16:43:13.060120 | 2023-06-01T07:21:25 | 2023-06-01T07:21:25 | 152,255,663 | 7 | 2 | Apache-2.0 | 2021-04-08T12:00:39 | 2018-10-09T13:26:39 | Jupyter Notebook | UTF-8 | Scilab | false | false | 407 | sci | arm2Control.sci | // See doc. arm2Control.pdf
function [U] = arm2JointControl(t, x)
q = x(1:2)';
qdot = x(3:4)';
qd = f_trajectory(t);
err = f_error(q, qd);
verr= f_verror(t,err,0.1,0.6);
tpd = f_pd(err,verr,[300.0,500.0]',[100.0,20.0]');
//grav=arm2gravite(q);
grav =f_gravity(q,arm2Gravity);
tfric=f_friction(q);
torque = f_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.