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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
51ba200330205cc3c73ae3bc9aad8e2bcf0332ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH1/EX1.10/ex1_10.sce | 9c9b8a46dc0f0c1716042eed205e48651592e966 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | ex1_10.sce | // Exa 1.10
clc;
clear;
close;
// Given data
m = 18.2;//quantity of air supplied of coal in kg
T1 = 200;// in degree C
T2 = 18;// in degree C
del_T = T1-T2;// in degree C
Spe_heat = 1;// in kJ/kg-K
Q_C = m*Spe_heat*del_T;// in kJ
disp(Q_C,"The Quantity of heat supplied per kg of coal in kJ is");
|
fd2d8a38332fbe4c74a75c423324f8056c9992bb | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Break Cover V2.sce | a02d5d1352572a035361e8ca63480b04bc573a71 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 54,079 | sce | Break Cover V2.sce | Name=Break Cover V2
PlayerCharacters=Aimer
BotCharacters=BOT1.bot;hayabot.bot;osobot.bot;jumot.bot
IsChallenge=true
Timelimit=30.0
PlayerProfile=Aimer
AddedBots=BOT1.bot;BOT1.bot;BOT1.bot;BOT1.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;2
MapName=BC22.map
MapScale=3.0
BlockProjectilePredictors=... |
ad926fdddd5789bef756da2fe4c4b512cf4c12b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH14/EX14.3/14_3.sce | 7f02de264713c5e12ca6fa97f69681b54d60b5ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_3.sce | clear; clc; close;
R1 = 80*10^(3);
R2 = 20*10^(3);
Ro = 10*10^(3);
Rd = 10*10^(3);
gm = 4000*10^(-6);
Rl = Ro*Rd/(Ro+Rd);
A = -gm*Rl;
Beta = -R2/(R1+R2);
Af = A/(1+Beta*A);
disp(A,'Gain without feedback = ');
disp(Af,'Gain with feedback = ');
|
56fb9b867af5d8238c15a8933b751a1c7a9f6384 | 70882f8f71a98cdb0e190c773094ea9547a339e8 | /Codigo/AproximacaoQuadratica.sci | 4898da7d9924d119266eb6b541cc860244231742 | [] | no_license | joycebrum/Calculo-numerico-projeto | 6e6efb9375bc5cfd45df2aedb35c59f4e431c6ee | 3402d8d1f79738400e57b2b93ec92214e7a3531e | refs/heads/master | 2021-08-19T14:55:33.670571 | 2017-11-26T19:31:59 | 2017-11-26T19:31:59 | 111,951,685 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,379 | sci | AproximacaoQuadratica.sci | function[ret, erro] = AproximacaoQuadNivel()//relacao linear da nota com o quadrado do nivel e com a taxa usando minimos quadrados
//nota = a*nivel^2 + b*taxa + c
T = Entrada()//matriz do tipo [nivel, taxa, nota]
N = size(T)
n = N(1,1)
A = zeros(n,3)
b = zeros(n,1)
for i=1:1:n
... |
e55fe9a845e5775c7a7634ea8b9200c0d7444027 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH7/EX7.1/Example_7_1.sce | ec094655d0d9450d9f8ff6b77097b7a6128719fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_7_1.sce | //clear//
clear;
clc;
//Example 7.1
// Given
rho_p = 2800; // [kg/m^3]
g = 9.80665; //[m/s^2]
ac = 50*g; // [m/s^2]
//(a)
//From appendix 20
Dp_100 = 0.147; //[mm]
Dp_80 = 0.175; //[mm]
Dp = (Dp_100+Dp_80)/2;//[mm]
//From Appendix 14
mu = 0.801; //[cP]
rho = 995.7; //[kg/m^2]
// Using Eq.(7.45)
... |
f7e443554591e93d99e37b9e104c3c8ee0ace0e2 | b5c9e2644b05bf29eb9b900a8fa883cfcb6815ed | /PRL_buttons/PRL.sce | 91dd7fd0784c91aad02b2661cf8de83beabb2215 | [] | no_license | CoolsLab/PRL | a51c5a30d5b502a9f11a8a4fa747e93a8e309fa8 | bacb65699d4c7e685a4719a93155b08809495c12 | refs/heads/main | 2023-04-04T01:38:39.827357 | 2021-04-12T08:23:24 | 2021-04-12T08:23:24 | 351,170,896 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,290 | sce | PRL.sce | ## Mieke van Holstein, Roshan Cools, Hanneke den Ouden: probabilistic reversal learning task (PRL).
## Based on Cools et al. 2001, Swainson et al. 2000; Lawrence et al. 1999; den Ouden et al 2013.
## started: October 6th 2011
## finished: November 26 2014
## Prompt format entered text: "subject_12_session_2".
## chec... |
0e596c35c4b0f3569f682d8f8fceaf813115a349 | f0919c8ea73f22939a890aa4f8327f8200344d2b | /html/transform.tst | 0a2d8469ddbd5c11e3a0cb20ef27cab76a395eac | [] | no_license | kalex375/OVC | af5e91f90754454b90f339e846c5b9112d38d6c8 | f4b47dfc497299c4944b4ff9b93253c279012454 | refs/heads/master | 2021-05-31T07:55:44.326597 | 2013-12-02T14:15:52 | 2013-12-02T14:15:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | tst | transform.tst | PL/SQL Developer Test script 3.0
22
-- Created on 27.05.10 by Kravchenko A.V.
declare
-- Local variables here
i integer;
m xmltype;
s xmltype;
p xmltype;
begin
--m := xmltype.createXML(:p_xml);
s := xmltype.createXML(:p_xsl);
select
xmlelement("ROOT",xmlagg(xmlelement("ROW", XMLForest(o.id,o.... |
04e8804f58e281c63f9cdbc41114081bff5bfbf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH1/EX1.15/chapter1_15.sce | c383896f9231bb8b57b5e599d93c3fb19d6d5368 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,043 | sce | chapter1_15.sce | //example1.15
clc
disp("The various node voltage are shown in the fig 1.73(a).")
disp("THe various braanch currents are shown.Applying KCL at various nodes.")
disp("Node 1: 9-I1-I2-I3=0 ..(1)")
disp("Node 1: I3-I4+4=0 ..(2)")
disp("Node 1: I2-4-I5=0 ..(3)")
disp("Key Point: Nodes V1 and V3 from supernod... |
a810b1fe4a703bc58fa3543fffad9076ff7d78b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH5/EX5.4/Ex5_4.sce | c9218db499c61be142a6d28dfdf6dde0f29ff0f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 946 | sce | Ex5_4.sce |
// Theory and Problems of Thermodynamics
// Chapter 5
// Second law of Thermodynamics
// Example 4
clear ;clc;
//Given data
TL = -25 //TL = Lower temperature of reservoir
TH = 40 //TH = High temperature of reservoir
W_R = 0.5 //W_R = power consumption of carnot refrigerator
// Units conve... |
23b5c6b67a04a6147ef6d09d11776e3cbbf69be5 | df82401a4fbb64f37b3ed00aa17d82600996f811 | /edo - rk4.sce | b556de3dd31a4ef5c1dd69823f298474c97375f2 | [] | no_license | ItaloOliveiraF/Algoritmos | 9600fa8e95fed942414250e92e93286320548795 | ff32fb26414e14d7b55b39cba7025eb2f844ea5b | refs/heads/master | 2020-04-04T19:11:32.124542 | 2018-10-26T02:59:35 | 2018-10-26T02:59:35 | 156,195,729 | 1 | 0 | null | 2018-11-05T09:56:50 | 2018-11-05T09:56:49 | null | UTF-8 | Scilab | false | false | 705 | sce | edo - rk4.sce | clear;
clc;
//Problema exemplo: dada a equação diferencial dy/dx = -1.2y + 7exp(-0.3x)
//com condições iniciais y(0) = 3
//no intervalo de a = 0 à b = 2.5 com um passo h = 0.5
//Definindo a função
function dy = f(x, y)
dy = -1.2*y + 7*exp(-0.3*x)
endfunction
//Implementação de RK4
function [x,y] = RK4(y0, a, b,... |
ed88c2d0fd631a7d54262e366ad06d7d7ba1fc11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH37/EX37.3/Example37_3.sce | 7277f7842c6b1ca1600aad3675450990f71d0128 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Example37_3.sce | //Given that
d = 32*10^-3 //in meter
f= 24*10^-2 //in meter
lam = 550*10^-9 //in meter
//Sample Problem 37-3a
printf("**Sample Problem 37-3a**\n")
theta = 1.22*lam/d
printf("Angular sepration should be equal to %erad\n", theta)
//Sample Problem 37-3b
printf("\n**Sample Problem 37-3b**\n")
deltaX = f*th... |
3aa5741c37b232fea1347636dd498d1ba3547dec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH5/EX5.10/Ex5_10.sce | 09a905a1953dfe00d973bf02c8f3f7798a13aa43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Ex5_10.sce |
//
//
aa=1.155
ab=2.595
ba=0.985
bb=2.415
td=((ab-aa)+(bb-ba))/2
rla=525.5
rlb=rla-td
dab=500
printf("\n true RL of B %0.3f meters',rlb)
dab1=dab/1000
correct=0.0673*dab1*dab1
printf("\n combined corrction for 500m= %0.3f meters',correct)
sc=100
a=1.155
e=-(0.0118*sc)/(dab)
printf("\n collimation error per 10... |
6febd074bee36deb34e9f3b027660c69d34d6263 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CH01.prev.tst | 55c3263d7d146e11129c431bc053ef6346992e08 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | tst | CH01.prev.tst | -chain [[0,-2,1,-2],[-2,0,-2,1],[2,1,2,0],[-2,-1,-1,1]] [6,-3,-4,-5] 4 0
[[0,-2,1,-2],[-2,0,-2,1],[2,1,2,0],[-2,-1,-1,1]],det=-2 [6,-3,-4,-5], chain 8 => [12,-9,1,-10] => [39,-36,17,-26] => [141,-138,76,-85] => [522,-519,296,-305] => [1944,-1941,1117,-1126] => [7251,-7248,4181,-4190] => [27057,-27054,15616,-15625] => [... |
0380445e67ff93007513440186d148470c407aee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH13/EX13.7/Ex13_7.sce | cc05c2c7aba0fffda20139933dfeb87c30275de5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | Ex13_7.sce | clear;
clc;
l = 12;//feet
w = 150;// lb per sq.foot
//Live load
LL = w*l;//lb-wt
//Dead Load assuming the slab thickness to be 6 inches
t = 6;//inches
DL = t*l*12;//lb-wt
//total load
W = LL+DL;//lb-wt
M = W*l*12/10;//lb-inches
d = sqrt(M/(12*126));
printf('d = %.3f inches',d);
//With about an inch to co... |
e21b3f8ae1518dee6d1fe7c523a7025ffbe376f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH4/EX4.4/ex4_4.sce | d73ed1b34231306d101b9305eaf8a04b29321dc9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | ex4_4.sce | clc
f=50
n2=50 //Assigning values to parameters
n1=500
kva=25
e1=3000
k=n2/n1
i1=kva*1000/e1
i2=i1/k
e2=k*e1
fm=e1/(4.44*f*n1)
disp("Amperes",i1,"The primary full load current is");
disp("Amperes",i2,"The secondary full load current is");
disp("Volts",e2,"The secondary emf is");
disp("Wb",fm,"The maximum ... |
a000222b8f7e754192d659294eeeae5bd372c526 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH12/EX12.4/Ex12_4.sce | 8494de9203ba8a1a5f643289710f70034ee2ce41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | Ex12_4.sce | //Example 12_4
clc();
clear;
//To describe the Temperature changes of the gas
printf("This type of process is termed as throttling process and described by the equation Delta U=- Delta W\n")
printf("Where Delta W is the work done")
|
0d43d01c5ae76cceac36d9259a72afb7dd7d04f2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318.zip/Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318/CH3/EX3.8/ex_3_8.sce | 712c0ab1bcc7482a2d3642be7bdfed3bd36b5640 | [] | 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 | 190 | sce | ex_3_8.sce | errcatch(-1,"stop");mode(2);//Example 3.8: Unknown resistance
;
;
//given data :
P=100;// in ohm
Q=10;// in ohm
S=46;// in ohm
R=((P/Q)*S);
disp(R," Unknown resistance,R(ohm) = ")
exit();
|
a3b15aa1ccc80a664179b686305dea70fca0b4f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH1/EX1.19.b/1_19_d.sce | 0e693e6924136a1a3d6a153955f58a4bc92cefc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | 1_19_d.sce | //example 1.19<d>
//determine whether the following signals are power or energy signal
clc ;
t=0:0.01:100;
x=1;
P=(integrate('1^2','t',0,1))/2;
disp(P,'The power of the signal is:');
E=(integrate('1^2','t',0,1));
disp(E,'The energy is:');
disp('As t tends to infinity energy also tends to infinity but power rem... |
40f098da5d63167523e4bd4ae2f7b1eb04881dc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH1/EX1.2/Ex1_2.sce | c95c74ef3135f0a290251edc02dc8963638cd7d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_2.sce | clear
//
//Given
//variable declaration
P=4000 //Load in N
sigma=95 //Stress in N/sq.mm
//Calculation
D=(sqrt(P/((%pi/4)*(sigma)))) //Diameter of steel wire in mm
//Result
printf("\n Diameter of a steel wire = %0.3f mm",D)
|
280c3663853789e8e224318d427270795f01f7b7 | 849021510f2234a4b8c7067a8bd04208f0be8a91 | /experiment/recognition_task/Recognition_SCE.sce | 11d404005e9b11eb608520de680d16f84d174ead | [] | no_license | valentinbaumann/minecraft_adhd | 8c1cc9d1833c0569b8adc634420d5c9d34a0505d | 1638cfad14b484f9e12cbb41752b65c40d23a7d0 | refs/heads/master | 2021-06-18T19:10:28.636435 | 2021-04-08T11:42:28 | 2021-04-08T11:42:28 | 199,812,572 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,432 | sce | Recognition_SCE.sce |
#####################################################################################
# SCE File for Recognition Task
#
# associated files: Recognition_PCL, subroutines_PCL, wordlist_recognition.txt)
#
#####################################################################################
###########################... |
7538c5b47c20a4b35807b31fe6157769eb4b7a68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH9/EX9.28/Example9_28.sce | fa2d816824c98a4c2519c06ac8b437505db5d0cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | Example9_28.sce | //Chapter-9,Example9_28,pg 9_82
Po=20*735.5//(in W)
V=230
N=1150
P=4
A=P
Z=882
Ia=73
Ish=1.6
T=60*Po/(2*%pi*N)
phi=T*A/(0.159*Ia*P*Z)//flux per pole
Il=Ia+Ish
Pin=V*Il
n=Po*100/Pin
printf("electromagnetic torque\n")
printf("T=%.3f Nm\n",T)
printf("flux per pole\n")
printf("phi=%.3f Wb\n",phi)
printf("... |
41fea8167112269bf856418f5cca0c76c64e6672 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH2/EX2.13/Ex2_13.sce | d9ed1cd5f0226d8a306e12890d33ed07b2c3ee19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 907 | sce | Ex2_13.sce | //Example 2.13
x_0=0;//Position at the start of the ramp (m)
x=200;//Position at the end of the ramp (m)
v_0=10;//Initial velocity (m/s)
a=2;//Acceleration (m/s^2)
//Use the equation x=x_0+v_0*t+(1/2)*a*t^2 and rearrange to form a quadratic equation with t as the variable
//(1/2)*a*t^2+v_0*t+(x_0-x)=0
p=[((1/2)*... |
6a002e5cb27b2dd7a80a45e4d2bf9267c0c61354 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/auto/dsimul.sci | e8fcd1dfc7921b46f37ce0589b1cabcb51f0b69c | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | sci | dsimul.sci | function [y]=dsimul(sld,u)
[a,b,c,d,x0]=sld(2:6);
y=c*ltitr(a,b,u,x0)+d*u;
|
db8be63135a2c1d0c6700c769619ae0054d63da6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH13/EX13.17.3/13_17_3.sce | 1af1eec29a0632b7f74d692e8d4bbca9995b2aa0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | sce | 13_17_3.sce | clc;
//page no 515
//prob no. 13.17.3
Z0=600;Zl=73;//in ohm
F=0.9;
QF=(2*%pi*F)/4;
//For matching, the effective load impedance on the main line must equal the characteristic impedance of the mail line
Zl1=Zl;
Z01=sqrt(Zl1*Zl);
Tl=(Zl-Z01)/(Zl+Z01);
VI=1;//reference voltage
Vi=VI*%e^(%i*QF);
Vr=Tl*VI*%e^-(%... |
34f4128ebc1a4b193ea8831cf3bd9541fffa3006 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH25/EX25.1/GEARS_1.sce | df753c3e295980e1af37398dab0c0016c577dec5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | GEARS_1.sce | // sum 25-1
clc;
clear;
Zp=25;
Zg=60;
m=5;
dp=m*Zp;
dg=m*Zg;
CD=(dp+dg)/2;
ha=m;
hf=1.25*m;
c=hf-ha;
r=0.4*m;
// printing data in scilab o/p window
printf("dp is %0.0f mm ",dp);
printf("\n dg is %0.0f mm ",dg);
printf("\n CD is %0.1f mm ",CD);
printf("\n ha is %0.0f mm ",ha);
print... |
9e942b8271b7eb3e9ff480073a62695c5d6e2c74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH2/EX2.17/Exa2_17.sce | 0b618d3f1da55268876cd654753a1cd186d4cf1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | Exa2_17.sce | //Exa 2.17
clc;
clear;
close;
//Given data :
format('v',8)
d=10;//in um
a=d/2;//in um
lambda_c=1.3;//in um
n1=1.55;//unitless
//Part (a)
//for single mode transmission cut-off wavelength is lambda_c=2*%pi*a*n1*sqrt(2*delta)/2.405
delta=(lambda_c*2.405/(2*%pi*a*n1))^2/2;//unitless
disp(delta,"Normalized ref... |
b62a32ebc843dbfa67e8a1e7d320271d99dc7424 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH5/EX5.4/ex_4.sce | d661f5067b5e7eb88fa135c04fecb266e0e5040f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_4.sce | // PG (258)
deff('[y]=f(x)','y=exp(x)*cos(x)')
x0=0;
xn=%pi;
x=x0:xn;
// True value
I = integrate('exp(x)*cos(x)','x',x0,xn)
// Using Simpson's rule
N=2;
h=(xn-x0)/N;
x1=x0+h;
x2=x0+2*h;
I1 = h*(f(x0)+4*f(x1)+f(x2))/3
N=4;
h=(xn-x0)/N;
x1=x0+h;
x2=x0+2*h;
x3=x0+3*h;
x4=x0+4*h;
I2 = h*(f(x0)+4*f(x... |
4d36b5a390b93e19631884b0499e3dcdfffe50a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH11/EX11.2/11_2.sce | 9bfc490b94fd35efe153f8e699f321173d74c6f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 11_2.sce |
clc
//initialisation of variables
g=32.2//ft/sec^2
n=(0.01*30.5)/(453.6*32.2)
H=2//ft
D=1/12
//CALCULATIONS
p=62.4/g
v=n/p
k=v/(D*sqrt(2*g*H))
//RESULTS
printf (' value of non dimensional constant= %.2e',k)
|
af698a46f4d67868a9a97963137e6ba30dc736d2 | d0a6d5d85ead04c9e381d2f60cc2409632e9b3be | /tests/ieee-divs.tst | f4182153c6459b3a073bfa78e951733eb9044944 | [
"LicenseRef-scancode-unknown-license-reference",
"Zlib",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | imane1992/hercules-390 | 841d40e09d28827f24b19edf3c84f602af2a01b0 | 3f185e1a9b5ad526aef41eb48d566e5a5e90a500 | refs/heads/master | 2021-01-19T00:13:57.946438 | 2016-06-12T18:42:38 | 2016-06-12T18:42:38 | 61,064,180 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,711 | tst | ieee-divs.tst |
*Testcase IEEE LOAD ROUNDED (3), LOAD FP INTEGER (3) DIVIDE (5), DIVIDE TO INTEGER (2) 13 instr total
# Divide adjacent pairs of values in the input set (five values means four
# quotients). Test data: 1, 2, 4, -2, -2; expected quotients 0.5, 0.5, -2, 1
# Load Floating Point Integer of the above result set. Exp... |
bc50a0817e62c5edd9e63d9a7941be10be372b3e | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/testRLG.sce | 77433169cc87a28af84cf4297953b4a17cfe2f66 | [] | 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 | 2,943 | sce | testRLG.sce | clear;clc;close();getd(".");getd("./kNN");getd("./RLG");getd("./RLG/Geometry");getd("./Pruning_strategy");getd("./Local_Planner");
f1=struct('leg','HL','pos',[-2.3750e-1,-4.3146e-1,+1.9095e-2]);
f2=struct('leg','FL','pos',[-2.3750e-1,+4.3146e-1,+1.9095e-2]);
f3=struct('leg','HR','pos',[+2.3750e-1,-4.3146e-1,+1.9095e-2... |
3f185d8f27c86f2210581554b30c395cdda62264 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH14/EX14.8/14_8.sce | 388468b6586cdadc7f1c6c91a82d1ef29b7facbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | 14_8.sce | clc
//initialisation of variables
M= 250 //KNm
Torquemax= 200 //KNm
allowablestress= 180 //N/mm^2
L=250 //mm
B= 500 //mm
t= 10 //mm
t1= 12 //mm
//CALCULATIONS
Stressmax= (Torquemax*10^6)/(2*B*L*t)
I= (2*t1*L*L^2)+((2*t*B^3)/12)
sigma= (M*10^6*B)/(2*I)
Stressallowable= sqrt(sigma^2+3*(Stressmax^2))
if(Str... |
914bcb333c809cca0784b5d58b363fa4f6afe3da | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/cmd/test/man-propsensor.tst | efe0ce75f6b17b5da0ab572dbee4946b139a6734 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | tst | man-propsensor.tst | #Property Sensor Example
#generate a table of enthalpy versus molar fractions
$thermo = VirtualMaterials.Advanced_Peng-Robinson
/ -> $thermo
thermo + WATER TRIETHYLENE_GLYCOL
#generate WATER/TEG bubble temperature curve
units Field
s = Stream.Stream_Material()
s.In.P = 1 atm
s.In.VapFrac = 0.0
ps = Sensor.PropertySe... |
4d222bed98c458adf33b81d935009507b7cfd9cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH4/EX4.11/4_11.sce | 3ed39b0a64d67bf760a2e9c2dc96032b81bc6cce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_11.sce | clc
//initialisation of variables
ha=360.025 //kj/kg
hfb=38.05 //kj/kg
hb=264.2 //kj/kg
h1=2963 //kj/kg
h2=1974.6 //kj/kg
h3=163 //kj/kg
h4=1087 //kj/kg
h=1714 //kj/kg
//CALCULATIONS
m=h/(hb-hfb)
wo=7.58*(ha-hb)+(h1-h2)
qs=7.58*(ha-hfb)+(h4-h3)+(h1-h)
teff=(wo/qs)
//RESULTS
printf('thermal efficiency is... |
5d5f26ccc76c502d1ea65a6bb86bfb576b34dcb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /833/CH11/EX11.2/Ex11_2.sce | 78eda61ae9f2d5e02b71f0095df28e4e82fe2718 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | Ex11_2.sce | //Caption: Find (a)Speed of motor (b)%Slip
//Exa:11.2
clc;
clear;
close;
p=6//Number of poles
f_s=50//Stator frequency(in c/s)
f_r=2//Rotor frequency(in c/s)
n_s=(120*f_s)/p
n=(f_r*120)/p
s=n_s-n
disp(s,'(a)Speed of motor(in r.p.m)=')
S=(n/n_s)*100
disp(S,'(b)%Slip(in %)=') |
dcbca55c74d74c9e76a878a412df3d52f2e9e12b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH8/EX8.8/CH08Exa8.sce | 1827b4d02a749f7dbdb4f691a8ef1464f0aa995e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | CH08Exa8.sce | // Scilab code Exa8.8 : : Page-351 (2011)
clc; clear;
S = 1; // Spin angular momentum(s1+-s2), whereas s1 is the spin of proton and s2 is the spin of neutron.
m = 2*S+1; // Spin multiplicity
j = 1; // Total angular momentum
printf("\nThe possible angular momentum states with their parities are as follo... |
80090e5b93950994f3440a51873f724fb9df56ca | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH9/EX9.1/ex_9_1.sce | 0f985f2f3d06d3a3a8a0fef3fae4c5960a3ff5da | [] | 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 | 801 | sce | ex_9_1.sce | //find minimum force per pitch and find actual stresses developed
clc
//solution
//given
t=15//mm
d=25//mm
p=75//mm
ftu=400//N/mm^2
tu=320//N/mm^2
fcu=640//N/mm^2
pi=3.14
n=2
FS=4//factor of safety
//min foce per pitch which will rupture the joint
Ptu=(p-d)*t*ftu//N//ultimate teraing reisistance
Psu=n*(p... |
c9c168a3c1bd058f99d26d8387b34b146348b559 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH8/EX8.5/S8_5.sce | b24427bffb3e8729e5c60f1710776c1790b09102 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | S8_5.sce | // sum 8-5A
clc;
clear;
Di=15;
Do=20;
d=2.3;
D=17.5;
C=D/d;
Ks=1+(0.5/C);
Wmax=100;
Tmax=Ks*8*Wmax*D/(%pi*(d^3));
G=81000;
delmax=67.7/2.366;
k=100/28;
Na=G*(d^4)/(8*k*(D^3));
Ls=Na+1; //(for plain ends)
delmax=28;
//TL= total working length
TL=Ls+delmax+(0.15*delmax);
// printing data in scilab ... |
6bf386be7e851e866a776859634aa1dfd5c77be3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH17/EX17.8/Example_8.sce | 3642e069861e4f1d214ccf70fd709422a5c1b4ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | Example_8.sce | //Chapter-17,Example 8,Page 371
clc();
close();
strength = 10*0.85/9 //strength of EDTA
//1000 ml EDTA solution == 1 g CaCO3
//for 20 ml EDTA solution
amnt= 20*strength/1000
//50 ml smple of water contains amnt CaCO3
hard= amnt*10^6/50 //hardness of water
printf("the hardness of water is =... |
65230ae3a4ccf8891158cb8939fa192155f3f1f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH13/EX13.3/13_3_Curved_Surface.sce | aa34769e33d95d52d96238b180ca47a95514b6d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,457 | sce | 13_3_Curved_Surface.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 13.3 Page 826 \n')// Example 13.3
// Net rate of Heat transfer to the absorber surface
L = 10 ;//[m] Collector length = Heater Length
T2 = 600 ;//[K] Temperature of curved surface
A2 = ... |
eb352144bd98fe743db2032f6d1a88c14f5518b1 | 08fe4df45181e37cb84ba1610cdfb219b4142434 | /examples/tmpFile/Sci_Function_Demo.sce | 3294473e98f4fdb2183ca168f5c6068b66d18ceb | [] | no_license | gzq763199198/AutoGenHelpToolBox | 17c7db64547e0e196806464f47b788d6ae33bf2e | c85275e8a7a1cd2ab3e19db5b283e9d1e9502843 | refs/heads/master | 2021-02-17T04:02:18.470172 | 2020-03-05T04:35:44 | 2020-03-05T04:35:44 | 245,069,411 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | sce | Sci_Function_Demo.sce | //Sci_Function_Demos
//use Sci_Test_Function example for help files
out1 = Sci_Test_Function(in1,in2);
|
a6e4dbb61b092129a2bb885eb051e69abe3dc70b | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH14/EX14.8/14_8.sce | 3d15be9bca735d21acfa652cd6eafe3960a0e544 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,681 | sce | 14_8.sce | //To find the gyroscopic effects
clc
//Given:
m=5*1000 //kg
N=1000 //rpm
k=0.5 //m
//Solution:
//Calculating the angular speed of the rotor
omega=2*%pi*N/60 //rad/s
//When the ship steers to the left:
v=30*1000/3600 //m/s
R=60 //m
//Calculating the angular velocity of precession
omegaP=v/R //rad/s
//Calcu... |
7aaa87c9e1b4d5727268817464cb654f92ea0823 | 3969cd48d2c3a244c9a4b88e34c9e17600e47176 | /macros/m/viscircles.sci | 7de736d2e7c83cf949b7586635d24d42d89241fd | [] | no_license | vbhatt-cs/Scilab-IPT | a362ad5968ac0b5ea3d9b8568ed688b0ea293505 | 78dc014d91c81043e4e81f3055c777ad6e7b0a75 | refs/heads/master | 2021-05-30T18:54:47.751439 | 2016-03-19T16:41:03 | 2016-03-19T16:41:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sci | viscircles.sci | function res = viscircles(varargin)
select length(varargin)
case 02 then
res = il2mat(raw_viscircles(mat2il(varargin(01)),varargin(02)))
else
error(39)
end
endfunction
|
8b56b2aa230b85e6b501710e5dc72d619122b8b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH4/EX4.5/Ex4_5.sce | 1f4aa310d05240ee6d7e7b81e9fa7f703b976961 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | Ex4_5.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 4 Example 5")
T1=(25+273.15);//temperature of inside of house in K
T2=(-1+273.15);//outside temperature in K
Q1=125;//heating load in MJ/Hr
disp("COP_HP=Q1/W=Q1... |
82c062434f4a6ddc2e00ff0a5ea5cdf9c7cc29cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH5/EX5.2/Exa5_2.sce | 7ee4eef9dfc6a6e40eb4a127e7329c69d499faab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa5_2.sce | //Exa 5.2
clc;
clear;
close;
//Given Data :
format('v',7);
R=2;//in ohm
X=6;//in ohm
P=10000*10^3;//in watts
cos_fir=0.8;//unitless
VR=22*10^3;//in volt
I=P/(sqrt(3)*VR*cos_fir);//in Ampere
VR_phase=VR/sqrt(3);//in volt
Vs=sqrt((VR_phase*cos_fir+I*R)^2+(VR_phase*sqrt(1-cos_fir^2)+I*X)^2);
disp(Vs,"Sending... |
c712c216fe9e82f46cc5c0316594d11937af82c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH1/EX1.5/ch_1_eg_5.sce | 4e2a1973f3c29fa0a871ba3282e91c5a9ea39ed7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ch_1_eg_5.sce | clc
disp("the soln of eg 1.5--> Gauss Seidel Method");
for i=1:3,xnew(i)=2,e(i)=1
end
x=1e-6
while e(1)>x&e(2)>x&e(3)>x do
for i=1:3, xold(i)=xnew(i),end
xnew(1)=(44-xold(2)-2*xold(3))/10
xnew(2)=(-2*xnew(1)+51-xold(3))/10
xnew(3)=(-2*xnew(2)-xnew(1)+61)/10
for i=1:3,e(i)=abs(xnew(i)-xold... |
2ab799860e956db7dce4a60ae43490c4856bc44f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH7/EX7.8/ex7_8.sce | 48200445068d01cf5ebdf2a353226432f611a68d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | ex7_8.sce | //Page Number: 375
//Example 7.8
clc;
//Given
V0=1.8D+3; //V
I0=1.3; //A
Pin=70; //W
n=0.22;
//(i) Power generated
Pgen=n*I0*V0;
disp('W',Pgen,'Power generated:');
//(ii) Total RF power generated
Pt=Pin+Pgen;
disp('W',Pt,'Total RF power generated:');
//(iii) Power gain
G=Pt/Pin;
Gdb=10*log10(G);
... |
ab327283be7df519f05818e920193364844750d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH20/EX20.4.2/Ex20_4_2.sce | b38ffb0d306a404dc7714c03249c89f8e8f9ebb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 853 | sce | Ex20_4_2.sce |
clc
//initialization of variables
//For window with two panes 3 cm apart
k = 0.57*10^-4 //cal/cm-sec-K
l = 3 //cm
g = 980 // cm/sec^2
Nu = 0.14 // cm^2/sec
DeltaT = 30 // Kelvin
T = 278 // Kelvin
L = 100 // cm
//calculations
h = (0.065*(k/l)*(((l^3)*g*DeltaT/((Nu^2)*T))^(1/3))*((l/L)^(1/9)))*10^4//for two p... |
8de1b3d4702a4b3901f56d9bf8a84120b34f546e | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/93.tst | 014f6ed490ddf86adee9f7fdfa4515fda32391b2 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 36 | tst | 93.tst | int main(void)
{
int x[3];
&x;
} |
5637e04dea23e6f197ca8baa7ab987f8a62b4406 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH7/EX7.19/Example_7_19.sce | e188cc9aa44d9f6e6286335d2e24dbf215df8f3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | Example_7_19.sce | //Scilab Code for Example 7.19 of Signals and systems by
//P.Ramakrishna Rao
//Convolution of two signals
clc;
clear;
clear x y n;
x=[2,-1,1,0,2];
y=[1,0,-1,2];
n=-1:3;
c = gca();
c.y_location = "origin";
c.x_location = "origin";
plot2d3(n,x,-5);
title('x(k)')
xlabel('k')
figure(1);
n=0:3;
c = gca();
... |
0251e5ac57e53d3cf3f9b1b815e49bb7cef35e46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH11/EX11.1/Ex11_1.sce | 5e5f5b803e665e22c3344d45dd0320751d960915 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | Ex11_1.sce | clear
//
//given and derived
rm=75
im=300*(10**-6)
//case a
i=5
rsh=(rm*im)/(i-im)
printf("\n rsh= %e ohm",rsh)
//case b
i=7.5
rsh=(rm*im)/(i-im)
printf("\n rsh= %e ohm",rsh)
//case c
i=10
rsh=(rm*im)/(i-im)
printf("\n rsh= %e ohm",rsh)
|
5d9553409abcb61c391926d44f4dede795082d5c | 2a391c9f5e3283e1b5d74c97948b42e04218b435 | /PARTE I/Practica 1/jj1.sce | fb15963906e31ed9c0b32cb1282e4bc31ae726d0 | [] | no_license | seradiazpin/ParalelaDistribuida | 3f50f8c4d712c294d75271ee61a608bf257517f0 | 5875f9f46363e1c09a9842b1b1a21f5cb950e7f5 | refs/heads/master | 2020-06-06T15:36:21.945186 | 2017-01-25T17:55:19 | 2017-01-25T17:55:19 | 41,097,788 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | jj1.sce | t=[1.00 0 0 0 0 0 0 0 0 0
1.00 1.00 0 0 0 0 0 0 0 0
1.00 1.00 1.00 0 0 0 0 0 0 0
1.00 1.00 1.00 1.00 0 0 0 0 0 0
1.00 1.00 1.00 1.00 0.67 0 0 0 0 0
1.20 1.20 1.00 1.00 1.00 0.86 0 0 0 0
1.64 1.50 1.50 1.64 1.64 1.64 1.38 0 0 0
2.21 2.47 2.36 2.41 2.47 2.41 2.36 2.26 0 0
2.82 3.06 3.10 3.10 3.10 3.10 3.09 3.06 3.02 0
2.... |
edf5e777d70addb9ff16abb8ba56a7581d5329c6 | 2c2dc93267283e4aebcffffd5bd76e19ddcf5cc7 | /output/MLP/Prob-result0s0.tst | 1ca56512b474a849223cf9a30b9eb6f061d0686b | [] | no_license | joseangeldiazg/probabilistic_keel | c9cf4ddc2cf750cbbeca88e6f84218084892ae1f | 6c5ddf8c98cc7431d523b291e521d1e8607dc662 | refs/heads/master | 2020-05-21T12:26:41.754863 | 2017-01-08T10:29:44 | 2017-01-08T10:29:44 | 55,733,275 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 910 | tst | Prob-result0s0.tst | True-Class positive negative
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1... |
9d0010acb6fb06625c9a158eb57103b926df0f17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.11/Ex34_11.sce | e3286f3f496fb6729bcf2fabc80e42efccca597f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | Ex34_11.sce | // Example 34_11
clc;funcprot(0);
//Given data
L=30;// Total load in MW
L_12=20;//Capacity of two steam turbines in MW
// S_1=2000+10*L_1-0.0001*L_1^2
// S_2=1000+7*L_1-0.00005*L_2^2
//Calculation
//L_1+L_2=L*10^3;
// For the most loading,the required condition is (dS_1/dL_1=dS_2/dL_2)
function[X]=Load(y)
... |
42df9c32cd3a54a5c9885bd593e52cf8cbf8e3fd | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH20/EX20.7/ex_20_7.sce | 5caa24356f42580dae3271eb7d5b08622f1e7562 | [] | 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 | 393 | sce | ex_20_7.sce | //find..
clc
//soltuion
//given
n=10
v=25//m/s
P=115*1000//W
q=%pi
B=22.5//deg
u=0.2
m=0.6//kg/m
//let T1 and T2 be tension on tight and slag side
//P=(T1-T2)*v*n//W
//T1-T2=460...eq1
//log(T1/T2)=u*q*cosec(%pi/180*B)=0.714
T2=T1/5.18//....eq2
//from eq1 and eq2
T1=570//N
T2=110//N
Tc=m*v^2
Tt1=T1+T... |
d8f064bdf4cbd130664742f7ec46de0b20d38e42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3129/CH4/EX4.6/Ex4_6.sce | 6146930ebe66671548a94d6773d097f745fc50fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 880 | sce | Ex4_6.sce | //Finding the Snubber Values for Limiting dv/dt and di/dt Values of a BJT Switch
//Example 4.6(Page No- 154)
clc
clear
//given data
fs = 10*10^3;//kHz
Vs = 220;//V
Il = 100;//A
Vce_sat = 0;//V
td = 0;
tr = 3*10^-6//sec
tf = 1.2*10^-6//sec
//part(a)
Ls = (Vs*tr)/Il;
printf('(a)\t Ls: %1.1f uH',Ls*10^6)
... |
f3314802c08c7bd7e81ff3ccdfb3576acd214a66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH2/EX2.6/6.sce | 5409decd5550a35d4184a9225842db59f6c2c3ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6.sce | clc
// Given that
lambda1 = 6500 // wavelength of first source in angstrom
lambda2 = 5200 // wavelength of second source in angstrom
d = 2 // Spacing between sources in mm
D = 1.2 // Distance between source and screen
n = 3 // Order of bright fringe
// Sample Problem 6 on page no. 95
printf("\n # PROBLEM 6 # \... |
1bfc0e1d2dea3c8b7873a2aab36eec42ab5edcb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH4/EX4.14.1/Exa14_1.sce | 0fac34da097888abee4c10e80470c9edbf2b6b3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,726 | sce | Exa14_1.sce | //Exa 14(i)
clc;
clear;
close;
//given data :
inINV=50000;//initial investment in Rs. and equal for all projects
life=5;//in years
salvage=0;//in Rs.
TaxRate=55;//in %
//depreciation type :Straight line
D=inINV/life;//in Rs
//cash flows before tax of 1st,2nd,3rd,4th and 5th years
CBFT1=10000;//in Rs.
CBFT... |
66943853e3938477135052b2e6df33e5ff68c0b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH1/EX1.15/ex1_15.sce | bef93d601325607bf67ff786ca24aac271df36bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | ex1_15.sce | // Exa 1.15
clc;
clear;
close;
format('v',6)
// Given data
R1= 2;// in ohm
R2= 6;// in ohm
R3= 4;// in ohm
R4= 3;// in ohm
R5= 5;// in ohm
V1= 10;// in V
V2= 6;// in V
V3= 2;// in V
//Applying KVL in ABEFA : I1*(R1+R2+R3) - R2*I2 = V1-V2 (i)
//Applying KVL in BCDEB : I1*-R2+I2*(R2+R4+R5) =V2-V3 (ii)
... |
d8e9507eb34a5e5504bd522a2a64718546b733dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH24/EX24.05/24_05.sce | 34b8162d8d76d094c5e7dcc5e7da362a967e8de7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,313 | sce | 24_05.sce | //Problem 24.05: A 200 V, 50 Hz supply is connected across a coil of negligible resistance and inductance 0.15 H connected in series with a 32 ohm resistor. Determine (a) the impedance of the circuit, (b) the current and circuit phase angle, (c) the p.d. across the 32 ohm resistor, and (d) the p.d. across the coil.
... |
30caed31c9cffff8db53dd8dfeb3921b492d295f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH4/EX4.9/Ex4_9.sce | 2bd33a5ecabfb993152469029fbc65978858c6f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,100 | sce | Ex4_9.sce | //Ex4_9
// Illustration of Jaggies in Image Zooming
//Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Woods
clc;
close;
cl... |
0441b1ed9befb56291f6655036352bdaccd762ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH17/EX17.4/Ex17_4.sce | 9722510611c5a8d9473296b54669eb76af131aca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,734 | sce | Ex17_4.sce | //Supercharged four stroke oil engine
clc,clear
//Given:
T1=20+273 //Temperature of air enters the compressor in K
Q1=1340 //Heat added to air in kJ/min
T3=60+273 //Temperature of air leaves the cooler or enters the engine in K
P3=1.72 //Pressure of air leaves the cooler or enters the engine in bar
eta_v=0.70 //Volumet... |
d0098352cc31fac0fd8102bd9565612aa3ee11e2 | a447cf83a950699ea0389554e8b63a5f9da4e560 | /MCM2021C-AsianGiantHornet/HMM/file/scilab/HMM_discret.sci | cf459b8774133fb1602945c929875d118d6e9e72 | [
"MIT"
] | permissive | JackBai0914/MCM2021C-AsianGiantHornet | 4fb07c55c050d3b6f570b259d0436dc43e5ebaf8 | 5eb2d2b598d17fb0073c925b3b1cac3d10fca611 | refs/heads/master | 2023-03-03T15:09:31.758370 | 2021-02-09T12:33:21 | 2021-02-09T12:33:21 | 337,264,826 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,903 | sci | HMM_discret.sci | // written by Aurelien Garivier, CNRS & Telecom Paristech
// January 2012
//
// Baum-Welch algorithm for discrete Hidden Markov models
// see http://www.telecom-paristech.fr/~garivier/code/index.html
function [x,y] = HMMsample(nu, Q, g, n)
// HMMsample sample a trajectory from a hidden markov chain
//
// in : nu = in... |
c82169dae4f8a9ff00ba81e5ade570bc8f6b2252 | 2abbdbd7a9a8bda139e6a7314a1b8a70ad010ae0 | /Hack-Computer/Prog3.tst | b203c319ce28257087cbc015e889f2a074c135c7 | [] | no_license | Aryan-Reddy/Hack-Computer | 6a1e403a100a9b8eb764aa2ef2acf77dae85f86b | 897053afc8567bf041d0a7bc11152dc35e556722 | refs/heads/main | 2023-06-17T19:21:35.312099 | 2021-07-18T14:15:16 | 2021-07-18T14:15:16 | 387,191,986 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | tst | Prog3.tst | load HackComputer.hdl,
output-file Prog3.out,
output-list time%S1.5.1 reset%B2.1.2 ARegister[]%D1.7.1 DRegister[]%D1.7.1 RAM64[16]%D1.7.1 RAM64[17]%D1.7.1;
//finds sum of first 99 natural numbers and stores it in RAM64[17]
ROM32K load Prog3.hack,
repeat 1400 {
tick, tock, output;
} |
31c48c66874290f98fcb5527e7bc67288a8e2c65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH7/EX7.7/Ex7_7.sce | fb172a980354e6ef459cffe0a77a431e683ba058 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 934 | sce | Ex7_7.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 7.7
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
A=100e-6*100e-6;//Junction area of the photodiode in m^2
Epsilonr=12;//Relative permittivity of InGaAs
Epsilon0=8.84e-12;//Permittivity of free space in... |
fbc5d08a1306e7ddec4b7c9a064ff4defaaaf74d | 8c0aba179213279bc3b1916d8615f3e18a6cd9cf | /nom_de_fichier_par_default.tst | 57aa83bd3d43a16ab7440d5d62401b3f8028cf70 | [
"MIT"
] | permissive | Soum-Soum/Yves | 2514abbb8c28a2b9b622d746ba26dde7dd26e2e7 | 1530f9acf054774dfea3774955e0071d0883aaff | refs/heads/master | 2020-03-29T10:35:05.193417 | 2019-07-17T22:15:07 | 2019-07-17T22:15:07 | 141,009,735 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,454 | tst | nom_de_fichier_par_default.tst | Test
CONTOURS
Numero : 1 Largeur : 4.698 Hauteur : 417.612 Angle_Haut/Gauche : 73.301
Numero : 0 Largeur : 4.5 Hauteur : 500.0
Numero : 2 Largeur : 4.698 Hauteur : 104.403 Angle_Haut/Gauche : 106.699
Numero : 3 Lmin : 4.5 Lmax : 4.698 Hmin : 190.802 Hmax : 192.152 Angle_Haut/Gauche : 16.699
Numero : 4 Lmin : 4.5 Lmax ... |
78350a8edc6614b29403e77a4ad1476599f9aa68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH8/EX8.2/ex8_2.sce | a2298eec40ad49900fc36e350077d6d484a47458 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | ex8_2.sce | // Example 8.2
format('v',5)
clc;
clear;
close;
// given data
V_EE= 12;// in V
V_BE= 0.7;// in V
R_E= 5.6*10^3;// in Ω
V_CC= 15;// in V
R_C= 6.8*10^3;// in Ω
// The emitter current,
I_E= (V_EE-V_BE)/R_E;// in A
I_C= I_E;// in A
// The collector to base voltage
V_CB= V_CC-I_C*R_C;// in V
disp(V_CB,"The v... |
5410d945be7be027a88b17f37de0601146c9c739 | b4bbf9b2a475b5cf299b30bf5e0c621e32f6c832 | /test/assign1/nearwin.tst | 64796bf1acef04d1f9c3e02bf03c7f783aa2dd79 | [] | no_license | apetresc/castro | 1ec1ac1307542487aa1be14c335170f7a1347bf2 | 843165af7c946188a2dd772384cd2d579723c99d | refs/heads/master | 2022-02-20T14:28:41.962893 | 2019-10-07T08:41:59 | 2019-10-07T08:41:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | tst | nearwin.tst | boardsize 4
play w a2
play b b3
play w b2
play b c3
play w c2
play b d4
play w d2
play b b4
play w e1
play b c5
havannah_winner
|
54219294ad3dfbb07fd235015939cea94801e27d | faa13bdd4bc4f49b1a344f66365adeaa28da50f9 | /comparaisonAffichage.sce | 866711e021fa52a77bfb865452c75e9d1520c169 | [] | no_license | ece2lr/devoirDeVacances | e1153174c9793344e59d36624aca58d7e2d3be91 | 5a82ff3e1e2f4833ec70e58b6a6961517ba7a403 | refs/heads/master | 2021-01-21T21:15:16.599592 | 2017-06-23T06:54:48 | 2017-06-23T06:54:48 | 94,797,597 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | comparaisonAffichage.sce | //( debFon )
function y=score_de_Deux(p)
y = 3*p^2 - 2*p^3
endfunction
function y=deux_d_affilee(p)
q = 1-p
y = ___
endfunction
function y=deux_d_avance(p)
q = 1-p
y = p^2 / (p^3+p^2*q+p*q^2+q^3)
endfunction
//( finFon )
scf(1)
clf()
//( debAff )
p = linspace(.5,1)
plot(p,score_de_Deux,'--')
plot(p,deux_d_... |
3cd3aea02b4f81612073405a39330fca2fb3b170 | a83680469a81297f948105b4d66f4bc11927da2f | /foseee/firlp2lp.sci | 801f8885f1c1dcfd1691fa698251eb3845cf5bed | [] | no_license | vamsikrishnakoppala/foseedsp | 7e2dbdc81a9648db3e3d3398b1172e0d91b88e6a | 41a7d9711351d3e6d95b164e60be3db8573b5f7b | refs/heads/master | 2020-12-25T14:23:39.082320 | 2016-08-26T10:40:24 | 2016-08-26T10:40:24 | 66,634,845 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sci | firlp2lp.sci | //author :Vamsi Krishna Koppala
//function :firlp2lp
//input argument : fir typeI filter coefficient vector(Hr(w))
//output argument :fir typeI filter of coefficients[1 - Hr(π-w)].
// source http://www.mathworks.com/help/dsp/ref/firlp2lp.html
function a=firlp2lp(b);
r = length(b);
a =b;
a(int16(r/2+... |
c200957f4ebe3add6fc8f675fcb55de6cd98c022 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.17_18.tst | 56f1c7f2fb9bea864c858d6f9bfadef65c5db0a7 | [] | 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 | 543,238 | tst | 5.17_18.tst | 17 1021:1 1039:1 1072:1 1691:1 1720:1 2964:1 3361:1 3428:1 3976:1 5210:1 5236:1 5600:1 5762:1 6372:1 6548:1 6885:1 7205:1 7357:1 8165:1 9725:1 9891:1 10031:1 10095:1 10183:1 10339:1 11750:1 12030:1 12108:1 12293:1 12649:1 13394:1 13428:1 13872:1 14378:1 14877:1 15156:1 15225:1 15434:1 15895:1 15942:1 16365:1 17657:1 17... |
c4597cdf2067c559b76d0242dc3b72b16bbeec70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH9/EX9.4/Ex9_4.sce | 1b19674451b4a3545a2f991cd2345ed8807e4bde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Ex9_4.sce | // Chapter 9 example 4
//------------------------------------------------------------------------------
clc;
clear;
// Given Data
PW_tx = 10^-6; // Transmitted pulse width
Rx_PW = 10^-6; // Received pulse width
c = 3*10^8; // velocity of EM waves in m/s
// Cal... |
b3a12fafd40d0b50ca8e1335846840f2eaa58c3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH1/EX1.3/ex1_3.sce | 721a3061cdffab3938d76fdc70424ec48a39bc22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | ex1_3.sce | clc;
v=3*10^8; //velocity in m/sec
n=500*10^3; //frequency in Hz
l=v/n; //calculating wavelength
disp(l,"Wavelength in m = "); //displaying result |
e5835f90e71e9d374f799101b03f5dc34d307b50 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Pack/Área 1/M5/matrizes_m5_9.sce | 279b09c0852d138488da6376a38c9aa602f66aea | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 984 | sce | matrizes_m5_9.sce |
tam_mat = 12
a = zeros(tam_mat,tam_mat)
b = zeros(tam_mat,tam_mat)
c = zeros(tam_mat,tam_mat)
for i = 1:tam_mat
for j = 1:tam_mat
if (i == j) | (i == j-1) | (i == j+1) then
a(i,j) = 1
c(i,j) = 1
end
if (i <= j) then
a(i,j) = 1
c(i,j) = 1
... |
f63e7cc535c9c00f5674e1566ebaf85378d72078 | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/prbs/identification/scilabwrite.sce | fcb6eaa34fe337d00186cfb0e3b929c7d2ae2c93 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 1,200 | sce | scilabwrite.sce | 0.10000E+00 0.00000E+00 0.10000E+03 0.10000E+01
0.10000E+01 0.50000E+02 0.50000E+02 0.10000E+01
0.20000E+01 0.50000E+02 0.50000E+02 0.20000E+01
0.30000E+01 0.50000E+02 0.50000E+02 0.30000E+01
0.40000E+01 0.50000E+02 0.50000E+02 0.40000E+01
0.50000E+01 0.50000E+02 0.50000E+02 0.50000E+01
0.60000E+01 0.50000E+02 0.50000E... |
f3519d9d1dd7eebc104ce992b2b75c4cc345a4fc | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3883/CH1/EX1.8/EX1_8.sce | 185fd248e3982bead75f6e27e0617e7c9c376880 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | EX1_8.sce | //Chapter 1, Example 1.8
clc
//Variable Declaration
a1 = 0.00047
a2 = 0.002
b1 = 690000
b2 = 0.00000013
//Calculation
a = a1/a2
b = b1/b2
//Results
printf("(a) %.1f x 10^-2 \n",a*100)
printf("(b) %.2f x 10^12",b/1000000000000)
|
2908d60d18df29e22dc0000c865e042a047d421d | fcd4bce0080771389b4a69338ed6443153942183 | /cores/n64/mupen64plus-rsp-paraLLEl/lightning/check/stack.tst | e69971938946001501538f91d00d73f43bfeecc7 | [
"MIT",
"LGPL-2.1-only",
"MPL-1.1",
"LicenseRef-scancode-mame",
"GPL-1.0-or-later",
"Zlib",
"GPL-2.0-only",
"LGPL-2.1-or-later",
"MPL-2.0",
"CC-PDDC",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-brian-gladman-3-clause",
"BSD-3-Clause"... | permissive | wulfebw/retro | d4fcf9229b257b3c495f54b1aeb3ea36004ae4aa | dad4b509e99e729e39a2f27e9ee4120e3b607f58 | refs/heads/master | 2022-10-23T07:17:55.320585 | 2020-06-12T01:38:06 | 2020-06-12T01:38:06 | 260,832,205 | 8 | 1 | MIT | 2020-06-12T01:38:08 | 2020-05-03T05:06:17 | C | UTF-8 | Scilab | false | false | 8,960 | tst | stack.tst | #define szof_c 1
#define szof_uc szof_c
#define szof_s 2
#define szof_us szof_s
#define szof_i 4
#if __WORDSIZE == 64
# define szof_ui szof_i
# define szof_l 8
#endif
#define szof_f 4
#define szof_d 8
#define FILL(T) \
name fill##T \
fill##T: \
prolog \
arg $argp \
get... |
a3babb52681813271b8c8c614d2e735134dadeac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH7/EX7.26/Ex7_26.sce | e0e41290b4f10956aaf7692a5671ba2352535197 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,274 | sce | Ex7_26.sce |
clc
clear
//Input data
V1=600//Velocity in m/s
Vb=120//Mean blade velocity in m/s
a=16//Nozzle angle in degrees
b=[18,21,35]//Exit angles in degrees
m=5//Steam flow rate in kg/s
h=25//Nozzle height in mm
v=0.375//Specific volume in m^3/kg
p=25//Pitch in mm
t=0.5//Thickness in mm
kb=0.9//Constant
//Cal... |
6797cb2661d58e02981031159c6671cc5afef5ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH9/EX9.32/Example_9_32.sce | 8f631f4db358cdd68fee878ba77b30b6ae5e7a2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 857 | sce | Example_9_32.sce | clc;
clear;
printf("\n Example 9.32\n");
d2=54e-3; //outer diameter of the tube
d1=70e-3; // fin diameter
w=2e-3; //fin thickness
n=230;// number of fins per metre run
T_s=370; //Surface temperature
T=280; //Temperature of surroundings
h=30; //Heat transfer coeffecient between gas and fin
k=43; //Thermal ... |
7861f86100688d88334e3c227192a24828713d83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH6/EX6.5/Ex6_5.sce | 6e8121ffb3158720e24be7025f4f3cb426f238f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,200 | sce | Ex6_5.sce | clear
//Given
//We will divide this into three parts
F = 8 //k - force applied
d = 16 //inch -distance
l_1 = 1 //in
l_2 = 3 //in
b_1 = 4 //in
b_2 = 1 //in
A_1 = l_1* b_1 //sq.in - area of part_1
y_1 = 0.5 //in com distance from ab
A_2 =l_2*b_2 //sq.in - area of part_1
y_2 = 2.5 //in com distance from... |
b96fe5bffb9ab9b47080186c7a1da19a9f649760 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH4/EX4.15.6/Example_4_15_6.sce | 7b7ad38f18a4e063553eafe9d51c0c57cbadcafe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 937 | sce | Example_4_15_6.sce | // Example 4.15.6 page 4.39
clc;
clear;
L=5; //length of optical link
n1=1.5 //refractive index
c=3d8; //speed of light
delta=1/100; //relative refractive index
delTS=L*n1*delta/c; //computing delay difference
delTS=delTS*10^12;
sigmaS=L*n1*delta/(2*sqrt(3)*c); //computing... |
91764b8a87dd44def93ea68773d36b398b709edd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH6/EX6.4/Ex6_4.sce | 1b4731b6d958732c06419435d5e8ba112927a6ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,758 | sce | Ex6_4.sce | clc;
eff_c=0.8; // Isentropic efficiency of compression each stage
eff_CT=0.88; // Isentropic efficiency of compressor turbine
eff_PT=0.88; // Isentropic efficiency of power turbine
eff_trans=0.98; // Turbine to compressor transmission efficiency
rp=3; // Pressure ratio in each stage of compression
T08=297; // Te... |
3b5cea23f32ab4296e0909a300c39eb67966aebe | 0764595c2d11c42afddd3351da341f9e9c4db651 | /codigos_aula/MetodosAbertos.sci | e9b31bbc22a0a0448b041c62a9dede554c131fdc | [] | no_license | ThiagosLima/metodos-numericos | e3933c43362c6f047714980841f7c64f1a345bb0 | df21508b72b94e64a424e6b50564e948019a9eab | refs/heads/main | 2022-12-30T10:06:57.560852 | 2020-10-05T00:41:52 | 2020-10-05T00:41:52 | 301,257,290 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,032 | sci | MetodosAbertos.sci | function PontoFixo(f,x1,tol)
// erro - tolerância máxima para x1
// Saída - x1 raíz da função f.
// x0 solução inicial para a raíz de f
deff ( ' y=g ( x ) ' , ' y=f(x)+x' )
erro = 1;
printf ( '%i\t%.10f\t%.1e\n',1,x1,erro)
for (k=1:500)
x0=x1
x1 = g(x0);
if(x1<>0) t... |
31186b77aecefa2bbe2481fccef2538f147f752e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH18/EX18.12/ex18_12.sce | 4502b17a5b164e8cbd7abc7eec7d8223c3c0ea4c | [] | 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 | 244 | sce | ex18_12.sce | errcatch(-1,"stop");mode(2);// Example 18.12, page no-467
epsr=12
N=5*10^28 //atoms.m^-3
eps=8.854*10^-12//F.m^-1
alfe=eps*(epsr-1)/N
printf("The electronic polarisability of given element is %.3f * 10^-39 F m^2",alfe*10^39)
exit();
|
33a795cb361d56fa03b186ffc82a2a39021f0b33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH1/EX1.11/Ex1_11.sce | dd2055a85702c94f01a602ba07c4304d65e6bf60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | Ex1_11.sce | //Ex 1.11
clc;clear;close;
VBE3=0.7;//V
VBE1=0.7;//V
IREF1=100;//micro A
IC1=IREF1;//micro A
IREF2=1;//mA
IC2=IREF2;//mA
Beta=200;//unitless
//IC2/IC1=(IS*exp(VBE2/VT))/(IS*exp(VBE1/VT))
VT=26;//mV
deltaVBE=VT*10^-3*log(IC2/IC1);//V(deltaVBE=VBE2-VBE1)
deltaVx=2*deltaVBE;//V
IO=IREF1/(1+2/(Beta^2+Beta));//... |
bf895cae711dcd29bbf21625cbf4d7e6c79cff8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH4/EX4.7/Ex4_7.sce | 386856b76c9276afb9840f96115b373305b74840 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Ex4_7.sce | //Example 4_7
clc();
clear;
//To estimate the lower limit for the speed
//In a practical situation u should be atleast 0.5
u=0.5
g=9.8 //units in meter/sec^2
x=7 //units in meters
v0=sqrt(2*u*g*x) //units in meters/sec
printf("The lower limit of the speed v0=%.1f meter/sec",v0)
|
19185fd04162bee03e860ff734299ef63a94f8bb | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.14_1.tst | aba0dc038591275ca497f64459cd6e9e91fa824c | [] | 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 | 7,000 | tst | bow.14_1.tst | 14 704:1.0
14 4:0.08333333333333333 6:1.0 17:0.03773584905660377 30:0.14285714285714285 64:1.0 66:0.16666666666666666 69:0.6666666666666666 84:0.16666666666666666 143:0.25 199:0.3333333333333333 200:1.0 237:2.0 279:0.5 346:1.0 354:1.0 368:1.0 490:0.5 992:1.0 1041:1.0 1148:1.0 1349:1.0 1396:1.0 1496:1.0
14 14:0.03333333... |
9c36a98b8fd1c1b19eef9c9fba4ad1837044f022 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH13/EX13.3/Ex13_3.sce | 205f41891ec9992a377ee1f45ff9d31cadb1b551 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | Ex13_3.sce | clear;
clc;
J=20*10^3 //in kA/cm^2
e=1.6*10^-19 //in C
Nd=2*10^15 //in cm^-3
//Calculation
vz=J/(e*Nd)
format("e",9)
disp(vz,"avalanche-zone velocity is (cm/s)= ")
|
501ad1002f895a73e17240ea1207fb8f15bf59d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH8/EX8.8/Ex8_8.sce | 4d1df21cce39b5e818d22195b2d137bf4502d5ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | Ex8_8.sce |
//
//
printf("\n at station 1')
h=1,h1=2.55,h2=0.95,b=9,b1=7.5,b2=5.25,
w1=b1+b2
a=(((h/2)*(b1+b2))+((b/4)*(h1+h2)))
printf("\n area= %0.3f sq. meter",a)
printf("\n at station 2')
h=1.5,h1=2.8,h2=1.35,b=9,b1=8.1,b2=4.75,
a1=(((h/2)*(b1+b2))+((b/4)*(h1+h2)))
d=50
k=10.01
v=(d/2)*(a+a1)
w2=b1+b2
printf("\n area=... |
e0b189e43ed4b6fa3c5fd24c79be8e2a89402519 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH5/EX5.6/Example56.sce | 0a603928a11ba55fcfd8346e631dc0ca4fcad1db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,125 | sce | Example56.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 5, Example 6")
disp("Since the degree of reaction is 50%, the velocity triangle is symmetric as shown in Figure Ex56")
disp("Using the ... |
e934b6fcac984c35f0fae6852e7f002b373db208 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.12/Ex6_12.sce | 076503ae136ef805c3653b171f771c900d83bf2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | Ex6_12.sce | clear;
clc;
printf("\t\t\tProblem Number 6.12\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.12 (page no. 255)
// Solution
//The molecular weight of oxygen is 32.Therefore,
R=1545/32; //Unit:ft*lbf/lbm*R //constant of proportionality
J=778; //conversion factor
cp=0.24; //Unit:Btu/lbm*R //specific heat at... |
4211adcfaeb1938b7d4533979b88c18c8bc05d8a | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/B2_Geometria_Excluir_Barras.sce | 018ed3b7da7c1051c6899733a0938c03f01578a9 | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,289 | sce | B2_Geometria_Excluir_Barras.sce | // BOTÃO EXCLUIR BARRAS
frame_left_estr.enable ="off"
sca(eixoEstr)
[botao,x0,y0]=xclick(); // ponto clicado na janela de eixos
// Enquanto não clicar no botão central e houver barras para apagar
while and(botao~=[2 5]) && size(Barras,1)>0
// Cria lista com ponto inicial e final das barras
Lista ... |
2bb5e7c867da251b5ecd13cad80d09dce77db23e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH8/EX8.6/Ex8_6.sce | 6b283da42e7273ebca267210b219ab3d1d22582e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,254 | sce | Ex8_6.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 8 : STARTING, CONTROL AND TESTING OF AN INDUCTION MOTOR
// Example : 8.5
clc;clear; // clears the console and command history
// Given data
V = 210 // supply voltage in V
f = 50 // su... |
fa09a9beee637fb74ad642fdf802989ade683e5f | 717ddeb7e700373742c617a95e25a2376565112c | /1592/CH7/EX7.22/Example_7_22.sce | e063736b429e11bcd1ef7c0294cca7808127f721 | [] | 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 | 694 | sce | Example_7_22.sce | //Scilab Code for Example 7.22 of Signals and systems by
//P.Ramakrishna Rao
//Convolution of two signals
clc;
clear;
clear x y n;
for n=0:10;
x(n+1)=(3/4)^n*u(n);
end
c = gca();
c.y_location = "origin";
c.x_location = "origin";
n=0:10;
plot2d3(n,x,-4);
title('x(n)')
xlabel('n')
for n=0:10;
y(n... |
8a1935ba6e7fe010e74f0e373ca030f83b919a06 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/LocalRegions/Tests/LocProject2D_Quad_Lagrange_Basis_P6_Q7.tst | 4e1ec1da8838e3f6a245c3d968672fdddd2c18e7 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 536 | tst | LocProject2D_Quad_Lagrange_Basis_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Project2D Quad Lagrange basis P=6 Q=7</description>
<executable>LocProject</executable>
<parameters>-s quadrilateral -b GLL_Lagrange GLL_Lagrange -o 6 6 -p 7 7 -c 0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0</parameters>
<metrics>
<metric type="L2" i... |
fb7276fb263f16e79fac3deb0af56830ce5dcacc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH3/EX3.20/Chapter3_example20.sce | f05d599c1ce95b247636005d01886017e6851836 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | Chapter3_example20.sce | clc
clear
//Input data
T=[50+273,345+273]//Temperatures at the beginning and end of compression in K
g=1.4//ratio of specific heats
IHP=25//Indicated horse power in h.p
m=5.44//Mass of fuel consumed per hour in kg
CV=10300//Calorific value in kcal/kg
//Calculations
na=(1-(T(1)/T(2)))*100//Air standard effic... |
92b9a83cd9c1ed4d4d6d148066e7c42476b5a5d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH9/EX9.10/Example_9_10.sce | 12c6cfc0f2cf52645a3b927b644c749e745cde8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | Example_9_10.sce | // Chapter9
// Page.No-440
// Example_9_10
// Design of current source
// Given
clear;clc;
Vr=5; // Voltage in volt
Il=0.25; // Load current in ampere
Rl=48; // Load resistance in ohm
dropout_volt=2; // Constant for IC7805C
R=Vr/Il; // Approximate result sice Iq is negligible in the eq. Il=(Vr/Il)+Iq where Iq... |
d626681cba35843cb9c621520e3dd91b435a2ebc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH4/EX4.18/Ch04Ex18.sce | d4f76bfcad22740876053b2e7181c2a4eb05f521 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sce | Ch04Ex18.sce | // Scilab Code Ex4.18: Page-134 (2006)
clc; clear;
// We have from Mattheissen rule, rho = rho_0 + alpha*T1
T1 = 300; // Initial temperature, K
T2 = 1000; // Final temperature, K
rho = 1e-06; // Resistivity of the metal, ohm-m
delta_rho = 0.07*rho; // Increase in resistivity of metal, ohm-m
alpha = de... |
6ef9fb15fbdb68fea4d43ee3388e603fd180287b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.5/18_5.sce | 876aac0a9091200a1085fb54774f9fed9dab0eb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | 18_5.sce | //ques-18.5
//Calculating standard heat of formation of actylene
clc
h1=-1300;//heat of combustion of acetylene (in kJ)
h2=-395;//heat of combustion of graphite(C) (in kJ)
h3=-286;//heat of combustion of hydrogen (in kJ)
H=2*h2+h3-h1;//heat of formation of actylene (in kJ)
printf("Heat of formation of actylene i... |
ad8d90436ae66a2912fbbe218f1e0ab4f94073f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH10/EX10.3/Ex10_3.sce | 82a15a3df66e6ecaf22ebb8b6aa7dceb9ec7e158 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | sce | Ex10_3.sce | //Predict whether the following reaction would proceed spontaneously as written ( Cd(s)+Fe++(aq)=Cd++(aq)+Fe(s)
//Example 10.3
clc;
clear;
C1=0.15; //Concentration of Cadmium ion in M
C2=0.68; //Concentration of Ferrus ion in M
E1=-0.447; //Standard Electrode potential for cathode in V
E2=-0.403;... |
0329c6d1b89521508919ac9ae310c2744c1c446e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3516/CH18/EX18.2/Ex18_2.sce | 1ed2ebc5de1593bcc7e15bf510d9b4d953b4c9cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | Ex18_2.sce | printf("\t example 18.2 \n");
tav=500; // F
Ts=1000;
t0=100;
c=0.12; // Btu/(lb)*(F)
k=24; // Btu/(hr)*(ft^2)*(F/ft)
row=488; // lb/ft^3
alpha=0.41; // alpha=(k/(c*row)), ft^2/hr
x=0.333; // ft
theta=4;
printf("\t values are approximately mentioned in the book \n");
X=(x/(2*(alpha*theta)^(1/2)));
printf("\... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.