blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8b15eb84383cabcf010f6364132a1de560c3727c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/auto/obscont.sci | 0bc86e6da940bdd917509aed23cbccbb68a93a54 | [
"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 | 465 | sci | obscont.sci | function [K,r]=obscont(P,Kc,Kf)
//Returns the observer-based controller associated with a
//plant P=[A,B,C,D]. The full-state control gain is Kc and filter
//gain is Kf. A+B*Kc and A+C*Kf are assumed stable.
// Copyright INRIA
[LHS,RHS]=argn(0)
[A,B,C,D]=abcd(P);
K=syslin(P(7),A+B*Kc+Kf*C+Kf*D*Kc,-Kf,Kc)
if LHS==1 the... |
005d5d732ff6db1bc60d4fc852c3ff6a2f88df18 | de14a6897d4397228a52bacb8905b8807370ef4b | /koch_iteratif.sce | d822d6654b05eb19db56e26701bbbfc29c7a6a90 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 931 | sce | koch_iteratif.sce | function Y=f1(X) //partie gauche basse (reduction 1/3)
Y=[1/3,0;0,1/3]*X
endfunction
function Y=f2(X) //partie gauche haute (reduction 1/3 et rotation)
Y=[1/6,-sqrt(3)/6;sqrt(3)/6,1/6]*X+[1/3;0]
endfunction
function Y=f3(X) //partie droite haute (reduction 1/3 et rotation)
Y=[1/6,sqrt(3)/6;-sqrt(... |
0e07798de879561df2fd29eec7e45ec509415c61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH13/EX13.2/13_2.sce | 34b0ef01753eed3827d19af1596335825c84376e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 654 | sce | 13_2.sce | clc
//initialisation of variables
clear
lc= 0.25
a= 90 //degrees
p= 3000 //lb/in^2
g= 32.2 //ft/sec^2
d1= 0.5 //in
Q= 0.171 //ft^3/sec
d= 54.5 //lbm/ft^3
n1= 2
n2= 6
lc1= 0.9
nop= 0.88
nom= 0.88
//CALCULATIONS
P1= 4*p*144/11
P2= 8*d*Q^2*(n1*lc+n2*lc1)/(%pi^2*(d1/12)^4*g)
pt= P1+P2
dpm= (p*144-pt)
n... |
6814bb245303dc7a582cfaf54a2c13ae41c79997 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH5/EX5.14/Ex5_14.sce | 882e71c8515ee4bfd4cfed9a23341e98ca575e38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 723 | sce | Ex5_14.sce | clear
//
ur=0.20 //The coefficient of friction between the rope and the fixed drum
uo=0.30 //The coefficient of friction between other surfaces
cosa=4.0/5.0 //cos of angle of inclination
sina=3.0/5.0 //sin of angle of inclination
Ww=1000.0 //weight
o=3.14 //angle of contact of rope with pulley
//for u... |
c06c6e0a3f45cd9782c070f09a26f19bacd71525 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH9/EX9.4.b/ex_9_4_b.sce | 695a960bb1724994e8634e08682f7edde3a542e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_9_4_b.sce | // Example 9.4.b: Temperature
clc;
clear;
close;
format('v',5)
E=350;// in GN/m^2
Y=2;// in J/m^2
C=2;// in micro meter
sg=sqrt((2*E*10^9*Y)/(%pi*C*10^-6));// IN mn/M^2
e=10^-5;// per second
T=173600/(round(sg*10^-6)-20.6-61.3*(log10(e)));// in kelvin
disp(T,"temperture in kelvin for ductile to brittle transition at a ... |
a0990cf1f5ba8f89ab6535f0037b51855d6cf235 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH2/EX2.11/example2_11.sce | f077337d633145c779cbc750ee4ec96087051521 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example2_11.sce | clear;
clc;
// Stoichiometry
// Chapter 2
// Basic Chemical Calculations
// Example 2.11
// Page 22
printf("Example 2.11, Page 22 \n \n");
// solution
Ca = 40.078 // at. wt of Ca
F = 18.9984032 // at wt of F
M1 = 3*Ca +2*(30.97762+(4*15.9994)) // molar mass of Ca3PO4
M2 = Ca +12.0107+3*15.9994 // ... |
731155557423fd5515e3d2f302b32b90ec46f324 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH3/EX3.2/ex_3_2.sce | 3b0dd302b46b09258d966b643e19a7c3d435b8e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | ex_3_2.sce | //Example 3.2 // Refractive index of glass
clc;
clear;
//given data :
i=%pi/3;// incidence angle in radian
//reflected and refracted rays are perpendicular to each other
u=tan(i);//Refractive index
disp(u,"Refractive index of glass")
|
cf3334f557b4ffe83b4cfca3acfc47aee00a3d94 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/metanet/g_demand.sci | a4183eb4de858b9ae9a20d742142b413f2617f4b | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 77 | sci | g_demand.sci | function d=g_demand(g)
[lhs,rhs]=argn(0), if rhs=0 then g=the_g, end
d=g(19)
|
09024bbb930012697f8f5b51afe2e1e80589d423 | 8712fac5701f1aea100763dd8e3c1e4a06470df1 | /FFT_exemplo.sci | 6cf37a32b9ff267e91dca4c5b0dd3826a1f87aa6 | [] | no_license | paula-an/FourierScilab | a47404673d957a098b988444aec86c50b1fc96f4 | 32782dfe8904107c9a4c707f683f931570b195a1 | refs/heads/master | 2022-12-04T06:37:40.792025 | 2020-08-10T22:05:42 | 2020-08-10T22:05:42 | 285,903,782 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,144 | sci | FFT_exemplo.sci | clc // Limpa o console
clear // Apaga as variáveis do "navegador de variáveis"
xdel(winsid()) // Apaga as janelas gráficas abertas
//
// Taxa de amostragem
ts = 1000 // [Hz]
//
// Tempo discreto
t = 0:1/ts:0.1 // [s]
//
// Número de amostras
N = length(t)
//
// Frequências associadas:
// A resposta... |
7e800ed6012afec5ee9bdd232d72982519b17192 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH7/EX7.3/Ex7_3.sce | 7ec62937844fa6f799d099e35d4ddb9ef2c42a94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_3.sce | //Ex_7_3
clc;
clear;
close;
format('v',6);
//given data :
alfa=0.90;//current gain
ICO=15;//micro A(reverse saturation currenrt)
IB=0.5;///mA(Base Current)
Beta=alfa/(1-alfa);//unitless
IC=Beta*IB+(1+Beta)*ICO/1000;//mA(Collector Current)
disp(IC,"Collector Current(mA)");
|
53b58d87f5caeb8291ca1495c56b3102d9e35794 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH1/EX1.8/Example1_8.sce | a0c856245e09e08951328017ac3e6954734325c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | Example1_8.sce | //Chapter-1,Example1_8,pg 1_39
V1=1
Vin=30
Rin=9*10^6
R4=Rin/100//for Vin=100V
R3=(Rin-50*R4)/50//for Vin=50V
R2=(Rin-30*R3-30*R4)/30//for Vin=30V
R1=Rin-R2-R3-R4
printf("resitance values are\n")
printf("R1=%.2f ohm\n",R1)
printf("R2=%.2f ohm\n",R2)
printf("R3=%.2f ohm\n",R3)
printf("R4=%.2f ohm\n",R4)
|
68d41c7f3fd3ce402b5cfaa52be8c272abf628eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH1/EX1.9/Example9.sce | 33ae98f6c49244596d1cb94a002afe1d6f15cc53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example9.sce | clear
clc
disp("Example 9: Write a code-sequence to exit the console")
printf("\n*******************************************************************\n")
disp("Answer : ")
halt("Ready???...Press Enter to continue")
printf("Close the Scilab Console?....\ny :Yes\nAny other key:No")
st = input('','s')
clc(1)... |
048402e5ea56ea8a36cd2fc0f8fe8879cbf3f722 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH14/EX14.21/14_21.sce | 15bc9058c68ebedf78f5f391528154ab8486c739 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_21.sce | clear;
clc;
//Example - 14.21
//Page number - 490
printf("Example - 14.21 and Page number - 490\n\n");
//given
T = 293.15;//[K] - Temperature
R=8.314;//[J/mol*K] - Universal gas constant
A = 1280;//[J/mol]
//(dA/dT)_P,x = del_A (say)
dA_dT = -7.0;//[J/mol-K]
//For equilomar mixture,
x_1 = 0.5;// Mol... |
20c3730d6be78af98cf535e18de21247e7f7cd8a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_I._A._Khan_1962.zip/Fluid_Mechanics_I._A._Khan_1962/CH1/EX1.4/example1_4.sce | 039d7fe35f994858b7cae601bd75be3a05e8b64f | [] | 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 | 257 | sce | example1_4.sce | errcatch(-1,"stop");mode(2);//example 1.4
//page 14
; funcprot(0);
//initialisation of variable
delP=102-100;
Beta1=102+14.6;
Beta2=100+14.6;
Beta_av=Beta1/2+Beta2/2;
V=1;
delV=-delP*V/Beta_av;
disp(-delV,"increase in volume(ft^3)=");
exit();
|
178a3dc041fb9962e9265e7b7d0bb1386269d658 | df59cf0fed851531d3ca60a08aded67fabbddddb | /questao2.sce | d7364754bbf0e8462ab960c128c79ebbe803724b | [
"MIT"
] | permissive | aanfiel/trabalho1_ic | ad98525d2c76d228758b7fd2090f3ad7bed7b63b | 7b6ff02e9bf163e4de58f6ef294db23acff3a656 | refs/heads/master | 2020-08-03T09:14:21.872917 | 2019-10-10T16:26:42 | 2019-10-10T16:26:42 | 211,697,973 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,290 | sce | questao2.sce | // PRIMEIRO TRABALHO DE INTELIGÊNCIA COMPUTACIONAL
// Questão 2
// Aluno: José Lopes de Souza Filho
// Matrícula: 389097
// Aplicação: Scilab, versão 6.0.2
// SO: Linux Mint 19.2 Tina
//-----------------------------------------------------------------------------
clear; // Limpa as variáveis armazenadas
clc; // Li... |
359643474975773cc58cc61649526204ea2bb605 | 6d976a524de332465dfaf499c4cdf8f09499f4fe | /xcos_blocks/nfet.sci | c1ce5dc5a99e7e4175f4b7525d3ceecdae366fd3 | [] | no_license | skim819/rasp30 | 78b035fa0f1d5e94e434d26324d3238695b1908c | 1efee4f95cda788c2a379cc95a22cee31683d429 | refs/heads/master | 2020-04-07T07:42:52.848775 | 2016-01-27T21:22:55 | 2016-01-27T21:22:55 | 50,114,407 | 0 | 0 | null | 2016-01-21T14:51:37 | 2016-01-21T14:51:36 | null | UTF-8 | Scilab | false | false | 1,121 | sci | nfet.sci | function [x,y,typ]=nfet(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then //** GET INPUTS
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' ... |
ff226c0679dcc5d38986653270e15140681d7b7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH11/EX11.2/Ex11_2.sce | bbb268132c06dd9de92fcf67d243299ea621c359 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex11_2.sce | //Variable declaration
E=120 //electric field(V/m)
B=5*10**-5 //magnetic field(T)
q=1.6*10**-19 //charge on electron(C)
u=10**6 //velocity of electron(m/s)
m=9.1*10**-31 //mass of electron(Kg)
a=9.81 //acceleration of gravitat... |
eb938d00e95a0f7854ca889e777acefe424bbff7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH6/EX6.11.1/Example6_11_1.sce | b368507a93e976cf6833b80e2b91c9ae317c4ba1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | Example6_11_1.sce | //Example 6.11.1 page 6.33
clc;
clear;
del_v=10*10^9;
N_eff= 1.5;
c=3*10^11; // speed of light in mm/sec
del_L= c/(2*N_eff*del_v);
printf("The wave guide length differenc is %d mm",del_L);
|
edddb6946a5065a32e62c7c8942056612e0dc2dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH4/EX4.14/Ex4_14.sce | 02269dd5de7d913e4568ead003ac7f1866886003 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sce | Ex4_14.sce | clc;
clear;
close;
//pagec no 116
//Figure 4.22
//Noninverting Amplifier
V1=1; //In Volt
V2=-0.2; //In Volt
//to draw graph of V3
step=0.5;
t=0:step:10*%pi;
V3=2*sin(100*t); //In Volt
R1=20*10^3; //In ohm
R2=20*10^3; //In ohm
R3=20*10^3; //In ohm
Rf=20*10^3; //In ohm
Ri=5... |
765ffa8da1b1f9384f75ef5d79de73fa82de9e70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH8/EX8.21/8_21.sce | 6c67b89c42fc44223fcbf1d29192c6e07c2989ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_21.sce |
clc
//initialisation of variables
v=18//ft^3
p=14//lb/in^2
p1=150//lb/in^2
Cp=0.242//T
Cv=0.171//T
j=1400//ft
R=j*(Cp-Cv)//ft.lb
p2=144//ft
I1=137500//ft/lb
I2=6.37//ft/lb
v2=3.282//ft^3
//CALCULATIONS
T=(p2*p*v)/R//Degree C
T2=(p2*p1*v2)/(R)//Degree c
W=Cp*(T2-T)+0.00002*[(T2)^2-(T)^2]//C.H.U/lb
C=v... |
6df4462037619bfefca16a1747d891f2cda1d72f | ab0891df3df62a84b3bc60ee178e2d84b0d692c5 | /Geometry_Processing_Toolbox/macros/intersect_other.sci | dc44e46507fbda20f0416ed9096c78666817aa4c | [
"MIT"
] | permissive | sidgairo18/SCILAB_MEX_TOOLBOX | 6b36c8b5dd21bb15d942a283ebfe2366a7ac02ec | fc679f6d226c03b992b632823a5e57abea05cefa | refs/heads/master | 2020-03-19T04:03:55.721880 | 2018-08-14T11:22:24 | 2018-08-14T11:22:24 | 135,791,680 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sci | intersect_other.sci | % INTERSECT_OTHER Given a triangle mesh (V,F) and another mesh (U,G) find all
% pairs of intersecting faces. Note that self-intersections are ignored.
%
% [IF] = intersect_other(V,F,U,G,'ParameterName',ParameterValue, ...)
%
% Inputs:
% V #V by 3 list of vertex positions
% F #F by 3 list of triangle indices into... |
48df7506c6a7a7124a60cc921ba218941b4b7b49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH4/EX4.5/5.sce | 4c225cc36d18916b00d3d58e66addf6601fb047f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5.sce | //Variable declarations
m=9.1*10**-31
h=6.626*10**-34
Ef=3.1
Ef1=Ef+0.02
e=1.6*10**-19
//Calculations
N=integrate('%pi*((8*m)**(3/2))*(E**(1/2)*e**(3/2))/(2*(h**3))','E',Ef,Ef1)
//Result
printf('N =%0.3f *10**26 states \n ',(N*10**-26))
|
3b10f3d6080b25dc5d1ee235efbf7bbffdefb3ed | 6285663d2259fa331b87bfb8ab368f892ee94351 | /04/Sort2.tst | 93d3b5ffc9922f0893332334a081e97dcd684737 | [] | no_license | Ellonet/nand-ex1 | 1ed60786aef5386321519d23b1d2328930e0700d | 19eee2248c24c9912ca72b61ce0d1869dc885d71 | refs/heads/master | 2020-04-01T10:07:53.274194 | 2019-01-06T18:07:23 | 2019-01-06T18:07:23 | 153,103,996 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,921 | tst | Sort2.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/mult/Mult.tst
load Sort.asm,
output-file Sort.out,
compare-to Sort2.cmp,
output-list RAM[2048]%D2.10.1 RAM[2049]%D2.10.1 RAM[2050]%D2.10.1
RAM[2051]%D2.10.1 RAM... |
bb679018efc0aa7985f8672253e66858d115fb8f | 25ec4bae7c1d991a8b4f36a96650a07061417648 | /Exemplos/exemplo03AjusteRGB/cinza.sce | 42b2f8b6231425b05e956248c732ad4ccff7aab1 | [] | no_license | OtacilioNeto/EV3MicroPythonExamples | 716f76e4179d98157577d68b116a33a078aed085 | 037af9585402fe294d3c82d3b7d88cb49bc26bcf | refs/heads/master | 2023-06-08T19:34:49.916922 | 2023-06-02T13:24:10 | 2023-06-02T13:24:10 | 226,492,496 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 80,872 | sce | cinza.sce | // Red Green Blue Red Green Blue
cinza = [
20 34 45 16 25 30;
20 34 45 16 24 30;
20 34 45 16 24 30;
20 34 45 17 25 31;
20 34 45 16 25 30;
20 34 45 16 24 30;
20 34 45 16 24 30;
20 34 45 16 25 30;
20 34 44 16 24 30;
20 34 45 16 25 30;
20 34 45 16 25 30;
20 34 45 16 25 30;
20 34 45 16 25 30;
20 34 45 16 25 30;
20 34 45 16... |
f72e879a27fdb61c189477def1cc093033097a4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH5/EX5.6/Ex5_6.sce | 5d3aafd287494de124402d9c27b194ba363b60fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | Ex5_6.sce | //Example 5.6
clc
clear
X = 1:0.2:2;
Y = [0.98 1.4 1.86 2.55 2.28 3.2];
n = length(Y);
M1 = [sum(X.^4) sum(X.^3) sum(X.^2); sum(X.^3) sum(X.^2) sum(X); sum(X.^2) sum(X) n];
M2 = [sum(X.^2 .* Y); sum(X.*Y); sum(Y)];
A = M1\M2;
a = A(1);
b = A(2);
c = A(3);
disp(round(a*10^4)/10^4, "a =")
disp(roun... |
fffe6b69ad66db1930872ee180511a6a9256614d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH2/EX2.2.1/Example2_1.sce | 12f6e2e5bd41d9d43aacd41fbe5c15e4e8ced2fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | Example2_1.sce | //Chapter-2,Example2_2_1,pg 2-10
angle=30 //angle of incidance
n=1 //first minimum
wavelength=6500*10^-8 //wavelength of light
a=(n*wavelength)/sind(angle) //For minimum intensity in single slit
... |
5a864372fb6721f1e69b20e21c4c8c93cca07c57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH3/EX3.13/EX3_13.sce | 0f675b1a2992913def383134f4ad42fa0b453d4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | EX3_13.sce | //Chapter 3, Example 3.13, page 109
clc
//Initialisation
eirp=800 //in KW
d=24 //in Km
a=0.03 //in radian
d1=22 //in Km
d2=2 ... |
ecedb4ffcf91f6807d088818b853cef9b703085b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH7/EX7.10/ex7_10.sce | da74473d7bfb270d9a9f6544b739a6c84ed5b2b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | ex7_10.sce | //Communication Techniqu;es : example 7-10 : (pg 329)
x=0.40*100*10^6;
y=(100*10^6/(2^32));
//fCLK is reference oscillator
printf("\nThe maximum output frequency is approximately 40 percent of fCLK MAX");
printf("\n %.f Hz",x);
printf("\nThe frequency resolution is given by fCLK / 2^N");
printf("\n%.3f Hz",y); |
fd7315f1c843533a76f33c437c9c22948a2f5eb5 | fce47a4c482ae622563fc72d7643d824cc572edc | /_scilabTP/tp2/exercice2Correc.sce | e10cf9d59b0a33216d55bd48efdba35cf2f650ab | [] | no_license | ece2lr/ece2lr.github.io | a57ff8852ef06b7cef1c734106f1badd668ebcb1 | 13479dc224e39521c6c387401b889e62a90a8d0b | refs/heads/master | 2021-01-12T12:07:37.196408 | 2017-12-16T19:25:16 | 2017-12-16T19:25:16 | 72,310,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,590 | sce | exercice2Correc.sce | // // ceci est un commentaire : pas lu par Scilab
//
function question1()
// test de la fonction binomial(p,n)
p = .3
n = 10
y = binomial(p, n) // les proba en ordonnées
x = 0:10 // les valeurs en abscisses
// On trace la distribution de probabilités binomiale
clf()
// // ... |
b7907d5a3229db46a5c44a0d832775c82faf93cc | 8423ca9ce33d0d3ba30dc05b86e8241e4894d0af | /gauss.sci | ad1316c45206ef4196bea80784b612e54fe531a6 | [
"MIT"
] | permissive | fbarrueta22/TAP-1 | b99581dab6414d93988b708d61ac7e5e6610a6e5 | 61324322191684285df528149c7829b8cfe3dc5f | refs/heads/master | 2022-04-25T18:44:31.343068 | 2020-04-18T17:22:50 | 2020-04-18T17:22:50 | 256,637,464 | 1 | 1 | MIT | 2020-04-18T17:22:51 | 2020-04-18T00:22:58 | Scilab | UTF-8 | Scilab | false | false | 731 | sci | gauss.sci | exec('plates.sci')
//funcion que soluciona por metodo de gauss sin pivoteo
function sol = gauss(A, b)
[m,n] = size(A) // Dimesiones de la matriz de entrada
if (m <> n) then // Comprueba si la matriz es cuadrada
error("La matriz no es cuadrada.")
end
// Inicia el algoritmo
f... |
cc5c386ab717ab11e180f0dcec94e62fa196558b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH5/EX5.9/Example5_9.sce | 82595d8b823a419109182c8e4e618c1b3165e445 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 940 | sce | Example5_9.sce | //Example 5.9
clc;
clear;
close;
format('v',8);
//Given data :
Z1=0;//meter
Z2=4;//meter
rho=0.8;//sp. gravity
Q=250*10^-3;//m/s or cumec
D1=250/1000;//meter
D2=500/1000;//meter
A1=%pi*D1^2/4;//m^2
A2=%pi*D2^2/4;//m^2
v1=Q/A1;//m/s
v2=Q/A2;//m/s
p1=0.1*10^3;//N/m^2
p2=0.06*10^3;//N/m^2
g=9.81;//cons... |
895e77aa711c855a493116001803c036da9758a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH8/EX8.4/Ex8_4.sce | ec1510039c4c9a3aebd932ac5beb46b2542d3475 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | Ex8_4.sce |
clear//
//Variable Declaration
theta=(60*%pi)/180 //Angle in radians (Twice as declared)
sigma_x=30 // Stress in x in MPa
sigma_y=60 //Stress in y in MPa
tau_xy=40 //Stress in MPa
//Calcualtions
sigma_xdash=0.5*(sigma_x+sigma_y)+0.5*(sigma_x-sigma_y)*cos(theta)+tau_xy*sin(theta) //Stress at x' axis in MPa
... |
267d430ce91890d1eaf7c79d26af11d40394b4a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH3/EX3.19/ex3_19.sce | d78bfe5d5fccb1a9c9c493d6fc5785dda7c5ddda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | ex3_19.sce | // Exa 3.19
format('v',5);clc;clear;close;
// Given data
V1 = 100;// in V
V2 = 0;// in V
e1= 0;// in V
e2= 100;// in V
T=2;// in sec
T1 = 0;// in sec
T2 = 2;// in sec
// Slope of ramp
A= (e2-e1)/(T2-T1);// in V/sec
e= 'A*t';// in sec
Erms= sqrt(1/T*integrate('(A*t)^2','t',0,T));// in V
Eav= 1/T*integrate(... |
d08226ec47b122e5fe466b688ded8b97fa90531f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/m2sci/indentsci.sci | 138fe578c6c8e04c8a2863634183121ddd245529 | [
"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 | 103 | sci | indentsci.sci | function [txt]=indentsci(txt)
//
//!
// Copyright INRIA
bl=' '
txt=bl(ones(prod(size(txt)),1))+txt
|
8ac9b8726030eec000f77df7231154a0ec89650e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH23/EX14.23.16/Ex14_23_16.sce | e46413cfebefa4774ef50e1242399e5e6893e82a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | Ex14_23_16.sce | //Section-14,Example-2,Page no.-PC.111
//To estimate the pH of 0.10 M NH_3 at 25 degree Celcius.
clc
T=25 //degree Celsius
K_b=1.8*10^-5
B=0.1 //M
pK_b=-log10(K_b)
pK_w=14
F_pro=sqrt(K_b/B) //Fraction protonated
pH=pK_w-(1/2*pK_b)+(1/2*log10(B))
disp(pH,'Re... |
5a00427d2ac90bf031722a3ac3c99350483b76a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH2/EX2.3/example_2_3.sce | d3f3e39a35a561f0c803b053622a0e63be3d924f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,165 | sce | example_2_3.sce | //Chapter 2
//Example 2.3
//page 58
//To find inductance of each side of the line and that of the complete line
clear;clc;
//to find mutual GMD
D14=sqrt(8*8+2*2);
D15=sqrt(8*8+6*6);
D24=sqrt(8*8+2*2);
D25=sqrt(8*8+2*2);
D34=sqrt(8*8+6*6);
D35=sqrt(8*8+2*2);
//sixth root of six mutual distances
Dm=(D14*D15*D24*D25*D34*D... |
767f2a8c0d5d416b23cd0fe61004c6eab7083197 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH5/EX5.16/Ex5_16.sce | 4a16c64b6d407f0991d614b42ecc5b335da1c0e2 | [] | 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 | 236 | sce | Ex5_16.sce | errcatch(-1,"stop");mode(2);//Example 5_16
;
;
//To calculate the distane between (110) planes
a=0.38 //units in nm
h=1
k=1
l=0
d=a/sqrt(h^2+k^2+l^2)
printf("Distance between (110) planes d = %.2f nm",d)
exit();
|
51d415b281132008383e804a5d0911fadf1bb00a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH8/EX8.12/Ex8_12.sce | e9bebd2c4fc2242da5c856615b4fe819f9d4b337 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | Ex8_12.sce | // Example 8_12
clc;funcprot(0);
// Given data
h=3.50;// W/(m^2.K)
A=1.00*10^-4;// m^2
P=0.0400;// m
T_infinitive=20.0+273.15;// K
k_t=204;// W/(m.K)
T_f=95.0+273.15;// K
// Solution
S_P_Q=sqrt(h*P*k_t*A)*((log(T_f/T_infinitive))+(T_infinitive/T_f)-1);// W/K
printf("\nThe entropy production rate for the fi... |
5e6b5f5d5466b6ff97d7ad4cf8629033da474e7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH7/EX7.13/ex13.sce | 4eab3f8cf13370ec79e358bbcfffcbde9794cf04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 938 | sce | ex13.sce | //ques13
//Work Input for Various Compression Processes
clear
clc
//(a) Isentropic compression with k=1.4
k=1.4;//isentropic ratio
R=0.287;//gas constant for water in kJ/K/mol/kg
T1=300;//initial temp in K
P2=900;//final pressure in kPa
P1=100;//initial pressure in kPa
w=k*R*T1/(k-1)*((P2/P1)^((k-1)/k)-1);//w... |
e725f82f07d8ef52b0782c16e0cc1b547558bb79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH7/EX7.10/7ex10.sci | 0532392a230d9231587ec65442435557120b4aed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 792 | sci | 7ex10.sci | n=6; //number of times a fair coin is tossed and getting a heads is a success
p=1/2; //probability of getting a heads
q=1/2 ; //probability of not getting a heads
P2=(factorial(6)/(factorial(6-2)*factorial(2)))*p^2*q^(6-2);
disp(P2,'probability of getting exactly two heads (i.e k=2)')
P4=(factorial(6)/(facto... |
3052b67c8c2d2ae89392db8cf0c87b2cc1afa206 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH7/EX7.5.b/ex_7_5_b.sce | e1049999427706073f1b1966fc83f972e71e2e8a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | ex_7_5_b.sce | // Example 7.5.b: ultimate tensile stress
clc;
clear;
close;
format('v',6)
yl=34;//yeild load in kN
ul=61;//ultimate load in kN
fl=78;//final length in mm
glf=60;//gauge length of fratture in mm
fd=7;//final diamtere in mm
d=12;//specimen diamtere in mm
sl=62.5;//specimen length in mm
A=(%pi*(d)^2)/4;// in meter square... |
e1da8ae806d0fae1f8a19ac0a3b3096938847509 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.2_1.tst | fdd55b60c7dc614b279d38398b53362165033983 | [] | 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 | 35,792 | tst | bow.2_1.tst | 2 15:2.0 24:1.0 47:0.6666666666666666 58:0.2 69:0.2 75:0.23076923076923078 77:0.1 87:1.0 98:0.5 104:0.2 122:0.2 136:1.0 137:1.0 191:0.25 250:1.0 252:0.5 337:1.0 348:0.5 398:0.125 416:0.5 454:1.0 494:1.0 535:1.0 639:0.1 732:1.0 841:1.0 976:0.5 1026:1.0 1094:1.0 1302:1.0 2346:1.0 2522:1.0 4082:1.0 4144:1.0 4355:1.0 5785:... |
0ddd98cc3121d1e1f5c5eb04aba4401a3bf37842 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH8/EX8.9/ex_9.sce | 9bede2cab32cad22ea96640b83fac37b736844fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | ex_9.sce | //EXAMPLE (PG 544)
//A(e) = A0 + eB
A0=[2 1 0;1 2 1;0 1 2]
B=[0 1 1;-1 0 1;-1 -1 0]
//inv(A(e)) = C = inv(A0)
C=inv(A0)
b=[0 1 2]'
x=A0\b
r=b-A0*x |
7a914ffc6284940f19b0315deff6574bcd1f9dfc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH3/EX3.1/Example_1.sce | 093b57b8d23122d2ae65c8ed766d809735e72439 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | Example_1.sce |
//Chapter-3,Example 1,Page 56
clc;
close;
M_0=200 //mass of radium
total_time= 8378-1898 //in years
//since t-half for radium is 1620 years
t_half=6480/1620 // number of half lives
m_left=M_0*(1/2)^t_half //mass of radium left
printf('mass of radium left after 6480 years is %.1f mg',m_left)
... |
3f4fd88f3bd5a990e9349884cdceafd897298b24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH3/EX3.5/3_5.sce | 306af2ea8f59cb1069dbea2aceb64b3701179459 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sce | 3_5.sce | clc
//initialisation of variables
P= 1500 //psi
A= 2//in^2
//CALCULATIONS
F= P*A
//RESULTS
printf ('Force = %.f lb',F)
|
db7f35035610f24b4161e611cbb8e027df1f9312 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH35/EX35.16/35_16.sce | 7173c9ea855e83618a36cef946de8c730b4e8858 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 35_16.sce | //ques-35.16
//Calculating internuclear distance of HCl molecule
clc
s=20.7;//interspacing (in /cm)
B=s/2;
I=(6.625*10^-34)/(8*%pi^2*B*100*3*10^8);
r_m=(1*35.5/1000)/((1+35.5)*6.023*10^23);//reduced mass (in kg)
r=sqrt(I/r_m);
printf("The internuclear distance for HCl molecule is %.1f pm.",r*10^12);
|
7fa41c72b960f0845119d3de0126cc8419cabace | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH12/EX12.8/Ex12_8.sce | 0a2092279e6bab703fd0d0c3557c69d58283da23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_8.sce | //Initilization of variables
theta=40 //degrees
x=100 //ft
ay=32.2 //ft/s^2
//Calculations
//Simplfying the equation
t=sqrt((tand(theta)*x)/(ay/2)) //s
//Velocity calculations
Vo=100/(cosd(theta)*t) //ft/s
//Result
clc
printf('The initial speed should be %f ft/s',Vo)
|
ff11721e5cacd6836ad510698be919b14ab26747 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Aimer VS Robots Valorant.sce | 7b66bf5f85fdbcf26825adc5624ebbce23d43252 | [] | 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 | 115,391 | sce | Aimer VS Robots Valorant.sce | Name=Aimer VS Robots Valorant
PlayerCharacters=Aimer
BotCharacters=wide_strafe.bot
IsChallenge=true
Timelimit=30.0
PlayerProfile=Aimer
AddedBots=wide_strafe.bot;wide_strafe.bot;wide_strafe.bot;wide_strafe.bot;wide_strafe.bot;wide_strafe.bot;wide_strafe.bot;wide_strafe.bot;wide_strafe.bot;wide_strafe.bot;wide_strafe.bot... |
0c780f1a78b81c787f290437bf92da539aec558c | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH4/EX4.3/ex_3.sce | bae394eba7e62368ec22ea4b5a780c59a2b556e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 679 | sce | ex_3.sce | // Chapter 4_Carrier Transport Phenomenon
//Caption_Conductivity
//Ex_2//page 144
T=300
Nd=5*(10^15) //donor concentration
R=10 //resistance in kohm
J=50 //current density in A/cm^2
V=5 //voltage in volts
i=V/R //current
A=i/J //cross sectional area
E=100
L=V/E //length of the resistor
ph... |
1ae650e6c04aff6757dc4474fa8635cbcb1f1c9d | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH17/EX17.5/ex_17_5.sce | dcc7147be588ba0455f87a513ff9bc83d01eaf82 | [] | 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 | 740 | sce | ex_17_5.sce | //find work done
clc
//soltuion
//given
p=10//mm
d=50//mm
W=20000//N
D1=60//mm
R1=30//mm
D2=10//mm
R2=5//mm
u=0.08//=tan(q)
u1=u
//tan(a)=p/(%pi/d)=b=0.0637
b=0.0637
//P=W*tan(u+a)
//P=W*[(tan(a)+tan(q))/(1-tan(a)*tan(q))]
P=W*[(b+u)/(1-(b*u))]//N
T=(P*d/2)/1000//N-m
N=170/10
Wd1=T*2*%pi*N//N-m
//w... |
8c53ff9ef2bdc5d58cf4cdc87ce6ac2b55356631 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH8/EX8.8/8_8_Ammonia_tube.sce | 608bca238067eeae815d71d0520cf9e9a3ebec57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 916 | sce | 8_8_Ammonia_tube.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 8.8 Page 529 \n'); //Example 8.8
// Average mass trasnfer convection coefficient for the tube
//Operating Conditions
m = .0003; //[kg/s] mass flow rate of water
T = 25+273; //[K] Temper... |
75a97b282f4c17d3bbcd98506d69b16694cb8e81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.60/ex_3_60.sce | 011f42141b834ad48abefc48d9fd87d91557a662 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | ex_3_60.sce | //Example 3.60 capacitance and resistance
clc;
clear;
close;
r2=1000;//ohm
w=7500;//
c4=0.0115;//micro-F
r4=140;//ohms
r3=1000;//ohms
x=(1+(w^2*(c4*10^-6)^2*(r4^2)));//
r1=((r2*x)/(r3*r4*w^2*(c4*10^-6)^2));//ohms
c1=((r3/r2)*(c4*10^-6))/x;//F
disp(r1*10^-3,"resistance is ,(k-ohm)=")
disp(c1*10^6,"capacitance is,(micro... |
610926a0d0c19f89b4879d14792a62edec219836 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH10/EX10.9.a/Ex_10_9_a.sce | 0c2528f8362af2f0cd4a040bf85150a0eaabfaf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | Ex_10_9_a.sce | // Example 10.9.a;//maximum bandwidth
clc;
clear;
close;
Ra=4*10^6;//input resistane in ohms
Rb=4*10^6;//matched bias resistane in ohms
Ct=6*10^-12;//total capicatance in farad
T=300;//TEMPERATURE IN KELVIN
Rtl=(Ra*Rb)/(Ra+Rb);//total resistance
B=(1/(2*%pi*Rtl*Ct));//Maximum bandwidth inhertz
disp(B,"Maximum... |
7d327442d002a1768bc15f5c575fe68f8cba20b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1616/CH2/EX2.12/ex2_12.sce | 1af72f71d6cbae175fea2f32a2ece86d5e981e6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | ex2_12.sce | //ex2.12 to find max and min current and voltages.
zl=complex(50,-100);
z01=75;
z0=50;
Tl=(zl-z01)/(zl+z01);
Tlabs=abs(Tl);
Vmax=100;
V=Vmax/(1+Tlabs);
Imax=Vmax/z0;
Imin=V*(1-Tlabs)/z0;
Vmin=Imin*z0;
disp('Maximum current Imax is = '+string(Imax)+' A.');
disp('Minimum current Imin is = '+string(Imin)+' A.');
disp('M... |
6b61d8833e7d5739f7d863a067d46f9c5b6189ef | 8ea401b354e99fe129b2961e8ee6f780dedb12bd | /macros/convert_dtypes.sci | 13433da17a40eebceb2f7bbaff7149138c479300 | [
"BSD-2-Clause"
] | permissive | adityadhinavahi/SciPandas | 91340ca30e7b4a0d76102a6622c97733a28923eb | b78b7571652acf527f877d9f1ce18115f327fa18 | refs/heads/master | 2022-12-20T04:04:35.984747 | 2020-08-19T16:10:51 | 2020-08-19T16:10:51 | 288,765,541 | 0 | 1 | null | 2020-08-19T15:35:04 | 2020-08-19T15:14:46 | Python | UTF-8 | Scilab | false | false | 763 | sci | convert_dtypes.sci | function convert_dtypes()
// Convert columns to best possible dtypes using dtypes supporting pd.NA.
//
// Syntax
//pd.DataFrame(data=d)
//
// Parameters
// nfer_objects: bool, default True
//convert_string: bool, default True
// convert_integer: bool, default True
//convert_boolean: bo... |
cbc0a64adaacb5b7daefa4443bf6186dcf8987c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH25/EX25.10/Ex25_10.sce | e3d788e03f612a102b970279c4251a1110efccd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 849 | sce | Ex25_10.sce | //Example 25.10
f=40;//Focal length (cm)
R=2*f;//Radius of curvature (cm)
printf('a.Radius of curvature = %0.1f cm',R)
L=1;//Length (m)
A=(1/4)*2*%pi*(R*10^-2)*L;//Area of the concave mirror of length L (m^2)
i=900;//Insolation (W/m^2)
Q=i*A;//Insolation per meter length of pipe (W)
printf('\nb.Amount of sunlig... |
888640c463e5319dbc2e220abb3d1c4f5654cea1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH13/EX13.5/13_5.sce | 1b588f1a614146634bcfaf6d7ab617d6a034f409 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,131 | sce | 13_5.sce | //Example 13.5
//Stirlings Central Difference Derivatives
//Page no. 426
clc;close;clear;
printf(' x\t\t y\t\t d\t\t d2\t\t d3\n')
printf('---------------------------------------------------------------------------')
h=0.01;s=0.5;
deff('y=f1(x,s)','y=((z(x,3)+z(x-1,3))/2+s*z(x-1,4)+(z(x-1,5)+z(x-2,... |
c6dbf764da219f2e52c85c4348254ba72bba78c7 | ef7da921e1289d3deaaf9727db2b6f025656e8d9 | /DTCosineWave.sce | c534a9a9105ec11a2a940d3f8b53fb72b994f22b | [] | no_license | PrayagS/SciLab_Exercises | ea88438207f2dc5d3f211c9abfe137a4bd43f68f | 0495ba76e693750980fefb386c28209a6fd6563e | refs/heads/master | 2020-09-08T01:52:22.914681 | 2019-11-16T05:39:29 | 2019-11-16T05:39:29 | 220,977,317 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | DTCosineWave.sce | clear;
clf;
dn = 1;
n = -50 : dn : 50;
k = 1;
N = 10;
x = cos(2*%pi*(k/N)*n);
subplot(211);
plot2d3(n, x);
N = 5;
y = cos(2*%pi*(k/N)*n);
subplot(212);
plot2d3(n, y); |
33d83609a7d2e893841a8287b6fa68566da55e97 | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/physique/mecanique/pendule/pendule_simple.sce | 14797ad1becaa4f5651ed4ba9aa8791c739727bb | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 5,953 | sce | pendule_simple.sce | function proceed()
[L_new,ierr,errtext]=check_scalar("L","Longueur du pendule (m)","-%inf","+%inf","1");
TCL_SetVar("L_errortext",errtext);
if (ierr)
TCL_EvalStr("mess $L_errortext");
return
end
L_changed=first_run;
if (or(L_new~=L))
L_changed=%t;
end
L=L_new;
[theta_0_deg_new,ierr,errtext]=check_scalar("theta_0_deg","... |
987c7bbd6784a4e8c77ac03d9a651c5a0d487606 | 505dbe6f806a6e0354b4f1f2326dc36f01fbe3e0 | /S3/Proba-Stats/56_1.sce | d62fa3fa4dacb5219916fe5c0917f08d423017f0 | [] | no_license | MalikZouhiri/DropIUT | 5d1dea760cc1114114a2caf0bab1701e9adc815b | 1ae2cdd14f10182dbe6d0b2546e452851076591f | refs/heads/master | 2020-06-05T06:20:05.109658 | 2015-01-23T06:04:33 | 2015-01-23T06:04:33 | 29,574,014 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | 56_1.sce | //calculatrice
a=2
b=3;
b
a+b
a*b
a/b
a-b
3*a
a**2
a^2
abs(b-a)
//entrées sorties
c=0:5 //commentaire
d=input("entrer une valeur : ")
texte = input("chaine :","string")
texte+" titi"
k=-26;
printf(" valeur de la variable =%f",k); //aide printf
clear a
a
b
clear
b |
96811284e6c4733485aceebb6d3bbb968406a6d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH5/EX5.5.38/Ch5_5_38.sce | 5bff9a152979c7b69c8002f7c0d4cd5c142b6411 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | Ch5_5_38.sce | clc
disp("Example 5.38")
printf("\n")
disp("calculate bandwidth,gain & harmonic distortion with feedback")
printf("Given\n")
//open loop gain
Av=1000
//bandwidth without feedback
BWol=500*10^3
//feedback factor
B=0.1
//bandwidth with feedback
BWcl=BWol*(1+(B*Av))
//closed loop gain
Acl=Av/(1+(B*Av))
//ha... |
c8239e9f401c3fff89c72ea9a21fe11c952dac47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH3/EX3.11.a/ex_3_11_a.sce | 6bbce5226388674bdabc4258fda87bc4c9484ce3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | ex_3_11_a.sce | // Example 3.11 (i): minimum power drain on the power supply
clc, clear;
Pl=10; // power delivered to load in watt
eta1=80/100; // output transformer efficiency
eta=78.5/100; // efficiency of a class B push pull amplfier under optimum condition
Pout=Pl/eta1;
Pin=Pout/eta;
disp(Pout,"ac power output of amplifier... |
a917f1f176ff40179e89ef8fda0a4507c24c0680 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH7/EX7.15/EX_7_15.sce | a2f8572d3f35c01c7c71b566e4d652efaf4fa072 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,109 | sce | EX_7_15.sce | // Example 7.15:resonant frequency,percentage change and quality factor
clc;
clear;
close;
Cs=0.065;//capacitance of tunned circuit in pico farad
Ls=0.33;//series INDUCTANCE of tunned circuit in henry
Cp=1;//parallel capacitance in pico farad
Rs=5.5;//SERIES RESISTANCE IN KILLO OHMS
fs=round((1/(2*%pi*sqrt(Ls*C... |
1a16fe224ca2b788af9ca485100eec5eb81fd962 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.31/Ex7_31.sce | 7e5955621c26bec9156368df9266a8ca0b2d48ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,928 | sce | Ex7_31.sce | //Example 7.31
// Reduced-Order Estimator Design for DC Servo.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space representation
//Transfer function model for DC Servo
s=poly(0,'s');
num=10;
den=s*(s+2)*(s+8);
Gs=sysl... |
dab4e365b00cdc0db12453dc8b9dae3e36eba9d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH7/EX7.6/7_6.sce | e87be2aa392e50f34f18034bddbe29b4e08c75f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | 7_6.sce | //example 7.4
//Gauss Jordan
//page 266
clc;clear;close;
A=[2,1,1,10;3,2,3,18;1,4,9,16];//augmented matrix
for i=1:3
j=i
while(A(i,i)==0&j<=3)
for k=1:4
B(1,k)=A(j+1,k)
A(j+1,k)=A(i,k)
A(i,k)=B(1,k)
end
disp(A);
j=j+1;
end
disp(A);
for k=4:-1:i
A(i,k)=A(i,k)/A(i,i)
end
disp... |
a96139ac98fafe61d2d505c736d4dc13fb8e3406 | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /ExactCure/mu lambda ES/(mu,lambda) ES plot.sce | 7b3ab6d25db028659a89a09a3cb6486f8814c9d4 | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,224 | sce | (mu,lambda) ES plot.sce | clear
function y=frozenbrock(x)
if size(x,1) < 2
error('dimension must be greater one');
end
N = size(x,1)
y = 100*sum((x(1:N-1).^2 - x(2:N)).^2) + sum((x(1:N-1)-1).^2);
endfunction
function [xm,n] = evolutionstrategie(f,xm0,sm0,itermax,tol) // μ < λ
lambda = 4+floor(3*log(N));
mu =... |
2ab7880a8cd1366eb317a25cd7f57d20bad75f1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH2/EX2.15/Exa2_15.sce | e1088c33beb736d20fd1a093f06df096d944a045 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | Exa2_15.sce | //Exa 2.15
clc;
clear;
close;
//given data
e=1.6*10^-19;//in coulamb
E=100;//in V/m
RH=0.0145;//in m^3-coulamb^-1
MUn=0.36;//in m^2/V-s
J=MUn*E/RH;//in A/m^2
disp(J,"Current density in A/m^2 : "); |
e0b1a69cb4e84a80db1232614b1f008f66dd9d81 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Free Tracking 360 DENSE.sce | 0544b482f12371351c047335e13514ab0276329d | [] | 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 | 49,593 | sce | Free Tracking 360 DENSE.sce | Name=Free Tracking 360 DENSE
PlayerCharacters=Character Profile
BotCharacters=Quaker Bot 360.bot
IsChallenge=true
Timelimit=90.0
PlayerProfile=Character Profile
AddedBots=Quaker Bot 360.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=0
MapName=square.map
MapScale=4.0
BlockProjectilePredictors=true... |
bc33e09db7eb08a7ca3f4d1c2c9bf435b1498cda | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH1/EX1.2.2/1_2_2.sce | d1d4abf6275e3e48b5c62c7d581b4cefd82eed26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | 1_2_2.sce | clc;
// page no 5
// prob no 1_2_2
//T-type attenuator provide 6-dB insertion loss
//All resistance are in ohm
Ro=50
ILdB=6
IL=10^-(ILdB/20)
//Determination of R
R=Ro*(1-IL)/(1+IL)
disp('ohm',R,+'The value of resistance R is')
//Determination of R3
R3=(2*Ro*IL)/(1-(0.5)^2)
disp('ohm',R3,+'The value of res... |
dbb968aeef1f05a8408f4853d06b9791e98afefb | b73e9d989ebb6c74535238e10eede063a5d7e66b | /assignment1_part4.sce | a6b23cb1eb1ae0e8343eb9c2f1505263a391f8cc | [] | no_license | ParthaSurve/CODES_SEM_VI | 930a520ccdbc7cb389dac6b6f03900674b5e1a6b | 1f6afa9b92ad8263d0773ce0f90f9ffa5943b8e4 | refs/heads/master | 2021-01-21T05:13:44.089655 | 2017-02-25T17:46:44 | 2017-02-25T17:46:44 | 83,149,933 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,372 | sce | assignment1_part4.sce | // Assigment 1 Computational Methods for compressible flow
//--------------------------------------------------------//
// January 17-01-2017
// Explicit Forward Time Central Space scheme (FTSC) for solving PDEs
// Author: Partha Surve (SC14B036, Aerospace Engineering, IIST)
clc;
clear;
//initializing the parameters... |
49c00343b812aacbbae5c946dbf9a2a69cd8e931 | ab1416f6fd6655094298e6c7bab1ac47d2533342 | /samples/Scilab/scilab_function.sci | 7c95174e37fe9649a6e76eb12ccd3a81de3b3830 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | monkslc/hyperpolyglot | 6ddc09e9d10d30bd8ce5c80a3bd755fa5714d621 | a55a3b58eaed09b4314ef93d78e50a80cfec36f4 | refs/heads/master | 2023-05-26T15:26:14.686247 | 2023-05-17T13:51:31 | 2023-05-17T13:51:31 | 248,387,967 | 43 | 11 | Apache-2.0 | 2023-05-17T13:51:35 | 2020-03-19T02:02:35 | RenderScript | UTF-8 | Scilab | false | false | 328 | sci | scilab_function.sci | // A comment with whites and tabulations
// Email: <scilab.support@scilab.org>
// Scilab editor: http://www.scilab.org/
function [a, b] = myfunction(d, e, f)
a = 2.71828 + %pi + f($, :);
b = cos(a) + cosh(a);
if d == e then
b = 10 - e.field;
else
b = " test " + home
return
end
myvar = 1.23e-45;
endf... |
db345c05f7566cd2b885637842ad07032348295e | 449d555969bfd7befe906877abab098c6e63a0e8 | /162/CH4/EX4.28/example428.sce | 77c46652823c64081c2253bfc195353283efa793 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sce | example428.sce | //Example 4.28
clc;
syms t;
h=%e^(-2*t)+%e^(-3*t);
vo=t*%e^(-2*t);
Vo=laplace(vo);
H=laplace(h);
Vi=Vo/H;
vi=ilaplace(Vi);
disp(vi); |
7cbeaf02d2dae26a577799399f3ce7f044d17648 | 95a91e0c642afba8090e47bd70e3efb36da36e43 | /UP.eps/gr_chain_potential_formula.sce | 6e725e8ea6995212b3c723a37b649b80b0757bf3 | [] | no_license | Varvara08/myrepo | f4f2d4e0da09b9eea225deab49d3dfd49d861266 | 588458d7d92407761cc9cd7cc3273e70aa9f84b0 | refs/heads/master | 2021-01-20T17:20:40.176769 | 2016-08-17T13:10:46 | 2016-08-18T10:38:17 | 63,784,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,598 | sce | gr_chain_potential_formula.sce | clear;
clear gt gf;
lines(0);
function f = calc_propagators(w)
global gt gf nl lambda;
//
// Array initialization with zeros
// gt
for s=1:nl
for z=1:nl+1
gt(s,z)=0.0;
gf(s,z)=0.0;
end // for z
end // for s
// gf
//
[m,n]=size(w);
// Initial condition
gt(1,1)=w(1);
for z=1:nl
gf(1,z)=w(z);
end // for z
... |
632ee0c9920c002dba61ea338ec8e697a66878c1 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/Communication/SerialGateway/dll_builder.sce | 58dc6155d41f36d516252e97acca09c94d56597d | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | dll_builder.sce | // Script to build the SerialGateway dynamic library.
// Author: Errico Guidieri, Evidence Srl.
VC_BUILD_EXE = ascii(34) + 'vcbuild.exe' + ascii(34) + ' ';
VC_BUILD_OPT = '/r ';
VC_BUILD_PROJ = get_absolute_file_path('dll_builder.sce') + 'SerialGateway.vcproj ';
VC_BUILD_PERSPECTIVE = 'release ';
cmd = VC_BUI... |
443ced00392dc14a4eafd24ce2e00b23c29897cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.17/Ex6_17.sce | 51e26e64659750e032e08d008c9049dbb3e64789 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_17.sce | clc;
//r2/x2=a
a=.5;
Test=25;
//for part a
disp('For part a ');
//b=3(V1)2/r2Ws
//As per given conditions
b=Test*5;
//When rotor resistace is doubled
Test1=b*(1/4);
mprintf('The starting torque is %f Nm\n',Test1);
//for part b
disp('For part b');
//resisance is half
Test2=b*(2/17);
mprintf('The s... |
55ddf799c7ba66299da82cd775b195a81f7232cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.20/example2_20.sce | 1dc43215d24d6a425a8e82ab84bfe7af0e07774e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | example2_20.sce | clc
// Given that
lambda = 6e-7 // wavelength of light in meter
b = 1.2e-6 // slit-width in meter
// Sample Problem 20 on page no. 2.46
printf("\n # PROBLEM 20 # \n")
m = 1 // for first minima
theta = asin((m * lambda) / b) // calculation for angular width of the central maxima in radian
theta_ = theta * (180 / %pi) /... |
aef133561fa6eeea069d32d585a6565dd1b485b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH8/EX8.18/ch8_18.sci | 1ea82ae77176e2979bcfe1f184c7e03eb0ff7ce6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sci | ch8_18.sci | //find the change in the poweer angle;
clc;
clear
j = %i
Pe=4000;
V=400';
pf=.8;dl=acosd(pf);
Ia=Pe/(sqrt(3)*V*pf);
Vt=V/sqrt(3);
Xs=25;
Ef=Vt+j*Ia*complex(cosd(-dl),sind(-dl))*Xs;
a=atand(imag(Ef)/real(Ef));
dl=asind((Pe/3)*Xs/(Vt*abs(Ef)));
ang=dl+a;
disp(ang,'change in power angle(deg)'); |
2ea058055b2217e3a49b0385f2f8be4ecf9cf6c0 | ece5c630921508b439ed25c5f7ab3db5a66f7a1a | /Assignment3_Team8/RippleCarryAdder16.tst | a66ab8b114432a86b3f71f650f0c309d8f8bc61e | [] | no_license | VedantS01/HDLProjectsCS2310 | f8d17d1c9c28034a21026a4fbe2ae5d38cf39330 | d2a39a4c062173475bd06ff0b3396f1ac6303103 | refs/heads/main | 2023-06-19T20:42:48.411561 | 2021-07-14T19:37:51 | 2021-07-14T19:37:51 | 386,054,022 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,877 | tst | RippleCarryAdder16.tst | load RippleCarryAdder16.hdl,
output-file RippleCarryAdder16.out,
output-list x%B1.16.1 y%B1.16.1 oper%B3.1.3 sum%B1.16.1 cy%B3.1.3 of%B3.1.3;
set signed 1;
set x %B1010101010101010,
set y %B0101010101010101,
set oper 0,
eval,
output;
set x %B1000000000000001,
set y %B1111111111011111,
set oper 0,
eval... |
ca6879df1a7f2aefa9b5d95784f9219c975fb0e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH3/EX3.28/Ex3_28.sce | e96a198178527e1006c66d0788546cc3c908f23f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | Ex3_28.sce | //determine reactions at A,B and D
//Refer fig. 3.55
//Taking moment about C
RD=(3*5*2.5+(5*9*2*5)/(2*3))/7 //kN
RC=15+22.5-RD //kN
//Taking moment about A
RB=(2*RC/5) //kN
RA=RC-RB //kN
printf("Required reactions are:-\nRA=%.2f kN\nRB=%.2f kN,\nRD=%.2f kN",RA,RB,RD)
|
ba9ba9b09a4e5ea918b50000b5febdcc3be3f576 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH14/EX14.17/Ex14_17.sce | 1b6d7673255e86cdb866db41b2816a9fbb730545 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 836 | sce | Ex14_17.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 14 : Frequency Response
// Example 14 - 17
clear; clc; close;
//
// Given data
f0_upper = 1600.0000 * 10^3; ... |
668dccf71625a44d44503a810882ce3c808cd5d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH6/EX6.9/example9.sce | 4b2bd1854494d7126b3c847d808b34a93680101b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | example9.sce | // f i r s t e l ement i n any row o f r o u t h s t a b u l a t i o n i s z e r o
clc;s=%s
m=s^3+s+1;
r= coeff (m); // Ex t r a c t s the c o e f f i c i e n t o f the po l ynomi a l
n= length (r);
routh = routh_t (m)
disp (routh ," r outh=")
printf (" since there are two sign changes the system is unstable")
|
bacbdffe90134c86a4b211bc3282e9ec720c0b12 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/KP85YLZ/ATWM1_Localizer_MRI_KP85YLZ/ATWM1_Localizer_MRI.sce | d1c7f3d212ae44c14466bf3681ed2b49197e1e37 | [] | 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 | 40,042 | sce | ATWM1_Localizer_MRI.sce | # ATWM1_MRI_Localizer
scenario = "ATWM1_Localizer_MRI";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds = false;
active_buttons ... |
b679eca753620a63f35852e76e9f017d74695c91 | 1bfea1fa206511072979ccc75a6ac0e4290279c4 | /Demonstration Code/demo/nocopy2.tst | 1cfc7bf17f9643af41573f8ba57ba67f453358a9 | [] | no_license | evrimulgen/oracle-scripts | 96cc78bf8893c686362bf8b58eab50c5335fd009 | 419f299df889e89d20a807d1134ead3361db6e2b | refs/heads/master | 2020-09-23T16:07:37.607816 | 2018-12-14T09:16:46 | 2018-12-14T09:16:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,117 | tst | nocopy2.tst | CREATE OR REPLACE PACKAGE nocopy_test
IS
TYPE num_tabtype IS TABLE OF NUMBER
INDEX BY BINARY_INTEGER;
PROCEDURE pass_by_value (
nums IN OUT num_tabtype
, raise_err IN BOOLEAN := FALSE
);
PROCEDURE pass_by_ref (
nums IN OUT NOCOPY num_tabtype
, raise_err ... |
ff8dbc6e2379ece5b90652621b9d57f6258fd958 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH7/EX7.10/ex7_10.sce | c1c329bd06c392f07da070f075b78aa70c9b2188 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | ex7_10.sce | // Exa 7.10
clc;
clear;
close;
format('v',6)
// Given data
I_D1 = 1.2;// in mA
I_D2 = 1.5;// in mA
// change in gate to source voltage,
delI_D = I_D2-I_D1;// in mA
V_GS2 = -4.10;// in V
V_GS1 = -4.25;// in V
delV_GS = V_GS2-V_GS1;// in V
// The transconductance
g_m = delI_D/delV_GS;// in mA/V
disp(g_m,"... |
2ad79208a5211c7e436520d83580d72e29d0e20a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH3/EX3.23/Ex3_23.sce | 9c87711279e25a9ab44d2757f01ddaa2010e0c68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | Ex3_23.sce |
// Examle 3.23
// From the diagram (3.41) Apply KCL to node
// will get { (v1-0)/12+ (v1-60)/3+ (v1-0)/4 = 5 }
// After solving above equation we get V1= 18 V
V1=18; // Voltage at node 1
I1=(V1-0)/12; // Curre... |
569d00ed8e527e8ad9b873c6042804444caedf3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH8/EX8.27/Ex8_27.sce | 9f10dc088c5574631f4fb0eb1d74f28221f07dbb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | Ex8_27.sce | //Ex:8.27
clc;
clear;
close;
c=3*10^8;// speed of light in m/s
n=3.6;// for GaAs
df=278*10^9;// separation in Hz
y=0.87*10^-6;// wavelength in m
L=c/(2*n*df);// cavity length in m
l=L*10^6;// cavity length in um
L1=floor(l)*10^-6;// cavity length in m
q=(2*n*L1)/y;// number of longitudinal modes
printf("The... |
e422e508a73bf3659bddfb318408cf50b3de9158 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH17/EX10.17.17/Ex10_17_17.sce | b1e0955d9d0ba0433c973cdf18775488bc57b340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | Ex10_17_17.sce | //Section-10,Example-2,Page no.-CT.53
//To calculate the Vapour pressure of water at 100 degree celcius.
clc;
P_1=634
dl_Hv=41270
R=8.314
T_2=373
T_1=368
P_2=%e^(((dl_Hv/R)*((T_2-T_1)/(T_1*T_2)))+log(P_1))
disp(P_2,'Vapour pressure of water at 100 degree celcius(mm)')
|
2e76f443a6c2d2e14f4b82cf8556342d27c3a966 | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /google-code-jam/2011/qualification/B/test-01.tst | 8a29d84728be0e750229ca683898540fb887831a | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | tst | test-01.tst | 5
0 0 2 EA
1 QRI 0 4 RRQR
1 QFT 1 QF 7 FAQFDFQ
1 EEZ 1 QE 7 QEEEERA
0 1 QW 2 QW
~~~~~~~~~~~~~~~~~~~~~~~~~~
Case #1: [E, A]
Case #2: [R, I, R]
Case #3: [F, D, T]
Case #4: [Z, E, R, A]
Case #5: []
|
e542c88d329392b8c65d0c3c5a1a79d16ca44116 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH1/EX1.7/Ex1_7.sce | 47865fb6513d390ee1f92c653005bcc983bb65d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | Ex1_7.sce | //page 9
//Example 1.7
clear;
close;
clc;
n = rand();
n = round(n*10);
disp(eye(n,n));
printf('This is an Identity matrix of order %d * %d',n,n);
disp('And It is a row reduced matrix.');
//end
|
8fd978ca20f31763a5ca1cb4e1304d3808e8839e | 821ae80c496df42e9d59956848dfc2b153801a05 | /general-docs/docs/plotting-in-scilab/01-Basic-Plot.sce | a6a35af3397dc4e3db6925eb9ab85b59aeeb5f66 | [] | no_license | wruslandra/using-scilab6 | 6f10f6c11e20fbf4dadeecc4b7ebaaabb6eed3d7 | d407651c1fbb5a386279bdc59a5fae22ca2c6a24 | refs/heads/main | 2023-04-04T14:59:08.443145 | 2021-04-01T21:54:08 | 2021-04-01T21:54:08 | 353,832,000 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,075 | sce | 01-Basic-Plot.sce | // 01-Basic-Plot.sce
// wruslan@fuj-ubuntu-1404-lts:~$ date
// Sat Apr 16 11:18:14 MYT 2016
// wruslan@fuj-ubuntu-1404-lts:~$ uname -a
// Linux fuj-ubuntu-1404-lts 3.13.0-85-generic #129-Ubuntu SMP Thu Mar 17 20:50:41 UTC 2016 i686 i686 i686 GNU/Linux
// Close all opened figures and clear workspace
// xdel deletes the... |
9be17f6cc89f13dc32dfefe460d6d0775003ee42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH5/EX5.4/example4.sce | 6323e5fbb9c5b0722ebe8d1a521a6c23681d1b51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | example4.sce | //Chapter-5 example 4
//=============================================================================
clc;
clear;
//input data
lamda = 0.03;//wavelength in m
Pt = 250*10^3;//transmitter power
G = 2000;//antenna gain
R = 50*10^3;//maximum range
Pr = 10*10^-12;//minimum detectable power
//Cal... |
1a97fa1e9fdb4fe02056f4b6bcf199338d13f2a8 | 4533c11d75f955d8350d45606af92ca064d2e319 | /nomad/main.sce | 9606a3d7f4744059e2d2074f6854a964690e0416 | [] | no_license | lois76/ParamEstimationDE | 0066c5a18042637b97bf989e77f2ce04ba283b12 | ab3911174450a4ec9976a108885cf8e7afc62b3d | refs/heads/master | 2022-05-21T04:49:51.662762 | 2022-03-21T13:15:38 | 2022-03-21T13:15:38 | 167,556,538 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | main.sce | args = sciargs();
vecV=[-110:10:50];
Inf=[-68.6 -49.5 -18.2 -5.06 2.19 3.37 2.52 2.68 5.97 14.6 33.4 60.2 85 114 152 208 254]
function y=xinf(V,V12,k)
y=1 ./(1+exp((V12-V) ./k));
endfunction
// Fonction coût pour un modèle de type 2-1
function e=W21(pa)
e=0;
for i=1:length(vecV)
e=e+(Inf(i)-(pa(... |
04958f0138a048cccb3d3d34923f60f2681e817b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH4/EX4.19/Ex4_19.sce | 302fc5f57dfb802212919b878a6494cd73ece2fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sce | Ex4_19.sce | //Example 4_19
clc;funcprot(0);
//Given data
P_1=36000;// kW
P_2=27000;// kW
N_1=81.8;// r.p.m
H_1=13;// m
H_2=11;// m
D_1=7.82;// m
//Calculation
//As the specific speeds are the same,using the definition of specific speed in terms of power,
N_2=((N_1*sqrt(P_1)/(H_1^(5/4)))*((H_2^(5/4))/sqrt(P_2)));// rpm... |
9e3a629f47e44a1d2de68baa5ae78ca239852025 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH25/EX25.11/Ex25_11.sce | 8b91835682fe556a2af4eb3ad8ea23e7462c67ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | Ex25_11.sce | clc;
Ptrdc=100*10**-3;
VCC=10;
RL=16;
no=0.5;
Poac=no*Ptrdc;
disp('mW',Poac*10**3,"Poac=");
ICQ=2*Poac/VCC;
disp('A',ICQ,"ICQ=");
RL1=VCC/ICQ;
a=sqrt(RL1/RL);
disp(a);
|
4c644ed43bc40b5135b846c5ba22d6df6c8310df | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.60/60.sci | dd9570aa37bf22ad36e9de394e0e97de9333d87e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sci | 60.sci | clc;
clear all;
disp("average heat transfer coefficient")
tb=27;// degree C
d=19/1000;//m diameter of tube
U=0.061;//m/s
L=1.5;//m length of tube
ts=38;//degree C
mus=5.233*10^(-4);// Pa s
mub=5.892*10^(-4);// Pa s
kb=0.1591;// W/m.K
rhob=876.6;// kg/m^3
cpb=1757;// j/kg.K
Prb=6.5;
Reb=rhob*U*d/mub;
Nu=1... |
8287c09fb3ca84af70dea17e99c5962fd8248ddb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH12/EX12.9/12_9.sce | 4678e367cedf65d680a0c933e30baf03befa8da1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 669 | sce | 12_9.sce | //////Variable Declaration
N = [10,50,100] //Valures for N
//Calculations
printf("\n N ln(N!) ln(N!)sterling Error')
for i =10
lnN = log(factorial(i))
lnNs = i*log(i)-i
err = abs(lnN-lnNs)
printf('\n%3d %5.2f %5.2f %4.2f',i,lnN,lnNs, err)
end... |
070bab7136f88e60eac2a999ebd7b200fed3a60b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH4/EX4.21/Chapter4_Example21.sce | 8db80d4190fa4a662b8e488002a994130cfbf199 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | Chapter4_Example21.sce | clc
clear
//INPUT
q=5000;//total number of molecules
e=2.7183;//constant value
t1=0.5;//distance travled to the mean free path
t2=1;//distance travelled to the mean free path
//CALCULATONS
p1=q*(e^-t1);//n0.of molecules having no collision in traversing a distance t1
p2=q*(e^-t2);//n0.of molecules having n... |
3162531d5816bae64127815b1b53439a4eafef60 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH11/EX11.28/Ch11Ex28.sce | 80f3535c7bff99840d87bcdc429d04b4cbe17495 | [] | 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 | 600 | sce | Ch11Ex28.sce | // Scilab code Ex11.28: Pg.544-545 (2008)
clc; clear;
C_c = 200; // Carbon content
d_beta = 400; // Beta decay rate, decays/min
d_r = 15.6*C_c; // Decay rate, decays/min
t_half = 5730; // Half life-time of C-14, y
n = log(d_r/d_beta)/log(2); // Number of half-lives of bone
t = n*t_half; // Age... |
bacaf0a43a7cbd3e87d008ddee2ed0284b2bf3b0 | c552a931898aba85602c4c953c9166bedd3bb825 | /screens/X11Y2.SCE | 58b577a0a6868bb6d6f9ce650f1bcc23ae07d6cf | [] | no_license | domino14/basic_rpg | 2bf813b4ef2992c8709581e39cf1e9bc0301f41d | 0d678b6f7017db984955fa927a1f80bce5788d24 | refs/heads/master | 2021-01-10T12:17:29.763389 | 2015-10-14T06:34:47 | 2015-10-14T06:34:47 | 44,228,628 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 976 | sce | X11Y2.SCE | 9
9
9
13
4
4
4
4
4
4
4
4
9
9
9
13
4
4
4
4
4
4
4
4
9
9
9
13
4
4
4
4
4
4
4
4
9
9
9
13
4
4
4
4
4
4
4
4
9
9
9
15
4
4
4
4
4
4
4
4
9
9
9
... |
d50c42db921687e8da7a5d555bbf686a2fef58f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH4/EX4.14/sadiku_4_14.sce | 77309a28323781a89565773cb0b45b2e9350035c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | sadiku_4_14.sce | clear;
clc;
format('v',6);
Q1=-1*10^-9 ,Q2=4*10^-9,Q3=3*10^-9,e=10^-9/(36*%pi);
V1=(1/(4*%pi*e) * (Q2+Q3)),V2=(1/(4*%pi*e)*(Q1+Q3/(2^.5)) ),V3=(1/(4*%pi*e) * (Q1+Q2/(2^.5)));
W=.5*((V1*Q1)+(V2*Q2)+(V3*Q3));
disp(W*10^9,'Energy in nJ'); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.