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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
958de059f6ef301203639bd2ddfae68ea318d0c3 | 4129507554864db19209e2ecb47beabec1e500ca | /builder.sce | 1cde81913106d531d3b103f8bc35875015bd840e | [] | no_license | Samuel442/virtualHartSci | 3f9685d4156f6af635b8761eab8dfe09f73c64de | e615a4660f4e29747ce8571d415094c5b107475b | refs/heads/main | 2023-07-24T21:11:34.455117 | 2021-07-13T11:51:29 | 2021-07-13T11:51:29 | 386,402,738 | 0 | 0 | null | 2021-07-15T19:28:59 | 2021-07-15T19:28:59 | null | UTF-8 | Scilab | false | false | 149 | sce | builder.sce | toolbox_dir = get_absolute_file_path("builder.sce");
tbx_builder_macros(toolbox_dir);
tbx_build_loader(toolbox_dir);
tbx_build_cleaner(toolbox_dir);
|
2ae40f770c4ad6ef087f99aad6fb68cde7f900d0 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.20_19.tst | bcd4007b9e7ab0d8f06aea29a723bd3cfae24782 | [] | 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 | 4,894 | tst | bow.20_19.tst | 20 1:0.041666666666666664 3:0.3333333333333333 5:0.14285714285714285 6:1.0 15:0.08333333333333333 32:1.0 38:0.2 56:0.5 71:0.07692307692307693 91:2.0 93:0.5 106:0.3333333333333333 206:1.0 213:2.0 310:0.25 367:0.5 521:0.5 765:1.0 842:1.0 1158:1.0
20 6:2.0 15:0.3333333333333333 17:0.1111111111111111 38:0.2 84:0.125 91:1.0... |
df253985e999657cd0b35308774e81775a341975 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH3/EX3.13/Ex3_13.sce | 4f6cb9dd5c3d96c444b75163785712e47a0a28fe | [] | 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 | 506 | sce | Ex3_13.sce |
// Ex3_13
clc;
// Given:
I0=3/2;// ground state of spin
// Solution:
I1=I0+1;
I2=I0+2;
I3=I0+3;
K=1;// Assumed as some constant
// Formula: E=(h^2/(2*I))*((I*(I+1))-I0*(I0+1))
// Consider K=(h^2/(2*I))=1
E1=K*((I1*(I1+1))-(I0*(I0+1)));// For 1 excited state
E2=K*((I2*(I2+1))-(I0*(I0+1)));// For ... |
34db99922686989780b01dcdca9f9622d0994399 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/get_unknown.sci | 78e15725761726239a6b26c9ad335522867ccb67 | [
"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 | 1,295 | sci | get_unknown.sci | function [vnms,vtps,stk,txt]=get_unknown(nam)
// handle case where nam appear in an expression while it is not known.
// nam is unknown here, it may be:
// - variable created in an other clause part
// - an m-file called without args
// - a variable created by an eval
vnms;vtps;stk;txt;
// check clause
if level(... |
3a062506aeab32b33404c23a375632826db36f0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH1/EX1.2/1_2.sce | f5c7cb3386c5c5990d790a6f3f27e98454e8574a | [] | 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 | 83 | sce | 1_2.sce | clc;
clear;
format('v',10);
C=1600;
d=C/3.14;
disp(d,"diameter(in meter)=");
|
325c68c0928fbf39dd533118d2c6f5db2020f99c | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH13/EX13.7/Example13_7.sce | 873fdbbd68e15fee091d55cfa3fcf1d0ca65a35b | [] | 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 | 231 | sce | Example13_7.sce | close();
clear;
clc;
//from solved example 13.6
V = 120; //V
Pc = 75; //W
Rc = V^2/Pc;
I = 1.5; //A
pf = 0.417;
Im = sqrt(I^2 - (I*pf)^2); //A
Ic = V/Rc; //A
Xm = V/Im; //ohm
mprintf("Rc = %d ohm\nXm = %d ohm",Rc,Xm);
|
94facc627ccc0bfec1fa7467827f2e6c37d9f4d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH21/EX21.3/Example21_3.sce | 5a3e2fb7b14ab6d5492d7fd6afe8875324cd0978 | [] | 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 | 403 | sce | Example21_3.sce | clear ;
clc;
// Example 21.3
printf('Example 21.3\n\n');
//page no. 626
// Solution
//Given
// Let water level in first reservoir be the reference plane
h = 40 ;// Difference of water-[ft]
g = 32.2 ;// acceleration due to gravity-[ft/square second]
PE=g*h/(32.2*778.2) ;//// Specific(mass=1kg) potential energy of wate... |
c912d1f9f0824d8c1ccca1da9f8bb865f120b371 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH6/EX6.30/e6_30.sce | 293d67dfabbc19bc0009ea47cca39f72603cef3d | [] | 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,296 | sce | e6_30.sce | //example6.30
disp("The circuit used for providing proper biasing is self bias, for which the various currents can be shown in the fig 6.52")
disp("Applying KVL to base emiter loop,")
disp("(-V_BE)-(I_E*R_E)+(I*R2)=0")
disp("Theredfore (I*100)-(1+beta)*I_B*10=V_BE")
disp("100I-210(I_B)=0.5 ..(1)")
disp("Apply... |
db525bed67b7a78d000eb5d7e95165c78e98ab86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH20/EX20.14/20_14.sce | 360be08a2f0e65d35347c62397316ec2bc37e958 | [] | 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 | 451 | sce | 20_14.sce | clear;
clc;
rb=75000e3;
ro=50e6;
v1=11e3;
v2=66e3;
xa=.25*rb/ro;
xb=.75;
xt=.1;
v=1;
xeq=inv(inv(xa)+inv(xb))+xt;
i=v/xeq;
i=round(i*100)/100;
ia=i*xb/(xa+xb);
ib=i*xa/(xa+xb);
ia=round(ia*100)/100;
ilt=rb/(sqrt(3)*v1);
iht=rb/(sqrt(3)*v2);
i=i*iht;
i=fix(i)
ia=ia*ilt;
ilt=rb/(1.73*v1);
ib=ib*ilt;... |
d1f47608ec24d8aed8e21a0f22af2dec96d3557a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH5/EX5.3/Ex5_3.sce | b1199e2d44ded9449acece855b5b3becd6891909 | [] | 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 | 553 | sce | Ex5_3.sce | clear ;
clc;
// Example 5.3
printf('Example 5.3\n\n');
printf('Page No. 117\n\n');
// given
T1 = 25;// in degree celcius
T2 = 212;// in degree celcius
x = 0.96;// dryness fraction
m = 1.25;// Mass flow rate in kg/s
//from steam table
hL_212 = 907*10^3;// Specific enthalpy at 212 degree celcius in J/kg
h... |
92316f87268d632c1f694fddd643c1c82ff7961e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH3/EX3.2/3_2.sce | be33dbb28194c0aa0754f0e598fa8889927595da | [] | 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 | 3_2.sce | clc
//Initialization of variables
Q=0.5 //cfs
d1=8 //in
d2=4 //in
R=2 //in
theta=45//degrees
//calculations
h=(1-cosd(theta)) //Multiply by r
Aa=2*%pi*h //Multiply by r^2
V=Q/Aa //divide by r^2
aA=0
r=0.167 //ft
V1=V/r^2
dvbydx=V*2/r^3
aB=V1*dvbydx
//results
//The answer varies a bit from the text due ... |
cfe78fc07f78122b8da5f9c852d31d65295ef838 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH10/EX10.7/P10_7.sce | b1ce00a4118ebf85307498a7a725fc357ea50faf | [] | 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 | 319 | sce | P10_7.sce | //EXAMPLE 10.6
//Order estimation using Dolph-Cebyshev window
clear;
clc;
wp=0.3*%pi;//rad/sec
ws=0.5*%pi;//rad/sec
as=40;//dB
wc=(wp+ws)/2;//cutoff frequency
Bw=ws-wp;
disp(Bw,'Normalized transition bandwidth is = ')
//Order of the filter
N = ((2.056*as) - 16.4)/(2.285*Bw);
disp(ceil(N),'Order of the filter,N = ') |
2fbf8377ec1d04027124422cdae5d8b7e3bf95aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH13/EX13.2/Ex13_2.sce | 6a2c560037a6717ba09b6c4f4bbd66b2981aefb6 | [] | 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 | 478 | sce | Ex13_2.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex13_2.sce
clc;
clear;
R1=60;
R2=80;
C=100e-6;
V=12;
t1=6e-3;
i_S=300e-3;
i_R=V/R1;
i_C=(V/R2)*exp(-t1/(R2*C));
i=i_R+i_C;
printf("\n The current drawn from t... |
46c79dcc52843558d2687d1b7b4814c82f4e919e | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH8/EX8.9a/Exa_8_9a.sce | 176cd645c371c13aa343a6b078130ad9dc0c00d2 | [] | 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 | 306 | sce | Exa_8_9a.sce | //DFT and DFS of sinusoids
n2=0:0.5/1000:5.5/100;
xt=4*cos(100*%pi*n2');
n=0:(0.5)/100:(5.5)/100;//F=3/12 hence N=12
xn=4*cos(100*%pi*n');
XDFT=fft(xn,-1);
n1=0:11;
a=gca();
a.x_location="origin";
plot2d(n2,xt);
plot2d3('gnn',n,xn);
xset('window',1);
b=gca();
b.x_location="origin";
plot2d3('gnn',n1,XDFT); |
024910aaf93c9c5423bde9759b6f990bb632c3ae | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/initation_scilab/chap2_equ_diff/ex6.sci | 223c8b1653e2f6a94ecf94378b53eb96421d3b1d | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 111 | sci | ex6.sci | clf
x=linspace(0,5,101);
x0=0;
v0=5;
k=3;
m=3;
y=x0*cos(sqrt(k/m)*x)+v0*sqrt(m/k)*sin(sqrt(k/m));
plot2d(x,y);
|
2aaafa88095cf3bde248e1e3ec33c91ff1d9f570 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH15/EX15.3/S_3.sce | b65e7c2e929d7fa076446d5458abb92d9ac769ce | [] | 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 | 363 | sce | S_3.sce | // sum 15-3
clc;
clear;
P=16*746;
N=3000;
w=2*%pi*N/60;
T=P/w*10^3;
sigy=400;
Ty=sigy/2;
FOS=2;
Ta=Ty/FOS;
d=T*16/(%pi*Ta);
d1=d^(1/3);
r=3;
D=d1+(2*r);
SCF=1.196
Tys=Ta/SCF;
d=T*16/(%pi*Tys);
d2=d^(1/3);
d=14;
D=d+(2*r);
// printing data in scilab o/p window
printf("d1 is %0.2f mm ",d1);... |
843ecf5e4be8c837b860037a983ed4f75b09240e | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /macros/distfun_tpdf.sci | a1af4403a4f5322bc2ca99f1afa8a28da55cecae | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,048 | sci | distfun_tpdf.sci | // Copyright (C) 2012 - Prateek Papriwal
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCI... |
1c229c29189428549aa90852ed79a77d6deebc89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/5_8data.sci | 92cf4da60a14f3779de1f701bb610ecc21cb8e5d | [] | 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 | 38 | sci | 5_8data.sci | L=1000;//langth in mm
P=1;//Load in N |
1abe3f7b17a2ed4299a77ebed26fca406fe3def9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH9/EX9.7/Ex9_7.sce | 61d0522853b600a47d03f1d35dcc4b58beb8382f | [] | 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 | 505 | sce | Ex9_7.sce | //Ex9_7
clc
//parameters of JFET 1:
rd1 = 20*10^3//resistance
gm1 = 3*10^-3//conductance
disp("rd1 = "+string(rd1)+"ohm")
disp("gm1 = "+string(gm1)+"mho")
//parameters of JFET 2:
rd2 = 40*10^3//resistance
gm2 = 4*10^-3//conductance
disp("rd2 = "+string(rd2)+"ohm")
disp("gm2 = "+string(gm2)+"mho")
//the give... |
3e1c61b1f117cf40e86560f7a627564d22f4e3e9 | a90555c1b25caa293679dea7166187dc891e4b3b | /laboratorna7.sce | 030f81fa9b9fcee8b63f065419c7aaa76ede67eb | [] | no_license | MukMak/laboratory_works | 298ed8cb941f5bf1c2ac6a8e90bd7ac566acfc6e | 2e637ac262d9ed91ea755b094aedd97a11c3a9a4 | refs/heads/master | 2021-09-10T06:46:59.773963 | 2018-03-21T20:19:43 | 2018-03-21T20:19:43 | 119,851,079 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | laboratorna7.sce | clc
clear
clf
W = poly([2 1],'s','c')/poly([3 5 4 3],'s','c')
S = syslin('c',W)
roots(denom(W) )
roots(numer(W) )
plot(csim("step",0:0.1:20,S) )
xgrid()
deff('u=input(t)','u=exp(-0.5*t)')
t = 0:0.1:20;
plot(input(t) )
plot(csim(input,t,S),'color','red')
xgrid()
|
4d0a0c41d132eee14768e506c4901269e11afcc2 | 717ddeb7e700373742c617a95e25a2376565112c | /1592/CH9/EX9.3/example_9_3.sce | 9d63851855d27edeeee945145e42cf84c1a52707 | [] | 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 | 415 | sce | example_9_3.sce | //Scilab Code for Example 9.3 of Signals and systems by
//P.Ramakrishna Rao
//Convolution of two signals
clc;
clear;
n=1;
for t=-5:0.1:5
x(n)=-2*u(t-0.5)+2*u(t-1.5);
y(n)=(t+1)*u(t+1)-(t+1)*u(t-2);
n=n+1;
end
z=conv(x,y);
t=-5:0.1:5;
plot2d2(t,x,5);
title('x(t)');
figure(1);
t=-5:0.1:5;
plo... |
b34c175a8c28358f979a8400caf015f81376fff5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH35/EX35.2/ex2.sce | 88f30715addf2cb638b8d5c2413ab13769d4991d | [] | 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 | 473 | sce | ex2.sce | clc
disp('suppose the die is unbiased ')
disp('then probability of getting 5 or 6 with one die=1/3')
disp('then,expected no. of successes=a=1/3*9000 ')
a=1/3*9000
disp('observed no. of successes =3240')
b=3240
disp('the excess of observed value over expected value=')
b-a
disp('S.D. of simple sampling = (n*p*q... |
c14a8a1dc426e707604e748d8ecd6a443cb79d63 | f23e565144f1b0f63c7b613c0f549944d425a073 | /Cours/TP_INFO/TP_note/TD4 -KonjevicSarah-LegrosAude-LetourneurJulie.sce | 7ef072e38e9e93f70b967e40a961f73ed22f0c80 | [] | no_license | Antoine-Gerard/Valar-Morghulis | c45766f03898241bd9c424256744b5ffa16dd82c | 796363bfbc6f2e3249c90f1762e041ff5a4e705a | refs/heads/master | 2021-08-31T06:06:55.296982 | 2017-12-20T13:54:33 | 2017-12-20T13:54:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,302 | sce | TD4 -KonjevicSarah-LegrosAude-LetourneurJulie.sce | //Konjevic Sarah
//Legros Aude
//Letourneur Julie
vo= zeros(5, 10)
v1= linspace(10, 10, 50)
v2= 0:0.3:10
v5= linspace(-3, 7, 50)
v6= 1:1:25
p= 2.*ones(1, 25)
p.^v6
function r= truc(x)
r = (1+x).*sin(%pi.*x)
endfunction
x= linspace(-2, 2, 100)
y= truc(x)
fenetre = figure("Figure_name", "Equations", "positio... |
b66bc1b1d96bf3267404bf213fd70662b37bf2fb | e9d5f5cf984c905c31f197577d633705e835780a | /GED/linear/scilab/functions/pmgei_method/method/generate_trainning_m2.sci | 2c188f37e442de13201d52e6bf6569cef2d54013 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,142 | sci | generate_trainning_m2.sci | function [final_train, final_validate] = generate_train_m2(xr, xfinal, sigma, obj_function_type, runsize, sd, jac, gt_mt_tol, gt_nt_tol, mt_tol_1, mt_tol_2, nt_tol_1, nt_tol_2, mult_bias_low, mult_bias_inc, multi_bias_up,multi_leak_low, multi_leak_inc, multi_leak_up ,bias_vector,leak_vector,add_errors, input_train,inpu... |
159ab028df2d0400e55c0677e3d184183a761312 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH2/EX2.6/EX2_6.sce | 810a106b832baa3aee4e85de9ce73d55a57f6aca | [] | 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 | 535 | sce | EX2_6.sce | //Example 2.6: Use of Demorgans Theorem.to find complement of a given function.
clc; //clears the console
clear; //clears all existing variables
disp('The given expression is as follows')
disp('f = ab''(c + d''e) + a''bc'')')
disp('Finding complement using Demorgan''s Theorem')
disp('f'' = [ab''(c + d''e) + a''b... |
31eab12cc5c2fed8688ca9fb513bae52924b1a99 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/Matmul_c.sci | 514c9837d08a3098121300055350cb31106e3e22 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,332 | sci | Matmul_c.sci | global Ut_sim Kappa_sim;
function block=Matmul_c(block,flag)
if flag==1 then
m=4;
block.outptr(1)(1:m) = block.x(1:m)
elseif flag==0
m=4;
kap = 0.75;
Ut = 0.0258;
C_T = 100e-15;
Cg = 22e-15;
VL=1;
C=10e-12;
Vref=block.inptr(2)(1... |
735c7c5de261a38012a84b737f15c398ba25790c | eec0cb8a9a3987d4e28fc22c89750a158a00ea84 | /Assignment3_Team8/Q2/testCase3.tst | c40aeb180fa31dfab94e382dabffde823acbc716 | [] | no_license | Archaic-Mage/CS2310_LAB_Assignments | 8ac90e0123de95f5cf8db709cd7761962bf8cef2 | e922b59fc1350db3f23b07b8f5986ac54f197c8d | refs/heads/main | 2023-08-29T23:42:07.913682 | 2021-11-16T14:00:05 | 2021-11-16T14:00:05 | 401,640,543 | 1 | 1 | null | 2021-10-01T05:55:36 | 2021-08-31T09:10:15 | Scilab | UTF-8 | Scilab | false | false | 300 | tst | testCase3.tst | load CLA4b16bAS.hdl,
output-file testCase3.out,
compare-to testCase3.cmp,
output-list x%B3.16.3 y%B3.16.3 z%B3.16.3 isoverflow%B5.1.4;
//test case 3 for unsigned int
set x %D12, set y %D8, set AS %B1,
eval,
output;
set x %B1111111111111111, set y %B1111111111111111, set AS %B1,
eval,
output;
|
959847704397b522e0236442fb55eb26d19f7014 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH29/EX29.3/Ex29_3.sce | e2c7bbc41f9b418f9035f648b750728d089bad7f | [] | 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 | 176 | sce | Ex29_3.sce |
clc;
T1=1*10**-6;
f=100*10**3;
R1=10*10**3;
R2=10*10**3;
T=1/f;
C1=T1/(0.69*R1);
disp('pF',C1*10**12,"C1=");
T2=T-T1;
C2=T2/(0.69*R1);
disp('pF',C2*10**12,"C2=");
|
1847615e275a2496149c9d953c1faf74a213302c | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH12/EX12.3/example_12_3.sce | e01d48db287bd6450e731ab1a970f9d29cd750bd | [] | 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,844 | sce | example_12_3.sce | //Chapter 12
//Example 12.3
//page 450
//To calculate maximum power transferred
clear;clc;
Vt=1.0; //generator terminal voltage
V=1.0 ; //infinite bus voltage
Pe=1.0 ; //power delivered
Xd=0.25*%i ; //generator's transient reactance
Xl=0.5*%i ; //transmission line's reactance
Xt=0.1*%i; //transformer's reactance
//to... |
32bb37b1923a60c230d28061eac847f11a3fd567 | b54816d082b2384ba21b8251ee0230250f201310 | /sem_06/co_exercise_02/lexan.tst | 491b4f05d457bb3c3b0542f48aff03603d4fb14b | [] | no_license | D4ryus/studium | 12174aa0cbf940b55e06cf5fdddc46d230186911 | 232501b41a4bd9e1d509d998957b1cb1fc6fd16a | refs/heads/master | 2021-01-13T01:53:59.561492 | 2015-11-30T10:14:00 | 2015-11-30T10:14:00 | 18,681,751 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 133 | tst | lexan.tst | const
var
int
real
procedure
call
begin
end
if
then
while
do
:=
=
!=
<
<=
>
>=
+
-
*
/
(
)
,
;
.
identifiertest
1233444
123.45
$
|
6383fad122e6838344c4f30d2172dc4614c4e7e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH3/EX3.8.a/Solved_Ex3_8a.sce | fba904d74d64bc914aa0ec6dc49d52b67d103504 | [] | 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 | 274 | sce | Solved_Ex3_8a.sce | //X=L(x(t))->find initial value,x(0) and final value,x(inf) using initial and final value theorem
clc;
clear;
s=poly(0,"s");
X=1/s/(s-1);
xinf=horner(s*X,0);
disp(xinf,'x(inf) by final Value theorem:');
x0=horner(s*X,%inf);
disp(x0,'x(0) by initial Value theorem:'); |
e5275b9890b7c719e729696d46a6844451785e06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH19/EX19.1/ex19_1.sce | 2d20bdaa3aa9012845969c169d15a284d584997b | [] | 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 | 360 | sce | ex19_1.sce | clc;clear;
//Example 19.1
//calculation of potential barrier
//given values
e=1.6*10^-19;
n=4.4*10^28;//no of atoms per m^3
kT=.026*e;//temp eqvlnt at room temp
ni=2.4*10^19;//no of intrinsic carriers per m^3
NA=n/10^6;//no of acceptors
ND=n/10^6;//no of donors
//calculation
V=(kT/e)*log(NA*ND/ni^2);
di... |
2f35a16349f1e008aae8b1db466571acf352fbc6 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/scripts/hxprofiles.tst | e316e7cb7a9feca4a89c1b0d530a0742bb83e45d | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 867 | tst | hxprofiles.tst | hx = Heater.HeatExchangerUA()
cd /
$thermo = VirtualMaterials.Advanced_Peng-Robinson
. -> $thermo
cd thermo
/thermo + WATER HYDROGEN_SULFIDE METHANE ETHANE PROPANE VALERIC_ACID
cd /hx
/hx.side1.In.T = 200
/hx.side1.In.P = 1000
/hx.side1.In.MoleFlow = 500
cd /hx.side1.In.Fraction
/hx.side1.In.Fraction = 0.0 ... |
7b535d6c5390d5dee6a2961e421bd3908870a3b3 | b73e9d989ebb6c74535238e10eede063a5d7e66b | /EccenToMeanAnomaly.sci | 122b5bc8a889b8df7888bc49d71b8743e0c5ed0c | [] | no_license | ParthaSurve/CODES_SEM_VI | 930a520ccdbc7cb389dac6b6f03900674b5e1a6b | 1f6afa9b92ad8263d0773ce0f90f9ffa5943b8e4 | refs/heads/master | 2021-01-21T05:13:44.089655 | 2017-02-25T17:46:44 | 2017-02-25T17:46:44 | 83,149,933 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,270 | sci | EccenToMeanAnomaly.sci | //
// SPACE FLIGHT MECHANICS
// Assignment 1
//==================================================================//
// Created : 4-02-2017
//
// Ref: Notes
// Author: Partha Surve (SC14B036, Aerospace Engineering 3rd Year, IIST)
// parthasurve1@gmail.com
//
clc
clear
clf
//-------------------------------------------... |
a3e478f3bef20411f694c65b3bf98a0c039e202d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH6/EX6.15/Ex_6_15.sce | 41d0485595c73bfeb2074f389ce93eeb0179a501 | [] | 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 | 440 | sce | Ex_6_15.sce | // Example 6.15;//Cavity length and longitudinal modes
clc;
close;
clear;
h=0.87*10^-6;//Wavelength in meter
n=3.6;//refractive index
df=278;//frequency sepration in Gega Hertz
C=3*10^8;//Speed of light in m/s
L=round((C/(2*n*df*10^9))*10^6);//Length of cavity in micro meter
q=round(((2*n*L*10^-2)/(h))*10^-4)... |
156a79d7a5805cb4cc5da0029977e96504575e16 | e4ab09f985270da61c3dc9e10e13905d9f17894a | /codeforces/53A/4.tst | 2025c074dd679c4ff6ef7f1eefbac99db2563872 | [] | no_license | tandonadone/contest | 380c228fc02b440bdc124b06d5b3ae103290e455 | 2fa8d9dfeebb2e6a037dab79518d16924f2cb1b3 | refs/heads/master | 2022-04-23T04:20:39.500994 | 2020-04-27T13:23:29 | 2020-04-27T13:23:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | tst | 4.tst | mqbasuavrgbjqykegqdegtrovxphenzgdxqowmshjhaylnfkglifnzchdops
6
mqbasuavrgbjqykegqdegtrovxphenzgdxqowmshjhaylnfkglifnzchdopsrditofcoez
mqbasuavrgbjqykegqdegtrovxphenzgdxqowmshjhaylnfkglifnzchdopsrznruxkwvbevtsrgx
mqbasuavrgbjqykegqdegtrovxphenzgdxqowmshjhaylnfkglifnzchdopsljmoi
mqbasuavrgbjqykegqdegtrovxphenzgdxqowmshjh... |
fbbd0c3e8931ac578a55c9b2f99da9f6a8bf5a94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH2/EX2.27.c/Ex_2_27_c.sce | 38a4afcf6e1feffee75ec155331d75ff6a3cc06a | [] | 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 | 338 | sce | Ex_2_27_c.sce | // Example 2.27.a:Numerical Aperture
clc;
clear;
close;
n1=1.5;//Core Refractive Index
n2=1.48;//Cladding Refractive Index
c=3*10^8;// Speed of ligh in m/s
a=50;//Core radius in micro meters
PB= (n1/n2)*((n1-n2)/c);// Pulse broadning per unit length
disp(PB,"Pulse broadning per unit length due to multipath dis... |
fbc0ee5688c97484d017df1fb3ffbed15b68fd8c | d4433dc5a6e90f6a26a4c5d9dee686eade240b25 | /CHKSUM.TST | e76471e3c5fdbc4d18413b20879bdd2c30a04b68 | [] | no_license | qb40/all | 6e2149ef3c6151717e468ca236840de622cf7d2a | e168acb64fbde09277b04515574507dcbe35161c | refs/heads/master | 2022-02-05T17:58:39.207269 | 2014-01-19T13:28:41 | 2014-01-19T13:28:41 | 106,962,623 | 5 | 0 | null | 2017-10-14T21:02:04 | 2017-10-14T21:02:03 | null | UTF-8 | Scilab | false | false | 551 | tst | CHKSUM.TST | DECLARE FUNCTION sum# (a$)
ON ERROR GOTO errs
CLS
INPUT "File name"; f1$
OPEN "I", #1, f1$
CLOSE #1
OPEN "B", #1, f1$
length& = LOF(1)
PRINT "Length of file ="; length&; "bytes"
times& = length& \ 32000
SEEK #1, 1
FOR i& = 1 TO times&
checksum# = checksum# + sum#(INPUT$(32000, #1))
NEXT
checksum# = checksum# + sum#(IN... |
e7abac8f50f4101f00f8e1e6aafec7c35a2b500b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH4/EX4.11/Ex4_11.sce | 5a14b827f5fe508bf30eb7db227ef96fc9f953da | [] | 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 | 754 | sce | Ex4_11.sce | clear all; clc;
disp("With H=k*(Q^2)+3,the constant k can be obtained.")
H=10*144/62.4
printf("We have H= %0.2f ft and Q=25gpm",H)
Q_1=25
k=(H-3)/(Q_1^2)
printf("\nThus k= %0.4f ft/(gpm^2)",k)
disp("Thus the H/Q relationship can be tabulated and plotted as follows")
Q=[0 5 10 15 20 25 30];
Hdash = ze... |
9361c4c84750e533629547ea9f06b33b5e81b4e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH7/EX7.5/ch7ex5.sce | 1dfe343d17581a85b21d954fa73e6a6f9f5e2f94 | [] | 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 | 650 | sce | ch7ex5.sce | //signals and systems
// Inverse Continuous Time Fourier Transform
// shifted impulse function
clear;
clc;
close;
w0=1
A =1; //Amplitude
Dw = 0.005;
W1 = 4; //Time in seconds
w = -W1/2:Dw:W1/2;
XW=[zeros(1,length(w)/2) 1 zeros(1,length(w/2))];
XW = XW';
//Inverse Continuous-time Fourier Transform
t ... |
aa4ccbd48b5542b4cd7ff9f085f94bd932baeef1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH5/EX5.7.i/example_5_7i.sce | c846e620b985e9030ca1430ca24ebdc2e2496fa2 | [] | 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 | 813 | sce | example_5_7i.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 5
// Heat Transfer by Forced Convection
// Example 5.7(i)
// Page 241
printf("Example 5.7(i), Page 241 \n \n");
// Given data
D = 0.0125 ; // [m]
ST = 1.5*D ;
SL = 1.5*D ;
V_inf = 2 ; // [m/s]
N = 5;
Tw = 70; // [degree C]
Tm... |
5be9aa8717acf1891b6b8a847203e5289f4e8a32 | bbdc72de6d7eef74128eaf52b1f040053943de38 | /Code/Jacobi.sce | 689cdf568d854bb57c022b44462e58fed2100f7a | [] | no_license | Abdel-BHPC/Numerical-analysis | 46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0 | 2bcdb80d9ab8890d036eac3cce92b595abb88784 | refs/heads/main | 2023-03-02T14:11:06.939206 | 2021-02-08T08:40:07 | 2021-02-08T08:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,526 | sce | Jacobi.sce | /*
Etideur:
Jinshan GUO
Objecitf:
Fonction à réaliser l'algorithme de la méthode de Jacobi pour résoudre le système linéaire Ax = b
Principe:
A = M - N = D - E - F avec M = D , N = E + F
M*x^(k+1) = N*x^(k) + b => x^(k+1) = M^(-1)*N*x^(k) + M^(-1)*b
Containtes:
A est une matrice inversible
... |
58f61df5d852d40ee954433f2b0f90c352e61795 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.80/ex2_80.sce | 4acd25a2d4f89b82a0a453688003030d8f95804f | [] | 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 | ex2_80.sce | clc
V=200; //Assigning values to parameters
f=50;
L=20;
R=15;
Zl=sqrt(R^2+L^2);
pfcoil=R/Zl;
phi=acosd(pfcoil);
Il=V/Zl;
Ic=Il*sind(phi);
Xc=V/Ic;
C=1/(2*%pi*f*Xc);
Ir=Il*cosd(phi);
disp(polar(pfcoil),"Power factor");
disp("Amperes",polar(Il),"Current");
disp("Farads",C,"Value f shunting capacitanc... |
71b4dd670287369f34895c398ae262e1d1598b6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH10/EX10.7/exp10_7pp.sce | 10e5902838f7ac516a2eacb6fb1b9504469be7e4 | [] | 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,223 | sce | exp10_7pp.sce | clear
clc
disp("example10.7")
za=complex(0.03,0.09)
zb=complex(0.1,0.3)
zc=complex(0.03,0.09)
zd=complex(0.04,0.12)
ze=complex(0.04,0.12)
ia=complex(1.5,-0.4)
ib=complex(0.5,-0.2)
ic=complex(1,-0.1)
id=complex(1,-0.2)
ie=complex(1.5,-0.3)
il1=.4
il2=.6
na1=1;nb1=0.6;nc1=0;nd1=.4;ne1=.6
na2=0;nb2=-0.4;nc... |
1f5ad7e31671201bf4309934e84673759b3b2b1f | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/emptyflag.tst | 4d57ea7039cbaf46b62bde601c5c7645aedc98b9 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 446 | tst | emptyflag.tst | ## Test --empty modifier on msgin
set relax
read <min.fi
# Expecting failure on this command
msgin --empty-only <<EOF
------------------------------------------------------------------------------
Author: Ralf Schlatterbeck <rsc@runtux.com>
Author-Date: Thu 01 Jan 1970 00:00:00 +0000
Wearing stompy boots.
------------... |
e901b56c7e0fb88b77863527e4dd3279962543aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH9/EX9.2/Ch09Ex2.sce | 1b51c18132c8a45c04fb241964091396e4748f91 | [] | 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 | 785 | sce | Ch09Ex2.sce | // Scilab Code Ex9.2: Page-463 (2011)
clc;clear;
mu_1 = 1.50;....// Refractive index of the core
mu_2 = 1.45;....// Refractive index cladding
NA = mu_1*sqrt(2*(mu_1-mu_2)/mu_1); // Numerical aperture of optical fibre
printf("\n The NA of the optical fibre = %5.3f", NA);
theta_a = asind(NA); // The ac... |
f63be77618a2fbffd79d55250f9a4aef365660ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH3/EX3.7/ex3_7.sce | 1cc9dd4961662a295ade51c30cf16faacce22735 | [] | 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 | 329 | sce | ex3_7.sce | // Example 3.7 page no-167
clear
clc
Vdc=25
Idc=0.1
R=Vdc/Idc
Vc=Vdc+37.5
vm=Vc+(Idc/(4*50))
vrms=vm/sqrt(2)
vrms=60 ///approximated to
printf("\nVrms=%.0f V\n\nTherefore, a transformer with 60 - 0 -60V is chosen. \nThe ratings of the diode should be,\ncurrent of 125mA.and voltage = PIV = 2Vm = %.1f",vrms... |
e1342b3e442bf305e74477afdab88c9146681332 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH7/EX7.7/EX_7_7.sce | 9d4a8b39ddae737b571d5670949dc7500c2588f7 | [] | 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 | 710 | sce | EX_7_7.sce | // Example 7.6:operating frequency ,feedback fration ,minimum gain and emitter resistance
clc;
clear;
close;
Rc=2.5;//collector resistance in killo ohms
C1=0.001;//capacitance of tunned circuit in micro farad
C2=0.01;//capacitance of tunned circuit in micro farad
L=100;//INDUCTANCE of tunned circuit in micro hen... |
284a8ec1a98d17bef7b4f4681a91ef348f21d3a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH9/EX9.6/Ex_9_6.sce | 108c73b98db3cc364eb5909859e2e89c65675bfe | [] | 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 | 392 | sce | Ex_9_6.sce | //Example 9.6 // refractive index and 3dB spectral bandwidth
clc;
clear;
close;
//given data :
lamda=1.5*10^-6;// in m
L=300*10^-6;// in m
del_lamda=10^-9;// in m
n=lamda^2/(2*del_lamda*L);
disp(n,"refractive index , n = ")
R1=0.3;
R2=R1;
a=4.8;// in dB
Gs=10^(4.8/10);
c=3*10^8;
B=(c/(%pi*n*L)*asin((1-sqrt(R1*R2)*Gs)/(... |
397a296aeefde7bf1fc582f5fe64d4cbfd5f6e10 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /prog_assembly/libs/scilab_code/diodeADC_v2i.sce | b6ca26a1cfbf22074d227119470657996c6685d9 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | diodeADC_v2i.sce | function [Isat]=diodeADC_v2i(Vfg, chip_num1, brdtype1)
vdd=2.5;
EKV_diodeADC_para=csvRead("~/rasp30/prog_assembly/libs/chip_parameters/EKV_diodeADC/EKV_diodeADC_chip"+chip_num1+brdtype1);
Is=EKV_diodeADC_para(1); VT=EKV_diodeADC_para(2); kappa=EKV_diodeADC_para(3); Slope_v2h=EKV_diodeADC_para(4); Offset_v2h... |
70eb7a833c94eb6ec9cfac4e32b7a2e0c2e79fed | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH7/EX7.4/example7_4.sce | 4cf0221d083f0d6a56d01595b234b3b14badb750 | [] | 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 | 452 | sce | example7_4.sce | clear
clc
//Example 7.4 POWER PRODUCED BY A TURBINE
//Energy equation, V1=V2=0,(p1/gamma)+hp=(p2/gamma)+ht+hL
hp=0;
hL=1.5; //head loss[m]
p1=0;
p2=0;
z1=61; //[m]
z2=0; //[m]
Gamma=9810; //specific weight[N/m^3]
ht=(p1-p2)/Gamma+(z1-z2)-hL //turbine head[m]
Q=14.1; //rate of flow[m^3/s]
Pi=Gamma*Q*ht/10^6... |
ee971d394d61cdf1e3e7c9562946171e4222bbfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH4/EX4.1/ex4_1.sce | f0c8e27ef77f2331e9e5b1ebcde67fe29ec7daba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | ex4_1.sce | //chaptr 4
//D=2(L/lamda)
//broadside array
printf("\n");
L=1;
Lamda=1;//assume
BWFN=2 *180/(%pi);//2/(L/lamda)
printf("the Beam Width First Null is %gdegree",BWFN);
HPBW=BWFN/2;
printf("\nthe half power beam width is %gdegree",HPBW);
|
4d53a2a8b92200318b24c0274a2661178626f861 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/MP82VCF/ATWM1_Working_Memory_MEG_MP82VCF_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | c3eca4b9e81d202d7dc64ae98930f21215cf11aa | [] | 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 | 49,596 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#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_monito... |
a4a0e9348e4c4414815858e1f9ca8acab28e046a | bf63c70e054c641e89a6f7a4623a7634ce9a8a9d | /test/PP1.prev.tst | c8ec37490baadaa93fed191f86a91656b9b89cad | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | gfis/jextra | 9c8c030faf35f0834843ed8f07cc061ca9d65a64 | bdad8fd33fdf633cf2ff4c1879e1f61935c3d636 | refs/heads/master | 2022-03-13T21:31:56.132450 | 2022-02-12T21:27:40 | 2022-02-12T21:27:40 | 30,127,957 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 21,144 | tst | PP1.prev.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ProtoParser>
<scan finState="FINISH"><sym id="30" cat="24">/*------------------------------------------------------*/</sym></scan>
<scan finState="FINISH"><sym id="31" cat="22">\n</sym></scan>
<scan finState="FINISH"><sym id="32" cat="26">EOF</sym></sca... |
c864b7cf657c387e8b3e7e11648ee874b5354156 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH2/EX2.35.b/Example2_35_b.sce | 73cc4f1b7d15091f28bfd4ec8b78d1cb083d633b | [] | 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 | 655 | sce | Example2_35_b.sce | //Example 2.35 (b)
//To plot the responce of the system analyically and using scilab
clear;
clc ;
close ;
n=0:1:20;
x=ones(1,length(n));
b=[0 1];
a=[1 -1 -1];
yanaly=0.447*(1.618).^n-0.447*(-0.618).^n;//Analytical Solution
[ymat,zf]=filter(b, a, x);
subplot(3,1,1);
plot2d3(n,x);
xlabel('n');
ylabel('x(n)'... |
84e3cc63fca1d7522c45a8792aa9b56124cbdba8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH4/EX4.4/Ex4_4.sce | 6d5439383d1d46341e56f75477a676258f611c26 | [] | 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 | 256 | sce | Ex4_4.sce |
//Ex4_4
clc;
// Given:
t1=12.3;// in yrs
L=6.022*10^23;
// Solution:
k=.693/(t1*3.16*10^7);// in s^-1
A=(2*L)/(2.24*10^4);// no. of atoms
a1=A*k;// dis per s
a=a1/(3.7*10^10);// activity in Ci/cm^3
printf("The activity in Ci/cm^3 = %f",a)
|
98874b305aec6b6e25b4aa5a63bf8f2694d344ce | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/sot.tst | 2dd2920aceafd0ecb90a4cc614983855bcd43a60 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,232 | tst | sot.tst | phomolo uzophomolo V;SG;3;PST
phomolo siyaphomolo V;PL;2;PRS
phomolo niphomolo V;SG;2;FUT
phomolo bayaphomolo V;SG;1;PST
phomolo uyaphomolo V;PL;1;PRS
phomolo uzophomolo V;PL;1;PST
phomolo bazophomolo V;PL;3;PST
phomolo ngiyaphomolo V;SG;1;PRS
phomolo uyaphomolo V;SG;3;PRS
phomolo ngizophomolo V;SG;2;PST
phomolo niyaph... |
7a479e1a6489a6158b7136aac92b15c176f80dd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH6/EX6.10/Exa_6_10.sce | f2dd5f33a1e6a2fcaa04af225efb655ecf953b9e | [] | 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 | Exa_6_10.sce | //Exa 6.10
clc;
clear;
close;
format('v',7);
//Given Data :
p=8;//bar
x=0.8;
vf=0.001115;//m^3/kg
vg=0.24;//m^3/kg
hf=720.9;//kJ/kg(at p=8 bar)
hfg=2046.5;//kJ/kg(at p=8 bar)
m=1;//kg
We=100*p*(x*vg-vf);//kJ/kg
disp(We,"External workdone during evaporation in kJ/kg : ");
Q=x*hfg-We;//KJ
disp(Q,"Extern... |
42394f2ab4ec0e6c0a8d8534b43645bf6192ab24 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/BIPO/QF57VLG/ATWM1_Working_Memory_MEG_QF57VLG_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 0087e33beb6e2b6840e22e7d7286de9a40741539 | [] | 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 | 49,600 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_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_monito... |
ece837fff857c0278bbb8c145d7f95b2f8aea85f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH12/EX12.4/12_4.sce | 3e1829ae9ae14337e4746f841bddf02c03b43072 | [] | 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 | 582 | sce | 12_4.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 12.4
//calculation of the value of phase constant
//given data
//x = A/2
//x = A *sind((w*t) + delta).......equation
//calculation
//at t=0 delta=asind((A/2)/A)
delta=asind(1/2)
delta1=180-delta//another value... |
8618683754216c9bbae295613bcd001d9c1645db | 449d555969bfd7befe906877abab098c6e63a0e8 | /3655/CH9/EX9.4/Ex9_4.sce | 754af667cc0a55edeac677ed97428a148bd3e0b4 | [] | 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,250 | sce | Ex9_4.sce | // Example 9.4
// Computation for various gains & i/p &o/p impedances//
// Page no.387
clc;
clear;
close;
//Given data
hfe=50;
hoe=25*10^-6;
RL=1*10^3;
hie=1100;
hre=2.5*10^-4;
Rs=1000;
//..................................(A).....................................//
//Calculation for current gain//
AI=-hfe/(1+hoe*RL... |
b67cd30d21fbc0a8f854578e4fd51fa20eef441a | 584105ff5b87869494a42f632079668e4c3f82de | /wrapppers/help_files/disparitySGBM.sci~ | 695324e2060e95dfcb357f135907a4ce8be1fd57 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | disparitySGBM.sci~ | function [disparitymat] = disparitySGBM(I1,I2,numofDisparities,minDisparity,sadwindowsize,p1,p2,maxDiff,prefilterCap,uniquenessratio,speckleWindowSize,SpeckleRange,fullDP)
[disparitymat] = opencv_disparitySGBM(I1,I2,numofDisparities,minDisparity,sadwindowsize,p1,p2,maxDiff,prefilterCap,uniquenessratio,speckleWindowSi... | |
61fb3b88eac6075651efcf12a9cb3377090182a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH2/EX2.11/Ex2_11.sce | c84b90f51837d50c8aa28e26acdb0a83ca14c1bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | Ex2_11.sce | clc
//to calculate refractive index of the sheet
t=6.3*10^-6 //thickness of thin sheet of transparent material in m
lambda=5460*10^-10 //wavelength in m
n=6
mu=(n*lambda/t)+1
disp("the refractive index of the sheet is mu="+string(mu)+"unitless")
|
bd18abc059179254afc515afd9bcbf0f8f777a24 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH7/EX7.19/7_19.sce | da552e07162ed5ddd9029a938dbff5d843cc3225 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | 7_19.sce | clc;
n=5;
t0=25.740
tn=27.880
v=-[(t0-25.730)/5];
v1=(tn-27.870)/5;
t=25.735;
t1=27.875;
Et=110.9880;
corc=-5*v1+[(v1-v)/(t1-t)]*[Et+26.81-5*t];
temp_rise=tn-t0;
c_temp_rise=temp_rise+corc;
q=c_temp_rise*2500*4.187*10^-3;
Q=q/(.825*10^-3);
disp("kJ/kg",Q,"calorific value of fuel is:");
|
66d02da6679e7745430c2f9afbbf958f7b75082b | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH4/EX4.1/EX4_1.sce | 38c410265de528579bf0fe92ee03993588cf2e9f | [] | 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 | EX4_1.sce | //Calculating synchronous speed and speed of a rotor
//Chapter 4
//Example 4.1
//page 288
clear;
clc;
disp("example 4.1");
f=50; //frequency
p=6; // number of poles
V=400; //voltage supply
S=4; //percentage slip
Ns=(120*f)/p; //synchronous speed
printf("Syhchronous speed,Ns=%d \n",Ns);
Nr=(1-(S/100))*... |
99add5e0b1a37ab1c5b277502531a404f7bc26c3 | b4980b761e4b88d097e526fe06ebef2383d3d613 | /lab04/Signed/MainChip.tst | 8e7582e53b00e44a228cb610dfafdff2f763dd6a | [] | no_license | Vineeth-Kada/Computer-Systems-Design | aa42b053c709fdbf06713dc3e1e2649faa02c65d | 4c05e393e057ffb1540c74a53a0cb17f7129d8f8 | refs/heads/main | 2023-06-17T06:27:02.442583 | 2021-07-15T10:43:37 | 2021-07-15T10:43:37 | 289,896,111 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,183 | tst | MainChip.tst | load MainChip.hdl,
output-file MainChip.out,
compare-to MainChip.cmp,
output-list x%B1.8.1 y%B1.8.1 Z%B1.8.1 OF%B3.1.3;
// A pair of operands not resulting in overflow, both operands are positive
// x = 12, y = 8, M = 96, OF = 0
set x %B00001100, set y %B00001000,
eval, output;
// A pair of operands not r... |
2b0fc58386f7c204887d7ea800f2362faaf63883 | 20479ef6060920bd3d37ae74ecd2129f8ba8f29e | /Questão10.sce | b02a8e2846b6830d7bcfd8e05315228c6781a530 | [] | no_license | andersonvalentim/Atividade-Denilson-Scilab-UFERSA- | db4b58fc082bd80f076e67908435674f49ce45e4 | 4d02ddd342681165028ea6b4ebc7ec6d8bb7d9a9 | refs/heads/master | 2021-09-12T15:30:30.076790 | 2018-04-18T01:58:47 | 2018-04-18T01:58:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 84 | sce | Questão10.sce | numero= input("Digite o numero ");
raiz=sqrt(valor1);
printf("A raiz é %g",raiz);
|
a9f7e4b0fc3a18ab156f94587bea806162874015 | 280a6ba512debfe9018f27b12c6777807f321b28 | /Método de Newton.sci | 656bc915960a8bc6c220d14dcbf4605f605ae483 | [] | no_license | remullo/Computational-Mathematical-Modeling-Projects-for-Scientific-Approaches | 326381bbbeb4933ccb3ad2e9455a894018130393 | f902df127645a158c9f4bdc37a59652e0e71a845 | refs/heads/master | 2023-04-12T08:08:32.288263 | 2021-07-26T22:22:06 | 2021-07-26T22:22:06 | 54,357,173 | 2 | 0 | null | 2021-07-26T22:22:07 | 2016-03-21T03:29:15 | Scilab | UTF-8 | Scilab | false | false | 869 | sci | Método de Newton.sci | function y = f(x);
y = x^3-5*x+1; //função a ser utilizada
endfunction
function dy = df(x);
dy= 3*x^2-5; //derivada da função
endfunction
x = [0:0.01:0.3]; //valores de x para checar a função no gráfico
//plot da função
plot(x,f(x), '-o');
xgrid;
x0 = 0.19; //chute inicial
erro = 1; //erro inicial para rod... |
e10a4d0b2cbe68ec1ef88ec2e723d1d51f1c23f1 | 442594d2bd878ce6877affbe8cffc18199be46aa | /misc/plot.sce | 5d3be21ec6ad96a82141bbd2c7acbb774f0c687a | [] | no_license | renatopontes/gauss-seidel-gpu | 37548ea488a8767785ae5a8691f7758bddc81c38 | 52ce3b748a786bd3905ca19e14caf1a02554c56b | refs/heads/master | 2021-06-19T08:33:12.285510 | 2017-07-13T14:34:57 | 2017-07-13T14:34:57 | 76,124,021 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | plot.sce | [x, text]=fscanfMat("..\out\matriz.txt")
[nl,nc]=size(x)
xset ("colormap",jetcolormap(256)) // use of the color table
grayplot(0:(nl-1), 0:(nc-1), x)
contour2d(0:(nl-1), 0:(nc-1), x, (nl+nc)/5)
|
5530340724279a0742d368042d20b44e2cd2aa6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH16/EX16.4.d/Example16_4d.sce | 589aed8e53425405d32c88b1cafffc83d564ffcf | [] | 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 | 923 | sce | Example16_4d.sce | clear;
clc;
//Calculation of R
//Given Data
Vbb = 1.15;//in V
Vee=5.20;//in V
Vbe5=0.7;//in V
R=1.18;//in K
r=300;//in ohm
Vbecutin=0.5;//in V
//If all inputs are low then we assume that Q1,Q2 and Q3 are cutoff and Q4 is conducting
Ve=-Vbb-Vbe5;//Voltage at Common Emitter in V
//Current I in 1.18K Resis... |
5e00f2e40a08d74fbc87f8f2b1cebcde0dfaf81e | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH11/EX11.10.b/exa11_10_b.sce | c6ee7d48f15ce3d0a10e8c042c6e9a6f0aabb9b3 | [] | 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 | 705 | sce | exa11_10_b.sce | //Caption:calculate_Td,tr,Tp,Mp
//example 11_10_b
//page 478
s=%s;
syms Td
G=16/(s^2+1.6*s)
G1=1+s*Td
H=1;
a=G*G1
CL=a/.H
CL=simple(CL)
disp(CL,"C(s)/R(s)=");
zeta=0.8//given
//since zeta=0.8 so 2*zeta*Wn=1.6+16*Td
Wn=sqrt(16)
//so on solving
Td=0.3
//so transfer function takes the form:
CL1=(16+4.8*... |
b9d04c79322d8c3174dd865684aced3016226526 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Vertical Switching.sce | eab47667b5fe35f2b6645b2751bb9026c07c2354 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 67,782 | sce | Vertical Switching.sce | Name=Vertical Switching
PlayerCharacters=VS Challenger
BotCharacters=VS Target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=VS Challenger
AddedBots=VS Target.bot;VS Target.bot;VS Target.bot;VS Target.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;2
MapName=veranda_h80deg_v60deg.map
MapScale=1... |
17dadcdd1d6a5ec485f1ffd005f033aef0079620 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH12/EX12.1/Ch12Ex1.sce | 823b6d045a74c024102d74c925ff29249d8a3ddc | [] | 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,342 | sce | Ch12Ex1.sce | // Scilab code Ex12.1: Pg 418 (2005)
clc; clear;
// Part (a)
k_B = 1.38e-23; // Boltzmann constat, J/K
m_e = 9.11e-31; // Mass of electron, kg
T = 300; // Temperature, K
N_A = 6.023e+023; // Avogadro's number
v_rms = sqrt((3*k_B*T)/m_e); // Root mean square velocity of electrons, m/s
I = 10; /... |
ea358a506deb8902a1f14eaaefb301f96334243e | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Adapting to Movements.sce | 17d71f52c45b4c88001f0a69f58311c657a3f418 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 42,554 | sce | Adapting to Movements.sce | Name=Adapting to Movements
PlayerCharacters=AM Challenger
BotCharacters=AM Bot Rotation.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=AM Challenger
AddedBots=AM Bot Rotation.rot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=adapting_to_movements.map
MapScale=1.0
BlockProjectilePredicto... |
d43d77eeab5df5e2f967935e02a331b8d8491e17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH7/EX7.2/7_2.sce | 1f68dfecaca88dee79013fb0e78249a2b83d11df | [] | 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 | 190 | sce | 7_2.sce | clc
//initialisation of variables
K= 1.25*10^6
m= 1000 //gms
M= 18.02 //gms
//CALCULATIONS
nco2= 760*m/(M*K)
//RESULTS
printf ('moles of carbon dioxide= % 2e mole litre^-1',nco2)
|
c7742654e7535ce7f3c282e720ad463c73dbf4db | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/m2sci/sci_any.sci | e30ba35aeed2957770e63af565270fcba9b7dae7 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sci | sci_any.sci | function [stk,txt,top]=sci_any()
// Copyright INRIA
txt=[]
stk=list('or('+stk(top)(1)+')','0','1','1','4')
|
67f08424a78b593533651a908bdb7478c2438d8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH3/EX3.9.e/3_09_example.sci | ab4501b17a5bce633f3d2ef6af04f999f119e5ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sci | 3_09_example.sci | //Example 3-09 A Gravity Controlled Cylinderical Gate
R = 0.8 //radius of cylinder [m]
h_bottom = 5 //maximum level of water in tank [m]
g = 9.81 //gravitational acceleration
rho = 1000 //density of water [kg/m^3]
|
26552129e95b9ccdd4d51ce82ba18b3983eb2c52 | b3c9357cd1290921e67444ae057761959fdf24f1 | /Geral/convid-19/importdata.sci | d4c64356a02ef9f78ff050b7cf5cb20bcbd1d958 | [] | no_license | joaolrneto/Scilab | 91742520422426dc8a772997ef4a5d6376008b6e | f383f87e4585955cf19d0dae1b5c29f93c3f70b4 | refs/heads/master | 2023-02-05T20:13:03.677069 | 2020-12-30T14:53:09 | 2020-12-30T14:53:09 | 264,671,730 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sci | importdata.sci | mode(0);
clear importdata;
function [header, data] = importdata(filename)
header = mgetl(filename, 1);
header = csvTextScan(header, ",", ".", "string");
data = csvRead(filename, ",", ".", "string", [], [], [], 1);
endfunction
|
d9d8c3e59bcc903f6b56a009e1487d29bd19895b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH4/EX4.13/Example_13.sce | f47b7d766470475a8e2d8cd15ce68abd3f287624 | [] | 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 | 218 | sce | Example_13.sce | //Chapter-4,Example 13,Page 96
clc;
close;
q_rev= 12.19 //latent heat
n= 32 //mols
T= 273-182.9 //temperature in Kelvin
dS= q_rev*n/T
printf('the change of molar entropy is %.2f J/mol',dS)
|
12b96445b612e18df4116ea2211ec9779a01714d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH11/EX11.8/Ex11_8.sce | 975af5fd49eceb75cbb8d47ba7811019035def06 | [] | 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 | 286 | sce | Ex11_8.sce | clear;
clc;
P = 150;; //tons
t = 3/4;// inches
d = 1;// inches
f_s = 6;// tons/in^2
f_b = 12;// tons/in^2
P_s = 0.25*%pi*d^2 *f_s;// tons
P_b = t*d*f_b;// tons
n = P/min(P_s,P_b);// no. of rivets required
printf('The number of rivets required, n = %.2f, say %d',n,round(n));
|
7c9a33866fc8449c2e1c270128763e09ebee108b | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/scatter3.sci | 755cf9f9a7c2444e2886c4d2e8b24d0596b8d1c7 | [] | 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 | 13,999 | sci | scatter3.sci | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) Scilab Enterprises - 2015 - 2012 - Juergen Koch <juergen.koch@hs-esslingen.de>
//
// Copyright (C) 2012 - 2016 - Scilab Enterprises
//
// This file is hereby licensed under the terms of the GNU GPL v2.0,
// pursuant to article 5.3.4 of ... |
dfd29eb5d4ed23d3b2179b8d3f62265177bed9b6 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.10_11.tst | 54ad8265eb6ac586e425e34ae8310cea7cd9905d | [] | 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 | 272,438 | tst | 5.10_11.tst | 10 1307:1 1428:1 2892:1 3010:1 4065:1 4306:1 4363:1 5491:1 5708:1 6532:1 7257:1 7367:1 7557:1 9095:1 9154:1 9422:1 10918:1 11328:1 11351:1 12453:1 13565:1 14153:1 14539:1 15952:14 16414:1 16702:1 17177:1 18181:1 19379:1 19694:1 19761:1 22189:1 23008:1 23568:1 23615:1 24364:1 24949:1 25226:1
10 772:1 1307:1 1428:1 1470:... |
6fb24bd7c28310ce171f94e10566a3cc731b060b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH1/EX1.11/Ex1_11.sce | 4501185827c3bd88374201791cbeabf1a13b6083 | [] | 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 | 685 | sce | Ex1_11.sce | b=350//width, in mm
D=650//overall depth, in mm
Ast=4*.785*22^2//four 22mm dia bars, in sq mm
cover=25//in mm
d=D-cover//effective depth, in mm
W=20//UDL, in kN/m
l=7//span, in m
M=W*l^2/8*10^6//bending moment, in N-mm
m=13.33//modular ratio
//to find actual depth of neutral axis using b(x^2)/2=mAst(d-x), whi... |
728a979ca5ce209ad14febec442c597aa4a43889 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH8/EX8.2/Ex8_2.sce | 09e007cdc643bcc320a685108f2a935c4b6a7023 | [] | 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 | 745 | sce | Ex8_2.sce | // Example 8.2
clear all;
clc;
// Given data
P = 6.895; // Pressure of steam in MPa
w = 2.93*10^6; // Steam flow rate in kg/hr
Tin = 190.6+273; // Inlet temperature in Kelvin
// 1.
// Using the data from Table IV.2
// Result
printf(" ... |
6b334424e34e7a0e87d3b7f6ce77a4e7bbcacde0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH2/EX2.12/Ex2_12.sce | 7b9aa959e8597046024e86f0721eeaf2e8055a98 | [] | 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 | 582 | sce | Ex2_12.sce | clc
//given that
E_eV = 0.5// kinetic energy of electron in KeV
del_x = 0.4 // Uncertainty in position in nm
h = 6.63e-34 // Plank constant
m = 9.1e-31 // mass of electron in kg
printf("Example 2.12")
h_bar = h / (2*%pi) // constant
E_J = E_eV*1e3*1.6e-19
p = sqrt(2*m*E_J) // Calculation of momentum in kgm... |
1bc42b33cf4c07dfcb9050c10d50048e0a4918ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH19/EX19.9/Ex19_9.sce | 96968f5419ec988b977d04aa405c3a5177692cfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | Ex19_9.sce | //Example 19.9//
h=(0.6626*10^-33);//J s //Joule-second //Planck's Constant
c=(0.2998*10^9);//m/s //meters per second //speed of light
l=400*10^-9;//m //meters // Wavelength
a=6.242*10^18;//eV/J //1 Coulomb of charge
E=((h*c)/l)*a
mprintf("E = %f eV",E)
|
036ea7456e13eed1560da57bf1752895d1dd863b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH4/EX4.2/Ex4_2.sce | d36c68c631fa938d677207aa34ebb1d750d155bf | [] | 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 | 154 | sce | Ex4_2.sce | //Example 4.2, page 107
clc
disp('Part a')
N=10^4//in rad, Number of atoms tarversed
theta=(2*10^-2)/sqrt(N)
printf("\n Average deflection %e rad ",theta) |
dfdf93cf51d8002e1e26e53c39de9c571de7be0c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380.zip/Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380/CH7/EX7.3/Ex7_3.sce | 4bd764323e39eed2c3e9748ba00945b7b50df30c | [] | 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 | 308 | sce | Ex7_3.sce | errcatch(-1,"stop");mode(2);///Caption:Find the distribution factor
//Exa:7.3
;
;
P=12;//no. of poles
S=108;//no. of slots
n=S/(3*P);//no. of coils in a phase group
S_p=S/P;
Y=180/S_p;//slot span (in electrical degree)
K_d=(sind(3*(Y/2)))/(3*sind(Y/2));
disp(K_d,'distribution factor=');
exit();
|
1ec00d8326b669c8a5617d1ab57e7eac5ed8c301 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH1/EX1.1/Example1_1.sce | e5c261ad2dbbb1f7166c21891430aa6c296cee14 | [] | 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 | 221 | sce | Example1_1.sce | //chapter-1,Example1_1,pg 40
n=4
M=65.34
N=6.023*10^23
d111=2.08*10^-8//interplannar spacing
a=d111*sqrt((1^2)+(1^2)+(1^2))
D=(n*M)/(N*(a^3))
printf("density of Cu-metal\n")
printf("D=%.2f g/cc",D) |
1a262cd2c9fe558a51823a41923707d749a93a30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.22/2_22.sci | abd18dab6136b556d953bf38a4531ae637d61a8b | [] | 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 | 245 | sci | 2_22.sci | // 2.22
clc;
th1=100;
th2=130;
th0=th1+th2/2;
Rth1=573.40;
Rth2=605.52;
Rth0=589.48;
ath0=(1/Rth0)*(Rth2-Rth1)/(th2-th1);
printf("alpha at o degree= %.5f /degree C ",ath0)
disp('Linear approximation is: Rth= 589.48[1+0.00182(th-115)]') |
138e783d100c2cef91ad7d57e5900980fcb5139d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH16/EX16.6/166.sce | ff1bf49ccdfe4b00b734183db16177b61424d2ee | [] | 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 | 834 | sce | 166.sce | clc;
//Example 16.6
//page no 191
printf("\n Example 16.6 page no 191\n\n");
//a mixture of air(a) and kerosene(k) are flowing in a horizontal pipe
rho_a=0.075//density of airlb/ft^3
meu_a=1.24e-5//viscosity of air ,lb/ft.s
q_a=5.3125//flow rate ft^3/s
rho_k=52.1//density of kerosene,lb/ft^3
meu_k=0.00168//vi... |
579b986355a1d0cc03beaed855e688932699ce36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH11/EX11.8/Ex11_8.sce | b9511ba11150902c54a7afdb77e1018e2be0d4c8 | [] | 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 | 491 | sce | Ex11_8.sce | // Exa 11.8
clc;
clear all;
// Given data
w=3000; // Angular frequency in rad/s
R2=10*10^3; // Ohms
R1= 2*10^3; // Ohms
C1=1*10^-6; // farads
R3=1*10^3; // Ohms
// Solution
// Using equations 11.19 and 11.18 (page no.326)to find values of Rx and Lx
Rx=w^2*R1*R2*R3*C1^2/(1+w^2*R1^2*C1^2);
Lx=R2*... |
f46c5407f2152bad1538aead11ae15708ca588aa | 776c9715b4adba254a4ce6ad7391bae87e8086a2 | /nscnet/fujenq.tst | e11546a7fd834d6b7ac7be13efcd38d77fa6dc00 | [] | no_license | TYMCOM-X/169279.tape | b0cf2f2cc6a400acb6b0ca2f44ef17f0a4854666 | a80150749ad1dc588b6768dfd53c1a21cfc7d783 | refs/heads/master | 2023-03-23T08:41:21.289217 | 2021-03-19T11:26:42 | 2021-03-19T11:26:42 | 345,965,036 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 740 | tst | fujenq.tst | :==============================================================================
: Product PBH v10.04
: Patch Name FUJENQ.TST
: Author Toshi Aoki (NIS.AOKI)
: Date 27-SEP-1990
: Description Fujitsu model K series host is designed to respond to a
: Forward Abort from the PBH not only with an EOT but also
: with... |
7cf1c7ff6f278db5e9c15454d016a2f36053f4bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH9/EX9.12/ex9_12.sce | d47a4579c61b3beab623a80e98af99eee7344b42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | ex9_12.sce | // Example 9.12
format('v',6)
clc;
clear;
close;
// given data
Ta= 70;// ambient temperature in °C
P= 30;// in power dissipation in W
theta_CS= 0.5;// in °C/W
theta_SA= 1.5;// in °C/W
// The case temperature
Tc= Ta+P*(theta_CS+theta_SA);// in °C
// The power rating
P_Dmax= 60;// in W
disp(Tc,"The case tem... |
dac048eed853bc8b91371d54d28042100588fa2c | 9d2c9394c6b6997318b9d04556462c9bba639045 | /Replication 2/Dave_RIFData/Dave_RIFData/Sub6/VP6_OneBack.sce | 4528c72d488c339e879088da09a2c3327c835ca2 | [] | no_license | rettopnivek/Wimber_et_al_replication_3 | 673b156d8d18d58b92b2f05fedef87976e787089 | 8dbc22329093a61b1e5cb8aac3feca45a5c82d06 | refs/heads/master | 2020-12-31T04:42:39.856717 | 2018-02-01T15:49:15 | 2018-02-01T15:49:15 | 58,006,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,882 | sce | VP6_OneBack.sce | array <int> finalSeq[432] = {20,20,36,65,53,53,9,31,9,36,32,46,69,22,49,18,18,25,59,6,30,50,52,23,36,72,41,41,63,63,24,66,25,25,42,19,41,41,60,7,14,14,43,18,6,8,31,7,16,17,17,56,66,61,55,57,20,10,57,41,19,32,34,31,37,33,67,48,54,54,22,68,12,70,70,14,3,51,51,8,8,63,23,12,33,9,15,15,51,35,42,14,51,51,64,54,64,5,37,48,60,... |
a8160ef6ecfa459c2b81ad3be51113ad2bc3e8a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH21/EX21.12/21_12.sce | 15169ce75eb89e454a041165ca048d2eb70bb3ae | [] | 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 | 642 | sce | 21_12.sce | //Chapter 21, Problem 12
clc;
v1=4500; //primary voltage
v2=225; //secondary voltage
f=50; //frequency
en=15; //e.m.f. per turn
B=1.4; //maximum core flux density
n1=v1/en; ... |
c8e7c67c6c3afbe9730bcc94380d2522036e399a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH2/EX2.10/Ex2_10.sce | 0f0243c3173468c5428be54e7734b9287ccec68f | [] | 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 | 418 | sce | Ex2_10.sce | clc
//variable initialization
P=80e+3 //power in Watt
Va1=440 //voltage in volts
N1=800 //speed in rpm
N2=600 //speed in rpm
Eb1=410 //Given back emf in volts
Vrms=415 //voltage in volts
//solution
Eb2=Eb1*(N2/N1)
Ia1=P/Va1
Ra=(Va1-Eb1)/Ia1
Ia2=0.75*Ia1//As motor is operating at 75% of rated torque
Va2=... |
e61df60d8d26f4454958ac3f3eea54d678b9420c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.29/ex_2_29.sce | 806ed8c892a3674c0f02d04007886f2d78952bfb | [] | 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 | 443 | sce | ex_2_29.sce | //Example 2.29 :area and percentage error
clc;
clear;
close;
//given data
v1=18;//kV
c1=60;//pF
v2=2;//
q=v2*10^3*c1*10^-12;//
cs=q/(v1*10^3);//F
d=2.5;//cm
eo=8.854*10^-12;//
a=((cs*d*10^-2)/(eo));//
disp(round(a*10^4),"area is,(cm^2)=")
c2=50;//pf
x=c1-c2;//
stf=((v2*10^3)^2*x*10^-12);//
v=sqrt(stf/(x*10^-12*2))/100... |
4871bdea3e9327a82f127e98749a2b08d36f810d | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/struct_initialization_runme.sci | e91d1e61113ab71afbafb7c5dbd4471c408aaecf | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | struct_initialization_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:f3f660487b5aaa0de5c161f953a96fcb9bf46adfe47655553e0a4a4f7f765548
size 461
|
7e3293bb03825b8cf93e3f855ca9fd8370f775f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH7/EX7.2/Ex7_2.sce | c9a27a86c77814c86072325ca04df26e9f47ad79 | [] | 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,041 | sce | Ex7_2.sce | //CHAPTER 7 ILLUSRTATION 2 PAGE NO 197
//TITLE:GOVERNORS
//FIGURE 7.5(A),7.5(B)
clc
clear
//===========================================================================================
//INPUT DATA
OA=.3// LENGTH OF UPPER ARM IN m
m=6// MASS OF EACH BALL IN Kg
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.