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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6e0dd612f8a8b470da1a050bb0113cc116109621 | 180d0fd6ed0ce016cbc63a47c8848aa7ca65f0f4 | /atv2.sce | 759e93a30b51b89b4081883b8fa0b490f9dfa0fd | [] | no_license | tiago-mateus/matematica-computacional | cab2d52da63b765b0cef1f59b06bb60aa8d7e174 | 896365f0b2a0e79ad201b1e15ba251d47ea5f94a | refs/heads/master | 2020-07-01T23:43:35.514954 | 2019-08-08T22:52:25 | 2019-08-08T22:52:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | atv2.sce | clear;clc
maior = 0;menor = 0;escolha = 1;
while(escolha == 1)
printf("Sua idade: \n")
idade = input("")
if(idade < 18)
menor = menor + 1
else
maior = maior + 1
end
escolha = input(" Continuar?[1 - Sim /2 - Não]")
end
printf("menor = %g e maior= %g", menor, maior)
pri... |
f52f3d3de815fe56882bf43c2f1a2879848ab0f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH9/EX9.11/Ex9_11.sce | 7e7b118e11bae86f77d7d237e73b774ebc13f17b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 859 | sce | Ex9_11.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 9 : Sinusoids and Phasors
// Example 9 - 11
clear; clc; close;
//
// Given data
L = 5.0000;
C = 0.0100;
w = 4.0000... |
d5fd5e7e6d841deb41290cc915cc1f22fe876b53 | de14a6897d4397228a52bacb8905b8807370ef4b | /tapis_sierpinski_iteratif.sce | d0379884679caba524c7e9bab40d66cea74fd621 | [] | 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 | 1,016 | sce | tapis_sierpinski_iteratif.sce | T1=[1/3 0;0 1/3];
T2=[1/3;0];
T3=[0;1/3];
function Y=f1(X)
Y=T1*X; endfunction
function Y=f2(X)
Y=T1*X+T2; endfunction
function Y=f3(X)
Y=T1*X+2*T2; endfunction
function Y=f4(X)
Y=T1*X+T3; endfunction
function Y=f5(X)
Y=T1*X+2*T2+T3; endfunction
function Y=f6(X)
Y=T1*X+2*T3; endfunction
funct... |
1d600401d4b1f71ae90c0c51457d82cf71c0a6ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH1/EX1.1/Ex1_1.sce | ece05ff5944b32b47a5b987432c77c97189010d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sce | Ex1_1.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 1 : Basic Concepts
// Example 1 - 1
clear; clc; close;
//
// Given data
C = 4600;
Q = -1.6020 * 10^(-19);
/... |
b03f15025a7c53e8b4d338389a40b2eb0585777c | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Texrenewcmd.sci | b8926589d0659d4ace5e581f17aad9e444b734e1 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sci | Texrenewcmd.sci | // 10.01.21
function Texrenewcmd(varargin)
Nargs=length(varargin);
Str=varargin(1);
S='\renewcommand{'+Str+'}';
if Nargs>1
Tmp=string(varargin(2));
S=S+'['+Tmp+']';
end;
if Nargs>2
Tmp=varargin(3);
if type(Tmp)==1
Tmp=string(Tmp);
end;
S=S+'['+Tmp+']';
end;
S=S+'{';
Texc... |
245791b4d4d5c8ee9220f628f1d62139a63caafa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH8/EX8.8/Ex8_8.sce | a46d192e00b900a482841d117d4b89f796998cee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_8.sce |
clc
T0 = 300 // Atmospheric temperature in K
Tg1_ = 300 // Higher temperature of combustion product in degree Celcius
Tg2_ = 200 // Lower temperature of combustion product in degree Celcius
Ta1 = 40 // Initial air temperature in K
cpg = 1.09 // Specific heat capacity of combustion gas in kJ/kgK
cpa = 1.005// Specific ... |
4b83d41ba0a9ba76c45ca0bf627904f09dc72e9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH7/EX7.8/Ex7_8.sce | c91f80a9f2f00b02cee10efed97150d45bbc4494 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_8.sce | //Ex 7.8
clc;clear;close;
format('v',6);
C=680;//pF
f=50;//kHz(Square wave frequency)
D=75/100;//duty cycle
T=1/f*1000;//micro seconds
tHIGH=D*T;//micro seconds
tLOW=T-tHIGH;//micro seconds
RB=(tLOW*10^-6)/(0.69*C*10^-12);//ohm
RA=(tHIGH*10^-6)/(0.695*C*10^-12)-RB;//ohm
disp(RA/1000,"Value of RA(kohm)");
di... |
7400c642002204d793850f4fc4faba19c3d63c61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH9/EX9.8/Ex9_8.sce | 624a6f50e790dab04252ad759dca75e2d8ca64cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | Ex9_8.sce |
// Example 9.8
I1=10+%i*0; // Current i1=14.14 sin(wt) A
I2=10+%i*17.32; // Current i2=28.28 sin(wt+60) A
I=I1+I2; // Summation of 2 Current
disp(' Summation of 2 Current is = '+string(I)+' Amp or 37.42<40.9 ');
// I= 20+i17.32 i.e I= 3... |
4020e7ea69aadfde724bb9a9f834550c388bd805 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH11/EX11.9/11Ex9.sce | 2e36ed5e1ea525c1fec76f4efc9a92fd444467b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | 11Ex9.sce | //Ex 9
clc;
clear;
close;
cp_33=33;cp_22=22; //let cp of each meter be Rs.1
sp_22=cp_33; //given
gain=11;
gainPercent=(gain/cp_22)*100;
mprintf("The profit percent is %d percent",gainPercent);
|
53a20d7d0668894c7ce63a05a34b18de5fd3c758 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3788/CH2/EX2.6.1/Ex2_6_1.sce | f90ae3efcb9f5f4017784d0d0cb329b24352d6c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | Ex2_6_1.sce | //Example 2.6.1
//Doppler Shift for A leo Satellite
//Part1 Velocity of Satellite in Orbit
//Variables
re=6378 //radius of earth in km
h=1000 //altitude in km
a=re+h
u=(3.986004418*10^5)
//Calculation
//Part1 Velocity of Satellite in Orbit
T=sqrt((4*(%pi^2)*(a^3)/u))
... |
88aecac60956905ac4589f3de567c7be8bd28047 | efa427de3490f3bb884d8ac0a7d78829ec7990f9 | /greater-of-2-numbers.sce | f1c2b741166673e401f1fb5cc53895c794a3403c | [] | no_license | letyrobueno/Scilab | a47648473aa681556561d5cea20659d143e4f492 | 2f23623dccea89a3ab2db12ec1f615186f785aa4 | refs/heads/master | 2020-09-01T19:00:30.804237 | 2019-11-01T17:45:22 | 2019-11-01T17:45:22 | 219,031,973 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | greater-of-2-numbers.sce | number1 = input("Give a number: ")
number2 = input("Give another number: ")
// Return the greater of two numbers
if number1>number2
printf("The number %g is greater.", number1)
else printf("The number %g is greater.", number2)
end
|
4e87fda6089a9f7c9ec533c70e3918bd5048ac4b | 27be2dd7284eb8d71ea19e6b077993d7ff6afd16 | /fourier_example.sci | bdfb1e0fc81902181c99c5779c0d671fcd8cdd75 | [] | no_license | mtxslv/numericalcomputation | 3b0ec7d1183c03c91c145de0fb1db9fff0a75e61 | 15ce639e5e370fb21fb1ce9878004270ee814e73 | refs/heads/master | 2020-03-26T06:10:14.116677 | 2019-11-14T11:41:38 | 2019-11-14T11:41:38 | 144,592,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | sci | fourier_example.sci | // Fourier Series Personal Project
// Code by mtxslv
// In the book "Numerical Analysis", by Burden&Faires, chapter 8,
// The Fourier Series are introduced using the Least Squares approach.
// One of the examples given is to approximate the function f(x) = |x|.
// Now let's see if the derived result using code.
funct... |
43626aa23dea7f9d3430f6e71c20be4ff2047598 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.20_3.tst | ab60c347d2b9a0922b3fc9fe8d8e5f7cf92fa375 | [] | 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 | 511,528 | tst | 5.20_3.tst | 20 26:1 291:1 1150:1 1292:1 1309:1 1436:1 1489:1 1843:1 2036:1 2164:1 2180:1 2407:1 2651:1 3027:1 3921:1 4633:1 4989:2 5094:1 5143:1 5266:1 5376:2 5436:1 5500:2 5712:1 6349:2 6513:1 6536:1 6647:1 6849:1 7593:1 7903:1 7931:1 7940:1 7987:1 8130:1 8434:1 8513:1 8649:1 8688:1 8817:1 9083:1 9135:1 9165:1 9191:1 9273:1 9310:... |
386ba30160b9de0722c7c4b4308817ce4e00db44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH11/EX11.7/example_11_7.sce | 3c98e56e0196dc755299c572c4ed07255fb0f1db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,652 | sce | example_11_7.sce | //Chapter 11
//Example 11.7
//page 423
//To find short circuit currents
clc;clear;
v_pf=1; //prefault voltage
a=0.5+0.8660254*%i;
//according to the fig.11.28 we can write Z-bus matrix for positive and negative phase sequence
printf('\nstep by step for finding Z1_bus\n')
//Bus1 to referance bus
Z1_bus=[0.15];
printf(... |
cef42048e9b78351915dc0ab1c707e1e0b81e2e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH7/EX7.8/7_8.sce | 235af8e82e2e1738c4e1c45df39caf964b1733b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,709 | sce | 7_8.sce | clear;
clc;
printf("\t\t\tExample Number 7.8\n\n\n");
// heat transfer across vertical air gap
// Example 7.8 (page no.-345)
// solution
L = 0.5;// [m] side length vertical square plate
d = 0.015;// [m] distance between plates
p = 101325;// [Pa] pressure of air
R = 287;// [] universal gas constant
T1 = 100... |
ef2d39e6f7917c761d09746f4ee2480d21d53358 | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH6/EX6.4/6_4.txt | 25a6a8b3310e8ee5de2ec604de2935bda288e126 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,195 | txt | 6_4.txt | //Caption:Find the (a) motor speed (b) power loss in external resistance (c) efficiency
//Exa:6.4
clc;
clear;
close;
V=120
N_mfL=2400;//full load speed of motor
R_a=0.4;//armature resistance (in ohms)
R_sh=160;//shunt field winding resistance
I_fL=14.75;//current drawn at full load (in Amperes)
I_nL=2;//curr... |
86934735948aa8d953b16966d6e5f59832ccbe8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH17/EX17.7/17_7.sce | 21ee94ce1ccb3cc813d839e3117850d9eca86a33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | 17_7.sce | clc;
//page no 631
//prob no. 17.7
//A signal with level of 20dBm & insertion loss=1dB & coupling =20dB,directivity=40dB
sig_in=20;loss=1;couple=20;direct=40;
//Determination of signal level in main guide
sig_level_main=sig_in-loss;
disp('dBm',sig_level_main,'The signal level in main guide is');
//Determination... |
743b89147f3cf8bd994d3d5118d88285dca56112 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH3/EX3.2/ex_3_2.sce | 296724f0898766a9741636e165c7849bd4436a9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | ex_3_2.sce | //Example 3.2 // voltage
clc;
clear;
close;
//given data :
R1=0.5; // minimum value of resistance in ohm
R2=20; // maximum value of resistance in ohm
I=1.2; // current in A
V1=I*R1;
V2=I*R2;
disp(V1,"voltage drop in Ist case,V1(V) = ")
disp(V2,"voltage drop in IInd case,V2(V) = ")
|
a3453a0f7a7f3574a78af5504b748b760c7a9505 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH14/EX14.7/Ex14_7.sce | cbc051eab1734a69ec4f180e0cd4d750c6d2c8fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | Ex14_7.sce | //chapter 14
//example 14.7
//page 302
Ao_db=70 // db
Av_db=67 // db
Rout=1.5 // kilo ohm
// since 20*log(Ao)-20*log(Av)=Ao_db-Av_db we get
// 20*log(Ao/Av) = Ao_db-Av_db so
// Ao/Av = 10^((Ao_db-Av_db)/20)
// and also Ao/Av=1+Rout/Rl since Av/Ao=Rl/(Rl+Rout)
// so making Rl as subject we get
Rl=Rout/... |
4c989e30cedaaa72a034cbdc464971321cd1621f | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2hp/test_4.sce | 3be3880135ac323818a49c29553acf847f40d7da | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | test_4.sce | // Test # 4 : Input Argument #1 is of complex type
exec('./allpasslp2hp.sci',-1);
[n,d]=allpasslp2hp(%i,0.3);
//!--error 10000
//Wo must be real ,numeric and scalar
//at line 37 of function allpasslp2hp called by :
//[n,d]= allpasslp2hp(%i,0.3)
|
e2ce20ada1d0b010cee9837fba4e5d30990d873d | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH43/EX43.05/43_05.sce | f02e3b25e576441b54782324c0f0a1e9e6e60300 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 591 | sce | 43_05.sce | //Problem 43.05: Two coils connected in series have self inductance of 40 mH and 10 mH respectively. The total inductance of the circuit is found to be 60 mH. Determine (a) the mutual inductance between the two coils, and (b) the coefficient of coupling.
//initializing the variables:
La = 40E-3; // in Henry
Lb = 1... |
c0d65cef650c9d896e0fed4d87e0b0b957017838 | 10b625bb4f968cf83298dd40b285b6f15ab4354f | /MP2_Valaquio/Valaquio_MP2.sce | bbc18dc565173017384e64dc54a0461765def3db | [] | no_license | edvalaquio/SciLabProjects | 885b1493b1368bbdccd671a58fba6ead6da9bca1 | aa8efd42ca65d4779376e2ccaf132fd75713fe7f | refs/heads/master | 2021-09-14T20:03:14.736024 | 2018-05-18T10:42:59 | 2018-05-18T10:42:59 | 131,813,353 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,278 | sce | Valaquio_MP2.sce | curDir = get_absolute_file_path('Valaquio_MP2.sce')
getd(curDir + '/functions')
//============================= Number 1
function item = number1()
num = [100.0 154.2349 -12.32157 -(2/3)]
for i = 1:1:size(num, 2)
disp('==========================');
printf("Input: %f\n\n", num(i))
printf("Double Precision: \n")... |
455b42fcdbb3d373dc3d8969286e814a6d36327c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH6/EX6.32/Exa_6_32.sce | 07205277016dd15ac8501999c5458be5927b97eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | Exa_6_32.sce | //Exa 6.32
clc;
clear;
close;
format('v',7);
//Given Data :
p1=1.5;//MPa
p1=p1*10^6/10^5;//bar
p_gauge=7;//bar
p_at=1;//bar
p2=p_gauge+p_at;//bar
p3=1;//bar
Tsup3=110;//degree C
mw=3.5;//Kg
ms=48;//Kg
Cp=2.1;//KJ/KgK
x1=ms/(ms+mw);//dryness
hf2=720.9;//KJ/Kg(from steam table)
hfg2=2059.3;//KJ/Kg(fro... |
cd5c7ca3392b31dd6de619b967d8515c1da494b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH1/EX1.1/ex1_1.sce | e0761bab35d58101cd7868300dc19252ed7d5faa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | ex1_1.sce | // Example 1.1, page no-53
clear
clc
c=-40
k=c+273
printf("\nK=%d°K", k)
F=((9/5)*c)+32
printf("\nF=%d°F",F)
R=((9/5)*c)+492
printf("\nR=%d°R",R)
|
9ba93492738d5fbd9de9a14db535d848b055affd | e3cbbc5e7d85ad8e75f34314755eeb32e59f221f | /TEST/tmplt.tst | fe7ce64cc21b58636cde4f8e4b3450db74ccfc96 | [
"Apache-2.0"
] | permissive | ihgazni2/neggen | 25f624b8008728e8f60140559770b4c8bec56a62 | 9bb88606cc8c7a470b1023a5dcad2c9929cd8dfc | refs/heads/master | 2021-06-13T08:11:24.919179 | 2021-04-02T14:10:14 | 2021-04-02T14:10:14 | 166,251,568 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,154 | tst | tmplt.tst | var tem3x3 = require("./tem3x3")
var gaia = require("./gaia")
var layouts = gaia.getAll3X3Layouts()
var nlayouts = gaia.rmDuplicated(layouts)
var tem3x3 = require("./tem3x3")
var clslmat = require("./lmat")
var clsz = require("./z")
lmat = new clslmat.Lmat()
lmat.initLayOutMat()
gaia.setZ3X3BG(lmat)
//
var gaia ... |
4c07c375b9a22dfdc42e9b1c8e40b7c174ebc076 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.19/ex2_19.sce | 50f95bfbb8dc10ba90bc2849af43f51fee9c1d10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | ex2_19.sce | V1=42.43+%i*0; //Defining voltage equations in rectangular form
V2=14.14+%i*24.49;
Va=V1+V2;
[Ro,Theta]=polar(Va);
Vm=Ro*sqrt(2);
disp("Volts",Vm,"Maximum value of voltage considering addition of voltages")
function y=f(t), y=Ro*sin(t+Theta),endfunction //Defining voltage equation
Vb=V1-V2;
[R... |
fc87a94f08953e83cd6446640c9d58ac026ad60f | a575467214db466362975211fa96cca424e6955f | /Format/test42.sce | 64478fb6840779c39b5c637b7505d6cf9b563b0f | [] | no_license | Youssef-AEM/XBorne-2017 | e41051e63a2efecfbfc400c20c6e2fde283cb4e6 | 18e51ac7ae42a98b2e2760cea0ff43400cc74f05 | refs/heads/main | 2023-06-05T10:17:18.190354 | 2021-06-29T17:18:01 | 2021-06-29T17:18:01 | 381,379,470 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 73 | sce | test42.sce | test42 =[
0.95 0.02 0.02
0.04 0.93 0.02
0.04 0.05 0.91
]
|
1a2423e653f0627c0ee3d556f9013f0fe84183a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH34/EX34.2/Ex34_2.sce | 29b4c555b306d89dcf71b97d7baa793779021057 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | Ex34_2.sce |
//To calculate the Time Period
//Example 34.2
clear;
clc;
m=10*10^-6;//Mass of the particle in kg
q=100*10^-6;//Charge of the particle in Coloumbs
B=25*10^-3;//Magnetic Field Strength in Tesla
T=2*%pi*m/(q*B);//Time Period in seconds
printf("Time Period of the charge = %d seconds",T);
|
fa88fbb59a4c44056c0ca737cd19b81ccb8862a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH11/EX11.39/example39.sce | 44183f7bdbfb73f3370d9d6a9b86286adc244e5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | example39.sce | //Chapter-11 example 39
//=============================================================================
clc;
clear;
//Given data
lamda = 0.06; // wavelength in m
Vr = 100 ; // Radial velocity of target in kmph
//Calculations
Vr1 = Vr*(5/18); //Radial vel. in m/s
fd = (2*V... |
39cb667f15355c2fa4746935f7209f72f3f5bccb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH6/EX6.4/6_4.sce | d1c3328465d2fa567fe9bcad3968aba9d99ae89e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | 6_4.sce | clc
//Initialization of variables
disp("From steam tables,")
T1=355.21 //F
T2=500 //F
hg=1193.4 //Btu/lbm
h=1274.8 //Btu/lbm
//calculations
Qrev=h-hg
//results
printf("Heat transferred = %.1f Btu/lbm",Qrev)
|
6f2f8927e5f5a2d7b5028305f4d631054dcb9f01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH11/EX11.10/11_10.sce | 87fff8ff533111f73a9cb05d6ae80cdf70a349b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,166 | sce | 11_10.sce | clc
//ex11.10
t=[0:0.000001:0.002];
V_i=3*cos(2000*%pi*t)-2*cos(6000*%pi*t);
//for A
A_1000_A_peak=10;
A_1000_A_phi=0;
A_3000_A_peak=10;
A_3000_A_phi=0;
V_o_A=A_1000_A_peak*3*cos(2000*%pi*t+A_1000_A_phi)-A_3000_A_peak*2*cos(6000*%pi*t+A_3000_A_phi);
//for B
A_1000_B_peak=10;
A_1000_B_phi=-%pi/4;
A_3000_B_p... |
9381182868b4dd579d590140f52900eb9199d32b | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH2/EX2.50/ex50.sce | f081c6e0ae447c4ad160626d1cf04fd213207d63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | ex50.sce | clear
clc
disp("3*x^2+5*y^2+3*z^2-2*y*z+2*z*x-2*x*y")
disp("The matrix of the given quadratic form is ")
A=[3 -1 1;-1 5 -1;1 -1 3]
disp("let R represents the matrix of transformation and P represents a diagonal matrix whose values are the eigen values of A.then ")
[R P]=spec(A)
disp("so,canonical form is 2*x^2+3... |
64814cf790580f2dc4254e39d50e6a274b094fe4 | 5565424cd712fe856334cee55c5f86c2fa58aa74 | /ultimo/ortogonal.sce | 921c0e52ac42d9d8ab87cfad30817c4c160bfe7d | [] | no_license | DericsonPablo/CalculoNumerico | 2402d6408704267f889eb999d49a0acbfa27500a | 8b2ea2bc9a98257c87046d80162a9dc2c4adf22a | refs/heads/master | 2020-07-31T05:16:48.105210 | 2019-09-24T02:46:12 | 2019-09-24T02:46:12 | 210,496,853 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 858 | sce | ortogonal.sce |
function [y]=integ(P,a,b)
for (i=1:length(P))
y(i) = P(i)/ (length(P) - i + 1);
end
y = [y;0];
endfunction
function [y]=avalia(P,x)
y = 0;
for (i=1:length(P))
y = y + P(i) * x^(length(P)-i);
end
endfunction
function y=ortogonal(a,b,n,x)
auxA = [1];
auxB = [1; ... |
bc6c903e8c126212b69b85f01c969cbfe666651b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH3/EX3.20/3_20.sce | 3b8a09044678a00003ca9bc98ac12596469a49cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | 3_20.sce | //Network Theorem 2
//pg no 3.23
//example 3.20
disp("removing the 30 Ohm resistor from the network");
disp("Applying KVL to supermesh ");
disp("-I1+I2=13");....//equation 1
disp("15*I1+100*I2=150");....//equation 2
//Calculation of Vth (Thevenin's voltage)
a=3;
v=(40*a)-50;
printf("\nWriting Vth equation, \n... |
30bd42d388fd22452a729339111f72d085812786 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH7/EX7.1/Ex7_1.sce | 8926e95c5917aac02e434d92f88b623e386cbac3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_1.sce | //Ex:7.1
clc;
clear;
close;
I_i=4;
V_o=2;
V_i=50*10^-3;
I_o=200;
A_v=V_o/V_i;
A_i=I_o/I_i;
printf(" Volt gain = %f ",A_v);
printf("\n Current gain = %f ",A_i);
printf("\n Power gain = %f ",A_i*A_v);
|
816bee197bb37fbc81b652f0c5bb92c73e68caf1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH5/EX5.1.e/5_01_example.sci | e3fbbcc7bd9278c4e5abdc30d6a1d1921729b399 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sci | 5_01_example.sci | //Example 5-1 Water Flow through a Garden Hose Nozzle
V = 10 //volume of bucket [gal]
d_hose = 2 //inner diameter of hose [cm]
d_e = 0.8 //diameter of nozzle at exit [cm]
dt = 50 //time required to fill the bucket [s]
rho = 1 //density of water in [kg/L]
|
1d8e5a0d71c41c78c44454dcc63f137f1a9bcbfd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH18/EX18.1w/18_1w.sce | 87533fc106d5d9e10a62bc36bc4ebdd0c81660f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | 18_1w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 18.1w
//calculation of position and nature of the image of an object placed at a distance from a concave mirror
//given data
u=-8; //object distance(in cm)
f=-10; //focal length of the concave mirror(in cm)
//calcu... |
89e09365afda52714992c2ac33a69f56f1030f38 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rcosdesign/rcosdesign9.sce | 165fa9b8c0e22058af9ace9e7d76c8f2c9146f40 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | rcosdesign9.sce | //check o/p when i/p arg beta is greater than 1
beta=0.3;
span=-6;
sps=4;
h=rcosdesign(beta,span,sps);
//output
//!--error 10000
//Input should be positive
//at line 43 of function checkIpValidity called by :
//at line 30 of function rcosdesign called by :
//h=rcosdesign(beta,span,sps);
|
f034d7b052c283b57b58c690f6af0e4d170fc866 | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 8/Q1.sce | cec1d6bfa03ead13ca885b601bcb587606fe55d7 | [
"MIT"
] | permissive | ipsitmantri/EE-324-Control-Systems-Lab | 4e37a3de51f4114ba0ea281cbb1da78a6c4815bb | b34c45efc3539005603b2e76c1665d6636f80f88 | refs/heads/master | 2023-04-03T10:42:34.548542 | 2021-04-13T14:11:21 | 2021-04-13T14:11:21 | 357,540,595 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,021 | sce | Q1.sce | clc; clear;
s = poly(0, 's');
g = 1 / (s * (s^2 + 4*s + 8));
// ----------------------------
// Part a
K = 0:0.01:100;
k_req = 0;
gms = [];
pms = [];
for i=1:size(K, 2)
k = K(i);
tf = 1 + k * g;
T = syslin('c', tf);
gm = g_margin(T);
pm = p_margin(T);
gms = [gms, gm];
pms = [pms, pm];
if... |
9730a3eabe52f208f88e0efb337988df7d679d76 | 0ac0859e4c8da6caa91f69db3b5ad2c3fa3c3366 | /chap1/Mux4Way16.light.tst | bedb82e73ead95f0b29321d5cf4cef7d8ab9a5b4 | [] | no_license | khml/my-nand2tetris | 039df37dd534030320d173c067e9d048b3f79791 | 44ceffdb12bb566975f4588637d8f45284894b8c | refs/heads/master | 2022-11-15T16:20:41.131328 | 2020-06-29T22:11:51 | 2020-06-29T22:11:51 | 271,981,518 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | tst | Mux4Way16.light.tst | load Mux4Way16.hdl, output-file Mux4Way16.out, output-list a%B1.16.1 b%B1.16.1 c%B1.16.1 d%B1.16.1 sel%B1.2.1 out%B1.16.1;
set a %B1000000000000000, set b %B0100000000000000, set c %B0000000000000010, set d %B0000000000000001, set sel %B00, eval, output;
set a %B1000000000000000, set b %B0100000000000000, set c %B00000... |
53f6286a35ebda14ddc2ba2baf9796390f5b5814 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH4/EX4.4/Example4_4.sce | 9df27c2bfddc2f26a973b8cf9a1ad892564fdf69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | Example4_4.sce | // Example 4.4
clear; clc; close;
format('v',7);
// Given data
ke=0.12;//in Nm/A
V=48;//in volt
Rph=0.15;//in Ω
Vdd=2;//in volt
//Calculations
omega_mo=V/ke//in radian/sec
No=omega_mo*60/(2*%pi)//in rpm
disp(No,"No load speed in rpm = ");
Ist=(V-Vdd)/(2*Rph);//in Ampere
Tst=ke*Ist; // in N-m
disp... |
0b4bc01be3ebc4f62876d57ec6163063003fab4a | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Turkic/uig.tst | 887004085ac77b06e3511d925444a65e46b97e84 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 42,936 | tst | uig.tst | agahlandurmaq V;SG;3;PST
agahlandurmaq V;PROG;PL;1;PRS
agahlandurmaq V;PRF;PL;3;NEG;PST
agahlandurmaq V;FRML;SG;2;PST
agahlandurmaq V;PROG;SG;2;INFM;PST
agahlandurmaq V;IPFV;PL;3;PRS
agahlandurmaq V;IPFV;SG;3;PST
agahlandurmaq V;INTEN;SG;3;PST
agahlandurmaq V;IPFV;PL;2;PRS
agahlandurmaq V;INTEN;SG;3;PRS
agahlandurmaq V... |
893ac5e49e4e7042d270c0993af8688663144375 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH6/EX6.9/6_9.sce | 72d87f1ed2611d945ef0c0e49ce294a74e158cbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_9.sce | function [x,y]=polar_to_cart(r,theta)
theta=theta/180*%pi
x=r*cos(theta)
y=r*sin(theta)
endfunction
Vl=400
[Ir,Ic]=polar_to_cart(20,-30)
Iab=complex(Ir,Ic)
omega=exp(%i*120/180*%pi)
Ibc=Iab/omega
Ica=Iab*omega
IAa=Iab-Ica
Pab=Vl*norm(Iab)*cos(30/180*%pi)
Ptotal=3*Pab
Zp=Vl/Iab
Rp=real... |
a1aaf55be27aa6b6ccc84e619fa96b6c20469722 | b513eb49824ff62ddd2289a920c92cfcb362d5f2 | /magister/course_1/litvinov/lab_3/latex/data.sce | b749b413458d816b5c497ec91eacb50cd29dc02b | [] | no_license | kirillin/ifmo | 6264ac42ec2031777145b39d4930f2f645e1d316 | 633919ba09d43814298c3a2145d5d6f72b5b068e | refs/heads/master | 2021-01-12T09:32:27.270130 | 2018-11-18T12:17:46 | 2018-11-18T12:17:46 | 76,181,268 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | data.sce | T = 0.25;
y12 = 2 * sin(2 * T);
y22 = 3 * cos(5 * T);
k12 = 2 * cos(2 * T);
k22 = 2 * cos(5*T);
|
6bff045b3464051782eb5047a6f5bf72af30fb53 | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/CascadeObjectDetector.sci | 6f6335cb0269c4af3a57918231c6580c59e0ce31 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 4,186 | sci | CascadeObjectDetector.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
12c36d3cb4431808b6cc02eaf4a8a7945bffbb1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH6/EX6.9/6_9.sce | 1c96b64aece1e59fab48864e67e5a538adb40c25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | 6_9.sce | clc;
cp_CO=29.27;//kJ/kmol K
cp_H=28.89;//kJ/kmol K
cp_CH4=35.80;//kJ/kmol K
cp_CO2=37.22;//kJ/kmol K
cp_N=29.14;//kJ/kmol K
niCO=0.29;
niH=0.12;
niCH4=0.03;
niCO2=0.04;
niN=0.52;
cp_=cp_CO*niCO+cp_H*niH+cp_CH4*niCH4+cp_CO2*niCO2+cp_N*niN;
R_=8.3145;
cv_=cp_-R_;
m_CO=28;
m_H=2;
m_CH4=16;
m_CO2=... |
1898895a47cc9cd7c0a214392cac2d55db707f88 | 129a8f0ac630e32874414b6752b4a511b24d78de | /scripts_bkp_original/tst/tst2/remoto_3.tst | be064d36b454d068f9b19bc55d9c839fef0d7b81 | [] | no_license | mariomartinezjr/Scripts_dba | be63af1f579ed261e58336a6e3366822f2683c08 | 3f5707a6220ee600b87aa59467092bea4f61eb2c | refs/heads/master | 2021-07-07T09:04:38.230382 | 2017-09-30T02:57:08 | 2017-09-30T02:57:08 | 105,334,010 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,098 | tst | remoto_3.tst | 123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789012345678901234567890
12345678901234... |
f8022160ce6b5a074dfc595d5c981b2f0e5e04f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH17/EX17.2/Chapter17_example2.sce | d1e1bc8591c27eb5c58451dbed055e471166958c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter17_example2.sce | clc
clear
//Input data
wf=1.9//Workfunction of the material in eV
w=3000//Wavelength of the light in Angstrom units
v=(3*10^8)//Velocity of light in m/s
c=(1.6*10^-19)//Charge of the electron in coloumbs
h=6.626*10^-34//Plancks constant in Js
//Calculations
V=(1/c)*(((h*v)/(w*10^-10))-(wf*c))//Stopping poten... |
7addc8f834c1295b1bd1876ee767533f5f0ce4ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH7/EX7.4/Ex7_4.sce | dbccb8b377b60c05ea5b69c68d494209f8e1e43b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | Ex7_4.sce |
clear//
//
//Variable Declaration
w=60 //Continous Load in lb/ft
L1=3 //Length in ft
L2=9 //Length in ft
//Calculations
//After carrying out the variable computations we get
A=([[1,1,0,0;(L1+L2),0,1,1;0.5*(L1+L2)**2,0,-(L1+L2),0;6**-1*(L1+L2)**3,0,-0.5*(L1+L2)**2,0]])
B=([w*L2;w*L2*0.5*L2;L2**3*10;L2**4*2... |
506cd7642cc8ef6a422da611808d290335fcde67 | 358500bb97c17245f609c658ce3c029bf6f82c70 | /parcial-1/punto1.sce | ccb3c893653171fbe9ae21b67b38c7c6c3e8888b | [] | no_license | wilson911013/information-theory-UNAL | 4a3bf7ce1804ec6bfba261bb7e661895e1fe81d4 | 2d22817275f7b58dab0daa660725afde42da939e | refs/heads/master | 2021-08-26T09:45:25.005995 | 2017-11-23T04:24:36 | 2017-11-23T04:24:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,624 | sce | punto1.sce | clear
clc
c = 0
function [tf, tf2]=haar(fx)
n = size(fx, "*")
if modulo(n, 2) == 1 then
n = n - 1 //Ignore last element
end
tn = n / 2
tf = zeros(1, tn)
tf2 = zeros(1, tn)
i = 1
j = 1
while( i < n )
tf(j) = sqrt(2)*(fx(i) + fx(i + 1)) / 2
tf2(j) = ... |
262dcab3d12f3163d17fffb562c54ac2e315d513 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH1/EX1.3.1/Ch1Exa1_3_1.sci | e8390dbd984a3321687fc504ed5ef89b43225940 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 558 | sci | Ch1Exa1_3_1.sci | // Scilab code Exa1.3.1 Momentum determination for a neutron using de-Broglie relation : Page 31 (2011)
h = 6.626e-034; // Planck's constant, Js
e = 1.602e-019; // Charge on an electron, C
red_h = h/(2*%pi*e*1e+06); // Reduced Planck's constant, MeV
lambda = 5.0e-015; // de_Broglie wavelength of neutron... |
86a9f976ac496e3e1a99ecf0d9012bfcd42f48df | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH1/EX1.2/ex1_2.sce | b8d320a215487eb9776b5d8739f6ce66ab683b55 | [] | 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 | 210 | sce | ex1_2.sce | errcatch(-1,"stop");mode(2);// Example 1.2, page no-8
r=1.25*10^-3 //m
L=3 //m
F=4900 //Newton
e=2.05*10^11 //Pa
s=F/(%pi*r^2*e)
printf("strain = %.3f\nTherefore, extension = %.3f",s,s*3)
exit();
|
9ab8a04bec40c8ea9adc461155fc4ba834234e1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH6/EX6.16/6_16.sce | 9c95a708fd277633badd7f2b28878791b18a2a70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | 6_16.sce | //Chapter 6, Problem 16
clc
//transistor Y parameter
yi=(16+%i*11.78)*10^-3 //in complex form
yf_mag=45e-3
yf_ang=285
yr_mag=1.55e-3
yr_ang=258
yo=0.19+%i*5.97 //in complex form
gi=16e-3 //input conductance in siemens
go=0.19e-3 ... |
63a83032c4d151156fe66fc2f033aa056c18937e | d8b00ba08203d369b2c5f550547a8bec3b784a8f | /sol_mylu.sci | 4473767800cc4564700f776e503ba0f4fa6b4fa4 | [] | no_license | braisalemaghiles/TP-Calcul-Numerique | 8f75a0af2b82fb8e4b586d19320da406128e7611 | 260fed32749d444756d6cd32f873d5238d95851f | refs/heads/main | 2023-01-31T13:19:03.073956 | 2020-12-17T13:22:58 | 2020-12-17T13:22:58 | 314,294,362 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 97 | sci | sol_mylu.sci | function[x]= mylu_sol(L,U,P,b)
bb=P*b;
y = lsolve(L,bb);
x= uslove(U,y);
endfunction
|
0e72d9892324d30d968b1f5aa39e3e3d4bc79365 | 1a679c5bea6f6f3d080ec52122a5c04f941f8e67 | /binary.sce | 41fc367ef9f90542c386e028df88b8d7c96e8732 | [] | no_license | Malay1998/Image-Processing-with-Scilab | c34c35d76d2db50f41c9b95b239a0f5e6d203a80 | 4ab83c92212d4fdbb9cb6f75ce06cfced34d0c7c | refs/heads/main | 2023-06-04T04:06:35.361106 | 2021-06-26T22:00:38 | 2021-06-26T22:00:38 | 380,540,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | binary.sce | a=imread('milkeway.jpg');
b=double(a);
[m,n]=size(b);
T=100;
for i=1:m
for j=1:n
if (b(i,j)<T)
c(i,j)=0;
else
c(i,j)=255;
end
end
end
imshow(c);
|
631bad3344f6b4755697e6b8ec4e2baad2bde043 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH11/EX11.1/Ex11_1.sce | b4678572676342ef75837861f06c7fa5285427e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | Ex11_1.sce | clc
v = 15000 // vertical magnification
h = 100 // horizontal magnification
l = 0.8 // sampling length in mm
a1 = 160 // area above datum line in mm^2
a2 = 90 // area above datum line in mm^2
a3 = 180 // area above datum line in mm^2
a4 = 50 // area above datum line in mm^2
a5 = 95 // area below datum line in m... |
ea8f2953d973b10e4d9370686a745b44232bdfb6 | f98e6eb45cba97e51f3e190748f75d277fc4c38d | /Lab/Gauss_elim.sce | 1165acc401b4bd50278d1a5e0d8e7b05961e8bd3 | [] | no_license | sctpimming/SC422401 | 68359adab92095e4c60121ff17ac43efc9c46fb4 | 5c43c58c9bf0e923b640c115b4ef618ad72d15a6 | refs/heads/master | 2020-11-25T18:37:53.377582 | 2020-02-26T07:56:39 | 2020-02-26T07:56:39 | 228,796,306 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,727 | sce | Gauss_elim.sce | global A b U
A = [
2 -1 4 -7
0 3 -1 1
-1 2 0 -5
1 0 -5 2
]
b = [
1
-2
0
4
]
U = [A, b] //augmented matrix
function [] = row_multiply(row, k)
global U
U(row, :) = U(row, :) * k
endfunction
function [] = row_swap(row1, row2)
gl... |
20b312b54c142688f1c560a2194d709fb13473fb | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /MetodeNumerik/iterasijacobi.sci | 88dbe56cc88841652af686fa439351e76f3b5f19 | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | sci | iterasijacobi.sci | function ijacobi(A,b,xo,tol)
M=[A b];
[m,n]=size(M);
x(1)=0;i=1;
g=1;
//Inisialisasi Nilai Galat
galat=%T;
jum=0;
while galat==%T
for k=1:n-1
jum=0;
for j=1:n-1
if k~=j then
jum=jum+A(k,j)*xo(j);
end... |
433e09d51338d0599906866862e5cde55395c11f | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH4/EX4.24/ex4_24.sce | d437ca84524ce9dbd82801fc24564553fdbdd91f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | ex4_24.sce | clc
wi=1000 //Assigning values to parameters
kva=50
e1=2200
ifl=kva*1000/e1
x=1
pf=0.8
wcf=(ifl/20)*(ifl/20)*500
n1=x*kva*pf*100/((x*kva*pf)+(wi*0.001)+(x*x*wcf*0.001))
x=sqrt(wi/wcf)
n2=x*kva*pf*100/((x*kva*pf)+(2*wi*0.001))
disp(n1,"Efficiency at full node 0.8pf is")
disp(n2,"Maximum Effice... |
713e81e1de1cd8334a6c2be4f6f60d1010d812a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH14/EX14.7/14_7.sce | a7b24f141bbb3312eae40a9a909e706e9358cd89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | 14_7.sce | clc
//initialisation of variables
HR=14087 //Btu
HRC=3952 //Btu
x1=0.9
x2=0.05
//Calculations
HR1=x1*HR
HR2=x2*HRC
e=(HR2+HR1)/HR
//Results
printf ('Efficiency = %.3f',e)
|
7a1b42f085425e37c6aa47703d5bfd644870a64b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH10/EX10.7/Ex10_7.sce | d8bb99a9854d2876a007b8e2d5130a295d322076 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_7.sce | clc;
clear;
r=5*10^-2 //outer radius of copper sphere in m
T1=10^3//temperature in K
T2=300 //temperature in K
c=4*10^3 //specific heat in J/kg
rho=9*10^3 //density of copper in kg/m^3
sigma=5.67*10^-8 // Stefan-Boltzmann Constant in J/m^2sK^4
//calculation
t=((rho*r*c)/(9*sigma))*((1/T2^3)-(1/T1^3))
mpri... |
cd6d2c0033fb5f3ab74cbddfbdca4d9f10122cb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH1/EX1.1.9/U1_C1_9.sce | d500b082f5b8c22cc87d49930599d9d282e892d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,256 | sce | U1_C1_9.sce | //variable initialization
l_dash=1 //length of the rod in frame s' (meter)
Theta_dash_degree=45 //angle of the rod with x-axis in frame s' (... |
c53f7a28d8b18b48353f8cd0986ac2576d50bd5f | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/EA39DWK/ATWM1_Working_Memory_MEG_EA39DWK_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 91562772a80a43913d733b5267c1253e72b1da43 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,597 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
8834161aa7fc9ad3d0c6e0ecb4ca19aa8a305e33 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/eq1.sci | 4144f82c56c583491e9db9bc7a8c3bd97b9b4e24 | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sci | eq1.sci | lambda=2;
t=linspace(0,5,101);
N0=60;
plot2d(t,N0*exp(-lambda*t),2);
lambda=5;
plot2d(t,N0*exp(-lambda*t),5);
|
b9d47073c9fb2b8efa8df89ce30537bc33ae97b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH5/EX5.7/Ex5_7.sce | f0000e41928718ceaeb3a6b84ceec931c966bbf6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | Ex5_7.sce | //EX5_7 PG-5.13
clc
Vbe=0.7;//base emitter voltage for silicon
Vcc=12;//supply voltage
R1=10e3;
R2=2e3
Re=470;
Rc=2e3
hFE_min=50;
hFE_max=60;
Vb=R2*Vcc/(R1+R2);//base voltage
printf("\n Vb=%.0f V\n",Vb)
Ve=Vb-Vbe;//emitter voltage
printf("\n Ve=%.1f V \n",Ve)
Ie=Ve/Re;
printf("\n Ie=%.2f mA \n",Ie*1e3)
... |
b89706624eb2f224fd5f2afed031b745319a0042 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH2/EX2.16/Chapter2_Example16.sce | 91385906db9a8b925bda672125bd00b67fa01de9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 656 | sce | Chapter2_Example16.sce | clc
clear
//INPUT DATA
//C2H2+3O2=2CO2+2H2O ;//Chemical equation
t1=298;//initial temperature in K
t2=800;//Final temperature in K
R=0.287;//gas constant in kJ/kgK
dhCO2=22815;//From tables enthalpy of CO2 kJ/kmol
dhH2O=17991;//From tables enthalpy of H2O kJ/kmol
hfCO2=-393520;//From tables enthalpy of CO2 kJ/... |
35ef696b43b9b68fcc017e3b2de968bdbdf28654 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH14/EX14.7/Example14_7.sce | 3d0fb350ee14bdf8343dcabac13987a54350bb34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 844 | sce | Example14_7.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 7: UNDERGROUND CABLES
// EXAMPLE : 7.7 :
// Page number 214
clear ; clc ; close ; // Clear the work space and console
... |
ee4ae43027f347b7cceb29da3f2545f0f87191d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.34/ExampleA34.sce | fcdd5412371e8855884c573b7199069d483ded7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 695 | sce | ExampleA34.sce | clc
clear
//Page number 485
//Input data
t=-1;//The pressure required to lower the melting point of ice in K
l=79.6;//The latent heat of ice in cal/g
V1=1;//The specific volumes of water at 0 degree centigrade in cm^2
V2=1.091;//The specific volumes of ice at 0 degree centigrade in cm^2
p=1.013*10^6;//One a... |
6476f06e0292b6078a3068075f6e316d2195c1b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH1/EX1.4/1_4.sce | 79bbb992d6b46ccab61d341934bd70eb71b57ef0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | 1_4.sce | E=118.5*10^3*4.2*10^7;//energy of ions in ergs//
C=3*10^10;//velocity of light in cm/sec//
L=6.023*10^23;//Avagadro number//
h=6.625*10^-27;//plank's constant//
l=(L*h*C*10^8)/E;
printf('wavelength required to cause ionization=l=%fAngstrums',l);
|
ed2a3ecee0b7266f282e0275a8977394e28f62df | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/demos/icse/icse.sci | 030eec75612cd9dece52a79b4d796d75977c909b | [
"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 | 823 | sci | icse.sci | function [co,u,g,itv,dtv]=icse(u,simu,nap,imp)
//Calcul du controle optimal sans mise a l'echelle du
//controle et ponderation egale des observations
//variables d'entree :
//u(nu) : parametres initiaux
//simu : chaine de caracteres donnant le nom du sous programme
// decrivant le probleme
//nap ... |
85621581b24f20a81c6f3a64e39752e37a2b301e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH4/EX4.8/example4_8.sce | 2f457d1484a073c8b3890ada3e7c0b2e0cf78c69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example4_8.sce |
//example 4.8
//page 174
clc; funcprot(0);
//initialisation of variable
d1=2/100;
d2=6/100;
pi=3.14;
g=9.81;
V2=40;
effi=0.8;
V1=V2*d1^2/d2^2;
A1=pi*d1^2/4;//area
A2=pi*d2^2/4;//area
Gamma=9810;
P1=-50;
z2=100;
hs=V2^2/2/g-V1^2/2/g-P1/Gamma+z2+30;
Q=A1*V1;
P=Gamma*Q*hs;
Pi=P/effi;
disp(Pi/100,"Pow... |
af95b261b607db55dece60be60bc11518801caa0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH4/EX4.1/4_1.sce | a2cf344c973cc9d2779a77fdb21a71f3d19a234e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | 4_1.sce | clc
//initialisation of variables
a=60//cu ft per min
p=14.0//psia
t1=75//F
t2=275//F
m=6//in
h=144//ft
w=53.35//cu ft
t3=535//F
h1=0.24//ft
k=33000//ft
t4=778//R
//CALCULATIONS
W=(h*p*a)/(w*t3)//lb per min
H=W*h1*(t1-t2)//Btu per min
J=m*(k/t4)//Btu per min
Q=H+J//Btu per min
//RESULTS
printf('The r... |
bbd06334c19310257ecf92eb475e45c658cd77e2 | a1f93c5ed7f19ec2dc6e698a305960c7eaacb3fd | /Practica1/Ejercicio6.sci | 8663877b108f1b95970f58626e086c2f0c64657a | [] | no_license | hectoregm/numerico | 813c74b87c976c2af4fe83adf59561a80141ea2f | ca0e16875746ad9d9c17da7ce0635669fc2410ed | refs/heads/master | 2021-01-21T07:53:31.701526 | 2014-12-02T04:42:40 | 2014-12-02T04:42:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,226 | sci | Ejercicio6.sci | // Dado que tenemos que tanto e^x - 1 y x tienden a cero cuando x tiende a cero podemos aplicar L'Hopital con lo que obtenemos lim x->0 e^x / 1 = lim x->0 e^x asi obtenemos que el limite de la expresion original es igual a 1.
// Los resultados concuerdan con la teoria tanto Funcion como FuncionR se ve que los valores
... |
e90048b70b9eca2f6ddf6d97375a4754d15c8d9c | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/bod.tst | f5be7c0bc6d5a60733cb8f3efe725d1eebf4aac8 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 37,178 | tst | bod.tst | བཤུད། བཤུད། V;PRS
བཤུད། བཤུད། V;FUT
བཤུད། བཤུད། V;PST
རྙིད། རྙིད། V;FUT
རྙིད། རྙིད། V;PST
རྙིད། རྙིད། V;PRS
ཟེར། ཟེར། V;FUT
ཟེར། ཟེར། V;PRS
ཟེར། ཟེར། V;PST
སྙམ། སྙམས། V;PRS
སྙམ། སྙམ། V;FUT
སྙམ། སྙམ། V;PST
འབག། འབག། V;PST
འབག། འབག། V;FUT
འབག། འབགས། V;PRS
ཚོམ། ཚོམ། V;PRS
ཚོམ། ཚོམ། V;FUT
ཚོམ། ཚོམ། V;PST
འཚོག། འཚོག། V;FUT
... |
31c114e277070b7ebc966043aa0a41a5f8fee027 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnCh/ench.8.tst | 2d54ab240556187e38fab7276c957d14e2fa28d1 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 99,268 | tst | ench.8.tst | a a l l i b o n e 阿 利 本
a b b i e 阿 比
a b b o t t 阿 伯 特
a b b u h l 阿 布 尔
a b e g g l e n 阿 贝 格 伦
a b e l e 阿 伯 利
a b e r c o n w a y 阿 伯 康 韦
a b l e r 阿 布 勒
a b l i n 阿 布 林
a b o r n 阿 伯 恩
a b o y n e 阿 伯 因
a b r a m s 艾 布 拉 姆 斯
a b t h o r p e 阿 布 索 普
a c a d o r y 阿 卡 多 里
a c h t e r 阿 赫 特
a c t o n 阿 克 顿
a c w o r ... |
cadf193efcd4d5b489cc2e060fb33ede7e879a6f | c6515791fea5828996a3924a74b5358852bc69f0 | /ap3_ajuste_polinomial/ajuste_polinomial.sci | 58695046392470604c22992f31ae5ccccd80d878 | [] | no_license | fernandascovino/fgv_math_modeling_3 | 366f05faa9fc657473acad8c1061b7c6feed8d4a | 11853e0bf2c05ad2df4fb369dfa922fc50c68ceb | refs/heads/master | 2023-02-24T23:03:18.431724 | 2021-01-31T18:08:16 | 2021-01-31T18:08:16 | 334,722,683 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,221 | sci | ajuste_polinomial.sci | ////////////////////////////////////////////////
///Variáveis de entrada:
/// f = função a ser aproximada
/// e = limite inferior do intervalo
/// d = limite superior do intervalo
/// m = grau do polinômio da aproximação
////////////////////////////////////////////////
///Variáveis de saída:
/// v = vetor de ... |
042c586f8ece2070222e99e220849b4f4e72c364 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH4/EX4.19/ex4_19.sce | f45286f5bbfa31ad67e78246e4b82be32c0935db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 840 | sce | ex4_19.sce | // Exa 4.19
clc;
clear;
close;
format('v',6)
// Given data
h_ie = 2;// in k ohm
h_ie = h_ie * 10^3;// in ohm
h_re = 2*10^-4;// unit less
h_fe = 50;// unit less
h_oe = 20*10^-6;// in A/V
R_L = 4;// in k ohm
R_L = R_L * 10^3;// in ohm
Rs = 200;// in ohm
Ai = -h_fe/( 1+(h_oe*R_L) );// unit less
disp(Ai,"The... |
7e7d21b0b1ecca1fb4bd28f5a0a25cf218326fc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.25/Example_1_25.sce | d8196245fffdd2b9251fa3ede522767aeca00a88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | Example_1_25.sce | //Example 1.25 X and Y are seated at random at a round table
clear;
clc;
N=(12*11);
disp(N,"total no. of ways in X and Y can occupy seats=");
M= (12*2);
disp(M,"No. of favourable cases such that there are 3 people between X and Y at a round table = ");
// M= (1,5),(2,6),(3,7),(4,8),(5.9),(6,10),(7,11),(8,12),(9,... |
336b44783c7196deb919d54221ec56129748c2ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.24/EX2_24.sce | daa9d1f7fc09269e9990b0df4a38176369c588db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | EX2_24.sce | //EXAMPLE 2-24 PG NO 71
//integration of is=1008sinQ^2=0.5
I=150 //CURRENT
disp('i) CURRENT (I^2) is = '+string (I) +' A ');
disp('ii) CURRENT (I) is = '+string (sqrt(I)) +' A ');
|
9d8a261c596b8f39f70a1e4b0b94813ab4739a91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH20/EX20.10/example20_10.sce | 31a6bf6716fd5474c5ac4d6ae6e37eb1f9f76ef3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | example20_10.sce | l1=8;
l2=4;
v=120;
f=60;
x_l1=2*%pi*f*l1;
x_l2=2*%pi*f*l2;
x_l=1/(1/x_l1+1/x_l2);
i=v/x_l;
disp("the total current (in mA) drawn from the supply is"); disp(i*10^3); |
a3461b565b66e9b8ffd79ca7e975e58a7bed5d16 | 4fb238a760c6455db1aff7bb230317e175011b4a | /ScilabFichiers/testPlus.sce | 6b2d4eeb57c7f4e775fcd7a391b9c844140355dd | [] | no_license | Abdel-Malik/scilabBSFC | 90feaf817c2bb1367fc2a8b97399b1b9fc3693ba | 2b5ffe850f8b66af6e387672ef5d805e963746ec | refs/heads/master | 2020-12-02T16:25:39.167882 | 2017-07-25T16:11:56 | 2017-07-25T16:11:56 | 96,550,494 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,858 | sce | testPlus.sce | //**Données du moteur**//
//Plage de fonctionnement (tr/min):
miniR = 800;
maxiR = 2500;
//Couple fourni (Nm):
miniCouple = 0;
maxiCouple = 1800;
//Puissance fourni (W):
miniP = 0;
maxiP = 266000;
//Consommation (g/kWh):
miniConso = 180;
maxiConso = 210;
n = 10;
//intervalle dans lequel l'échantillonnage a été réal... |
a325fe561dc415418c46d8305797e026145a3d65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH5/EX5.3/Example5_3.sce | ff326f5c20782e4329776fdf3630b1492683d71d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 994 | sce | Example5_3.sce | //clear//
//Caption:Signal-to-Quantization Noise Ratio of PCM
//Example5.3:Signal-to-Quantization noise ratio
//Channel Bandwidth B
clear;
clc;
n = input('Enter no. of bits used to encode:')
W = input('Enter the message signal banwidth in Hz:')
B = n*W;
disp(B,'Channel width in Hz:')
SNRo = 6*n - 7.2;
disp(S... |
65045f00d4962f40207b70aac3b825326361ddf5 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rc2ac/rc2ac9.sce | c51d3e24252d411b347a05647f913beb419ac90d | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | rc2ac9.sce | //check o/p when only one i/p arg is passed to the function
k = [0.3090 0.9800 0.0031 0.0082 -0.0082];
r0 = 0.1;
a = rc2ac(k);
disp(a);
//output
// !--error 10000
//Not enough input argument, define zero lag autocorrelation, R0.
//at line 29 of function rc2ac called by :
//a = rc2ac(k);
|
927680fcb08fdcaaab3462b83883670540b0fb23 | 31c6b1437c7dc52b977bf6790b1b24eff7f7b5f5 | /plot_both_se_files.sci | 3dc5bb77cf8bd6ef830e9a637e46951b9775d2e9 | [] | no_license | RobinEccleston/Scilab-Snippets | 4744c071ef891cc4905cbecc000a1f5bf667a8f7 | 7886058a25ec4821cfeba6d8e148a0a2aced330c | refs/heads/master | 2021-01-26T00:48:02.042794 | 2020-02-26T11:35:49 | 2020-02-26T11:35:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,046 | sci | plot_both_se_files.sci | ModuleName="plot_both_se_files";
Version="0.01";
DateModified="01-Jul-2015";
DateOfCreation="01-Jul-2015";
Author="Rob Eccleston";
Description="Function to plot both parts from SE development spectrometer.";
mprintf("Loading " + ModuleName + " V" + Version + ", Last Modified: " + DateModified + "\n");
funct... |
010594f3413a618bb3f4fe712eb1b9f4a7f416ef | 5565424cd712fe856334cee55c5f86c2fa58aa74 | /2Cholesky.sce | ff8d9d8aa081b4a61109545b835fcd39c6ee8f7a | [] | no_license | DericsonPablo/CalculoNumerico | 2402d6408704267f889eb999d49a0acbfa27500a | 8b2ea2bc9a98257c87046d80162a9dc2c4adf22a | refs/heads/master | 2020-07-31T05:16:48.105210 | 2019-09-24T02:46:12 | 2019-09-24T02:46:12 | 210,496,853 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | 2Cholesky.sce | function[R] = cholesky(A)
n = size(A)
for k=1:n
A(k,k)=sqrt(A(k,k))
A(k+1:n,k)=A(k+1:n,k)/A(k,k)
for j = k+1 :n
A(j:n,j)=A(j:n,j)-A(j,k)*A(j:n,k)
end
end
for i=1 : n
for j=1 : n
if i<j then
R(i,j)=0
end
... |
51b4d21cd74069d236a8e8a99b9fed3c51324c0f | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mdaqBlock.sci | faf65c07f2bd1569b9eb4021e837c6197f56e17e | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 284 | sci | mdaqBlock.sci | function initialized_mdaqBlock = mdaqBlock()
initialized_mdaqBlock = struct('name',['new_block'],'desc',['Set new_block parameters'] ,'param_name', ['param1'; 'param2'], 'param_size', [1;1], 'param_def_val', list([0;0]), 'in', [1], 'out', [1], 'use_sim_script', %T);
endfunction
|
e53ab1726cb6b4575808a690289813e9d04615f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH15/EX15.2/15_2.sci | 3a3d0431e6d4fb0e56900b2e50519ac7f9480ea8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sci | 15_2.sci | //The ac Motor Control//
//Example 15.2//
Imr=50;//motor field rating in amp//
Icr=1.5*Imr;//converter rated current in amp//
printf('value of converter rated current=Icr=%famp',Icr);
Vdc=100;//converter dc rating in volts//
Vac=Vdc/1.35;//converter ac rating voltage required//
printf('\nvalue of converter rated... |
de1ed371b6132393cfa386d3d335f25a32d027c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH2/EX2.11/Ex2_11.sce | c6c8e2d26340b18056ae08dbdf837a44455fc7a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 744 | sce | Ex2_11.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 2: Basic Laws
// Example 2 - 11
clear; clc; close;
//
// Given data
G12 = 12.00;
G8 = 8.00;
G5 = 5.00;
G6 = 6.00;
... |
cae590758536cbfc605128915fa42bcfbf645b37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH9/EX9.8/Exa9_8.sce | 92e45369286bbc2e4efa8c1b8c25b84e9a98308b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | Exa9_8.sce | //Exa 9.8
clc;
clear;
close;
//given data :
HT=50;//in meter
HR=5;//in meter
d=4.12*(sqrt(HT)+sqrt(HR));//in Km
disp(d,"Range of LOS system in Km : "); |
685945c883cc4011887feb6e5020f23bad1d062f | 98efda43218be3d9e665771c28742517fd4f334f | /Toolbox Test/db2mag/db2mag1.sce | c80faf63435de84f3261be98cc8b8b7341a5f41d | [] | no_license | ankurmallick/Scilab_spt | bded5b3ed7c5618770ef4bb997b5f61aa7732cd9 | e35c986f70147ee773796c839153ed7adbda3941 | refs/heads/master | 2021-01-17T06:48:24.162281 | 2016-12-05T12:54:24 | 2016-12-05T12:54:24 | 43,445,584 | 0 | 2 | null | 2015-12-10T05:15:44 | 2015-09-30T16:47:57 | Scilab | UTF-8 | Scilab | false | false | 353 | sce | db2mag1.sce | //Testing for logical errors (no exception handling required)
a=[rand(1,2), -rand(1,2), 1+2*%i] ;
disp(a);
disp(db2mag(a));
//Output
// 0.5664249 0.4826472 - 0.3321719 - 0.5935095 1. + 2.i
//
//
// column 1 to 4
//
// 1.0673854 1.0571396 0.9624793 0.9339519
//
// column 5... |
c9c5517f323c89215e02374a9b8a18d4efba40c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /116/CH10/EX10.3/exa10_3.sce | 03335847448905f142464d4285b8fb080330bf66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | exa10_3.sce |
//Example 10.3
//Page 488
disp('Assuming the access link is 90% utilized on average.')
disp('The queuing theory is provided in Chapter 12. It involves determining the probability that the DSI access queue contains enough cells to represent 10msec of transmission time')
tm=[(53*8)/(192*8000)]
disp('Therefore... |
9abc12abb4f547f60d3df283fd1919662b775739 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/validate_filter_bands.sci | cba3dc02cc97e50912c81f453b3199308320c134 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,808 | sci | validate_filter_bands.sci | // Copyright (C) 2018 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
c15cd58a9d46b2d4d4ab10a8e23c8cbdd0efab20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH13/EX13.06/13_06.sce | 008a7d77711c8f371826df17589a5ff2181ac51f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,490 | sce | 13_06.sce | //Problem 13.06: For the circuit shown in Figure 13.16, find, using the superposition theorem, (a) the current flowing in and the pd across the 18 ohm resistor, (b) the current in the 8 V battery and (c) the current in the 3 V battery.
//initializing the variables:
E1 = 8; // in volts
E2 = 3; // in volts
R1 = 3; ... |
dd70dd43609b35802e9fa2f6055d5465b8812e4a | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /mindemo.sci | 1d753f10fc3ccac5a02cca29a1d7fe178e0abbb0 | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,029 | sci | mindemo.sci | function mindemo()
g_bb = uint8([6,17,8;12,10,11]);
min_g_bb = min(g_bb,'c');
disp(min_g_bb);
/////////////////////////// d2==>d0 /////////////////////////////////////
// aaa = ([1,2,3;10,11,90]); // d2->d0 //
//////////////////////////////////////////... |
4d511dfcb64cb280f5873d3ef41cfc3a80be66d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH3/EX3.19/Exa3_19.sce | 853fc63c8b400ad8e5c9c955de6dbfc93b190215 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | Exa3_19.sce | //Exa3.19
clc;
clear;
close;
// given data
Resistivity=9.23*10^-3;// in ohm-m
R_H=3.84*10^-4;//in m^3/C (Hall Coefficient)
sigma=1/Resistivity;
rho=1/R_H;
e=1.6*10^-19;// in C (electron charge)
n=rho/e;
disp("Density of charge carriers is : "+string(n)+" /m^2");
miu=sigma*R_H;
disp("Mobility is : "+strin... |
be81ba06321e22c2a036a4c74aab5ba175d6973f | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH2/EX2.6/ex_6.sce | d08ef56560e07672151e1ba295ed4abdea03ba6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | ex_6.sce | // Chapter 2_Introduction to the quantum theory of solids
//Caption_The Distribution function and the Fermi Energy
//Ex_6//page 71
T=300 // Temperature in kelvin
x=3 //x= (E-Ef)/kT
fE=100/(1+%e^x);
printf('Probability that an energy level 3kT above the Fermi energy is occupied by an electron is %1.2fd%%\... |
b72f62cfc6f1821ada5b0ebdc1b46c8142089c1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH5/EX5.3/Ex5_3.sce | 85b206d1dfecc89f03fdffbc53594b2d514dc3fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_3.sce | //Example 5.3: Implementation of Boolean logic using Decoders
clc // Clears the console
disp("f(a,b,c) = Summation(0,2,3,7)")
disp("g(a,b,c) = Summation(1,4,6,7)")
disp("Truth Table")
disp("a b c | f g")
disp("0 0 0 | 1 0")
disp("0 0 1 | 0 1")
disp("0 1 0 | 1 0")
... |
2d9f8f3b94841f7a0f2058bd14f2aca4147e9972 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH8/EX8.a.13/exaA_8_13.sce | cb164848d54527ebd5a99adc6946c8477e936454 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,207 | sce | exaA_8_13.sce | // Example A-8-13
// Design of system with two degrees of freedom
clear; clc;
xdel(winsid()); //close all windows
mode(0);
// please edit the path
// cd "<path to dependencies";
// exec("plotresp.sci");
s = %s;
Gp = 100 /(s*(s + 1))
dp = -5 + %i*5;
// Step 1: Design of Gc1 using root locus approach
angdef = 180 - p... |
a533f8bffec16ee997afda574fa7a5f789d5b7d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH13/EX13.5/example13_5nc.sce | 70a7bf79fc9fe1af98d3d4ae51854654d0b44953 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,163 | sce | example13_5nc.sce | clc
clear
disp('example13_5')
vb=33
pb=20;zb=vb^2/pb //base voltage and base power
pa1=10;pa2=10;xa1=0.08;xa2=0.08; //given power and reactance for different branches
pbb=20;xb=0.06;pc=15;xc=0.12;pd=20;xd=0.08;
xab=2.17;xbc=3.26;xcd=1.63;xda=4.35;
xap1=xa1*pb/pa1;
xap2=xa2*pb/pa2;xap=xap1*xap2/(xap1+xap2)
... |
189840e90853795036b3db458c05f730f167e85e | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.48/48.sci | 27cbb7cb91e66a71ab627052b340b6c6eb6dffac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sci | 48.sci | clc;
clear all;
disp("heat transfer rate")
d=300/1000;//m diameter
L=3.5;//m
delT=40;//degree C =ts-ti
f=0.022;// friction factor
St=f/2;
disp("The energy balance yields Q=h*A*(ts-ta)=m*cp*(to-ti)")
disp("h*(%pi*D*L)*(ts-(to+ti)/2)=rho*(%pi*D^2*U/4)*cp(to-ti)")
disp("(h/(rho*U*cp))*L*(ts-to+ts-ti)/2=D/4*(to-t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.