blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b0702e75d446f31050a4f8ee53d6dd5bb6853e44 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TF35.prev.tst | 50da092a5ee0d0c047bcd423d56a9edb371fd356 | [
"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 | 1,026 | tst | TF35.prev.tst | considerNonPrimitive
Expanding for base=2, level=4, reasons+features=base,primitive,same,similiar invall,norm,showfail
Refined variables=a,b,c
[0+1a,0+1b,0+1c]: unknown -> [1] [0,0,0] a³+2b³-4c³
-> solution [0,0,0],trivial(3)
---------------- level 0
expanding queue[0]^-1,meter=[2,2,2]: a³+2b³-4c³
[0+2a,0+2b,0+2c]: non... |
c07734e369aca260fff629e6cec182555b980888 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH5/EX5.28/28.sce | 92e830c06ea99a0c508ec6978357ec43b91746a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | 28.sce | clc
p1=7*10^5; //Pa
T1=733; //K
p2=1.012*10^5; //Pa
T2a=433; //K
y=1.4;
cp=1.005;
disp("(i) To prove that the process is irreversible")
T2=T1*(p2/p1)^((y-1)/y);
disp("T2 =")
disp(T2)
disp("But the actual temperature is 433K at th epressure of 1.012 bar, Hence the process is irreversible. Proved.")
dis... |
c4cd06a08e21f8d05c3208f0bd7348796b4daafc | 8293f7c8800a04665e23ea5814feac83786d8b75 | /VRD_multi/multi2/teste.sci | afb61de6fa2a23a1b743f7cc6008fe06a7e3d79f | [] | no_license | gusplatt/paper_libotte | 6deb983260bc62b0645f3c3f4b674162829b6e02 | 249eae1595b581e350c6479fcdda4446c9f2c54e | refs/heads/master | 2021-01-19T19:18:46.392726 | 2017-10-03T23:21:22 | 2017-10-03T23:21:22 | 101,187,042 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sci | teste.sci | vn1 = [];
vn2 = [];
matn1 = [];
matn2 = [];
N1i = 0.90;
passo1 = 0.01;
N1f = 0.98;
N2i = 0.001;
valo = (N1f-N1i)/passo1;
for N1 = N1i:passo1:N1f
passo2 = (1-N1-N2i)/valo;
for N2 = N2i:passo2:(1-N1+1e-6)
vn1 = [vn1 ; N1];
vn2 = [vn2 ; N2];
end
//size(vn1),pause
matn1 = [matn1 vn1];
matn2 = [matn2... |
7a7dfb61d3512fe695392823ea3926d9d0aa8e22 | be72b348d2bbd0cd916ee42daf3151ca8d3d6fc5 | /Fourier-Transform-in-Image-Formation/gaussian.sce | 18c88a2057131130289b1425203b4794076eff35 | [] | no_license | albertyumol/Image-Processing-on-Scilab | f9b859b35cd4279abaa79aef65598425a7ef37c9 | 33032c819026222dc75b8364b81012986a5e46ab | refs/heads/master | 2020-04-26T15:40:55.463187 | 2019-12-06T16:25:15 | 2019-12-06T16:25:15 | 173,654,065 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | gaussian.sce | //Gaussian Aperture
stacksize(100000000)
nx = 128; ny = 128;
x = linspace(-1,1,nx);
y = linspace(-1,1,ny);
[X,Y] = ndgrid(x,y);
r = sqrt((X.^2) + (Y.^2));
A = (1/sqrt(2*%pi))*exp(-0.5*r/2);
//B = zeros(nx,ny);
//B (find(r<0.7)) = 1.;
//A = A.*B
f = scf();
grayplot(x,y,A);
imwrite(A,'C:\Users\csrc-lab03\Des... |
fd728ac956757b65a0cc7df4f6c7f78c9c09160b | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH17/EX17.8/ex17_8.sce | 245234f71661881a177ec41679d451d524513e63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 978 | sce | ex17_8.sce | clc
//Example 17.8
Vs = poly(0,'Vs')
disp('Given')
disp('Z=[10^3 10;-10^6 10^4 ]')
z11=10^3 ; z12=10;z21=-10^6;z22=10^4
//Using the given matrix we can write the mesh equations as
disp('V1=10^3*I1+10*I2')
disp('V2=-10^6*I1+10^4*I2')
//The input to an two port network is an ideal sinusoidal voltage source in series wit... |
310715ffbfdfc817244daab605769e4335d29a91 | e806e966b06a53388fb300d89534354b222c2cad | /macros/BRISKPoints.sci | d3d80f32e7053616d587386c61b109ea90c790ae | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 908 | sci | BRISKPoints.sci | function [varargout] = BRISKPoints(inp)
// This function returns a BRISKPoints struct for storing BRISK interest points.
//
// Calling Sequence
// myStruct = BRISKPoints(Location of KeyPoints)
//
// Parameters
// results: BRISKPoints struct which contains Location, Orientation, Metric, Scale and Count.
// Location: Lo... |
a5b106db709e7e21313ee4f3b253a6f3ba853942 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH24/EX24.4/24_4.sce | 8256ac63260b4d4259d74a6d63c6d4eab8f4f9c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,048 | sce | 24_4.sce | clear//
//Variables
VCC = 12.0 //Source voltage (in volts)
RC = 10.0 * 10**3 //Collector resistance (in ohm)
RE = 1.0 * 10**3 //Emitter resistance (in ohm)
RB = 500.0 * 10**3 //Base resistance (in ohm)
beta = 50.0 //Common... |
fec41185686249a68f5ac20c25d4c16fccb12e44 | a674f7b984545698214f8164107cc4e15916c573 | /Fonctions/Contour.sci | 6995ce0a6bc795cb0f1bd2de1743384a6a301b4d | [] | no_license | enzo-billis/Projet_CESI_Scilab_Missions | 6bb843b68b64660f8ed235cde4213dd4d3343375 | 07434c89170e237aff6a78ad4d59034b6e47f382 | refs/heads/master | 2021-03-16T10:27:15.255047 | 2018-03-05T08:02:40 | 2018-03-05T08:02:40 | 120,597,704 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sci | Contour.sci | function NouvelleImage=Contour(image)
[hauteur, largeur]=size(image)
NouvelleImage=zeros([hauteur, largeur])
GradientVertical=Convolution(image, [-1 0 1; -1 0 1; -1 0 1])
GradientHorizontal=Convolution(image, [-1 -1 -1 ; 0 0 0; 1 1 1])
for x=1:hauteur-1
for y=1:largeur-1
... |
9b8a82a31d557c11fd37ebe60e3930b666c8dc35 | e7055fdf94e8a24293cab7ccbeac12039d6fe512 | /macros/filter.sci | dc538b0e4a2adb89c7ff6674d861fc7a288fd23a | [] | no_license | sidn77/FOSSEE-Image-Processing-Toolbox | 6c6b8b860f637362a73d28dcfe13e87d18af3e2c | 8dfbdbdfd38c73dc8a02d1a25678c4a6a724fe18 | refs/heads/master | 2020-12-02T16:26:06.431376 | 2017-11-08T17:54:03 | 2017-11-08T17:54:03 | 96,552,565 | 0 | 0 | null | 2017-07-07T15:37:18 | 2017-07-07T15:37:18 | null | UTF-8 | Scilab | false | false | 2,067 | sci | filter.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_... |
cd3a7f323f5ac54800d020abbf91b8da47672588 | 6f93c26af9664a4531dba8754a6166713ca83d91 | /homework10/TestHexBoard.tst | 6e8a1b0d2661f6226a8644c814448ccbafaae87b | [] | no_license | terryd300/Data-Structures | b2d4cff3a86576942c1234856a4c456d97315623 | fe91b086b38f2ed6a7915cf160ba01dd2c340b9f | refs/heads/main | 2023-07-18T01:35:26.980071 | 2021-08-31T16:53:14 | 2021-08-31T16:53:14 | 401,778,521 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | tst | TestHexBoard.tst | 1914280505="<3,2,1>=FOREST"
701246749=2
374059176=4
990435279="null"
349645244="DESERT"
1361484314="UnsupportedOperationException"
662212="FOREST<2,3,-1>"
34733118=3
|
4770b1e4a97af10d29ed576b69cf0bd3b6cc8460 | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /quality/test/garant6x/Версия для пользователей.TST | abab3f83798f746a79082b34d05650bbf1e75d71 | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 140,883 | tst | Версия для пользователей.TST | {\rtf1\adeflang1025\ansi\ansicpg1251\uc1\adeff0\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1049\deflangfe1049\themelang1049\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman{\*\falt Times New Roman};}
{\f1\fbidi \fswiss\fcharset204\fprq2{\*... |
9145ddf260a41349ff9461a1c380fbae8e10600f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%p_l_p.sci | f46c0d692ec7f810960d7f4957c22bee3bbfc7c6 | [
"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 | 248 | sci | %p_l_p.sci | function f=%p_l_p(p2,p1)
// f=%p_l_p(p2,p1) <=> f=p2\p1 for polynomial matrices
//!
// Copyright INRIA
[l,c]=size(p2)
if l*c <>1 then f=invr(p2)*p1,return,end
[l,c]=size(p1)
[p1,p2]=simp(p1,p2*ones(l,c))
f=tlist(['r','num','den','dt'],p1,p2,[])
|
d36c750e62fb6fa6bedb967006d58248e7ae380d | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH1/EX1.3/1_3.sce | a104889bd021342b1aac90c2f198dbb7cf4c0ab9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1_3.sce | V=0.85;//external voltage in volts//
e=1.6*10^-19;//electron charge in coloumbs//
m=9.1*10^-28;//electron mass in grams//
v=sqrt(2*V*e*10/m);//velocity of electron in motion in Kilocm per sec//
printf('velocity of electron in motion=v=%f Kilocm per sec=5.47*10^7cm per sec',v);
W=(3.198*10^-12)/(1.6*10^-12);//Thres... |
3a24c9a04f904cbc591e4e60750c83bd6b645c97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH15/EX15.18/15_18.sce | af750a6d580ef4cf646f976a2d5e2d0fd7a1eb2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | 15_18.sce | //Problem 15.18: A coil having a resistance of 10 ohms and an inductanc of 125 mH is connected in series with a 60 μF capacitor across a 120 V supply. At what frequency does resonance occur? Find the current flowing at the resonant frequency.
//initializing the variables:
R = 10; // in ohms
C = 60E-6; // in Farad... |
cd4b9f0a9a13eeb9c1c5d8c6c5837449199a6302 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/SURPRISE-LANGUAGES/Uralic/olo.tst | 082b43dcd0d5d0d2515d207712cfa0437251cc4b | [] | 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 | 272,482 | tst | olo.tst | louhindu N;PRT;SG
kubaidu N;NOM;SG
čiäry N;NOM;SG
kulku N;PRT;PL
käpčy N;PRT;SG
päivikkö N;PRT;SG
tägäläine ADJ;PRT;PL
ižändättömys N;PRT;SG
piähengi N;NOM;SG
piättäi N;PRT;PL
toppoli N;NOM;SG
mečänhoidoala N;GEN;SG
sydämentabuamine N;PRT;PL
fašizmu N;PRT;PL
kapsua V;IND;SG;3;POS;PRS
kosmossusoba N;GEN;SG
tansie V;NFIN... |
ec08a9ecf650d8744940b2907ef88581b56a5cf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH6/EX6.12/6_12.sce | ec1e21f87f81384f2074a3fed480a743eb6f04a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,405 | sce | 6_12.sce | clear;
clc;
printf("\t\t\tExample Number 6.12\n\n\n");
// heating of liquid bismuth in tube
// example 6.11 (page no.-305-6)
// solution
m_dot = 4.5;// [Kg/s] flow rate of bismuth
d = 0.05;// [m] diameter of steel tube
Ti = 415;// [degree celsius] initial temperature of bismuth
Tf = 440;// [degree celsius]... |
53f365febab2e9a0d4c0a724b899c59369f985b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH2/EX2.4/ex2_4.sce | a57e20c02eec79511914b472ad711d5afc2206fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | ex2_4.sce | // Example 2.4, page no-31
clear
clc
d=4*10^3//kg/m^3
awtcs=132.9
awtcl=35.5
a=4.12*10^-10
m=d*a^3
N=(awtcs+awtcl)/m
printf("The value of Avogadro Constant %.4f *10^26 per kg mole",N*10^-26)
|
54e45e52e410cf9e4164973b68df56c0f8969e01 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/elem/intl.sci | b52dd8037d3f4a469e61f1a9580d19bace3a7e9d | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"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 | 708 | sci | intl.sci | function [r]=intl(a,b,z0,r,f)
//If f is a complex-valued macro, intl(a,b,z0,r,f) computes
//the integral of f(z)dz along the curve
//in the complex plane defined by z0 + r.exp(%i*t) for
//a<=t<=b .(part of the circle with center z0 and radius r
//with phase between a and b)
//!
//Author F.D.
//First compile f if necess... |
33b980a6c014f06aed54a90220d7491cdf75e963 | e806e966b06a53388fb300d89534354b222c2cad | /macros/graycoprops.sci | d33c2a063bcae78e192d0428a6ab9e2cad2dbf8b | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sci | graycoprops.sci | function[stats] = graycoprops(srcImg, varargin)
[lhs, rhs] = argn(0)
srcMat = mattolist(srcImg)
select rhs
case 1 then
out = graycoprops(srcMat)
case 2 then
out = graycoprops(srcMat, varargin(1))
end
channels = size(out)
for i = 1:channels
stats(:,:,1) = out(1)
end
endfunction
|
0cf55a7f3febd65bf7baf76a06ee15a2fd89e20d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH2/EX2.13/example2_13.sce | 3dff8744be19621333b0d1aa75e69c15c3e86771 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | example2_13.sce | clear;
clc;
// Stoichiometry
// Chapter 2
// Basic Chemical Calculations
// Example 2.13
// Page 24
printf("Example 2.13, Page 24 \n \n");
// solution
//mass %
m1 = 13.70 // HCl
m2 = 8.67 // NaCl
m3 = 100 // H2O
m = m1+m2+m3 // mass of solution
w1 = m1/m*100
w2 = m2/m*100
w3 = m3/m*100
pr... |
3254a388197511a0ad200146689a2a8b2b052f82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH3/EX3.1/ex_1.sce | ec4bd7a4a74bb03156103581b689cfb3fe04786e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 67 | sce | ex_1.sce | // PG (134)
X = [0, -1, 1]
Y = [1, 2, 3]
lagrange(X,Y)
|
61b4d4e1bf7d83f501800d3c0f87b8df256e9372 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH8/EX8.1/Example_8_1.sce | 3f069d4e78439f0b3a29fed35c14379ebf0da058 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | Example_8_1.sce | //Maximum Flaw Length Computation
clear;
clc;
printf("\tExample 8.1\n");
sigma=40*10^6; // in Pa Tensile stress
E=69*10^9; //Modulus of elaticity in pa
Ys=0.3; //Specific surface energy in N/m^2
//Maximum length of a surface flaw
a=2*E*Ys/(%pi*sigma^2);
printf("\nMaximum lemgth of a surface falw... |
2538afe97dd16290e05972747ac5c3affe3f09e7 | 429a254e86091b867fca50a9cc277b3f9cba13e8 | /testit/01-alkutila.tst | 80065e41d75dba03d53aede3d2dd067670b11ca0 | [] | no_license | Mirbanator/labyrinth_game | 125d51230c1591515bc751fa93686102328827e1 | a2bb4f7ecc6618e8e226d7588391ff2f0941fc36 | refs/heads/master | 2020-03-26T16:50:54.578498 | 2018-08-17T13:58:15 | 2018-08-17T13:58:15 | 145,127,453 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | tst | 01-alkutila.tst | SIEMENLUKU 32
PELAAJIA 4
IHMINEN Erkki
IHMINEN Pertti
IHMINEN DeepBlue
IHMINEN K9
|
b7869e817d99c8b5badf48c3999b9b75fdfe18e8 | f42e0a9f61003756d40b8c09ebfe5dd926081407 | /TP6/plotErreur.sci | e8f43c4da034d6677bde5f5ae2b31ea4764368db | [] | no_license | BenFradet/MT09 | 04fe085afaef9f8c8d419a3824c633adae0c007a | d37451249f2df09932777e2fd64d43462e3d6931 | refs/heads/master | 2020-04-14T02:47:55.441807 | 2014-12-22T17:34:50 | 2014-12-22T17:34:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sci | plotErreur.sci | function[] = plotErreur()
exec('fillTE.sci', -1);
a = 1;
t0 = 0;
T = 10;
TE = fillTE(a, t0, T);
TE = -log(TE);
Ns = [10; 100; 1000; 10000];
Ns = log(Ns);
plot(Ns, TE(:, 1), 'r');
plot(Ns, TE(:, 2), 'b');
plot(Ns, TE(:, 3), 'k');
[a b] = reglin(Ns, TE(:, 1));
[... |
48b7bf018d26b2b056c4eeafb5da17a40c883b6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH8/EX8.4/Ex_8_4.sce | 9f526117edebe5dd45b32fe674ae94d3253e6682 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | Ex_8_4.sce | //Example 8.4
clc;clear;close;
s=poly(0,'s');
z=poly(0,'z');
T=1;
Hs=(s+0.2)/((s+0.2)^2+9);
Hz=horner(Hs,(1-1/z)/T);
disp('Using Impulse Invariant Technique:')
disp(Hs,'H(s)=');
disp(Hz,'H(z)='); |
08243528bcb6d1c2f83cb8eab2e4e9553142e05f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH2/EX2.3/Ex2_3.sce | 6def81919de48cd7ebbd1db8ba3c1f4e52a35ec8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,081 | sce | Ex2_3.sce | clear;
clc;
d = 3/4 ;//inches
P = 2;//tons
Q = 0.5;//tons
m = 4;
A = 0.25*%pi*d^2;//in^2
p = P/A ;//tons/in^2
q = Q/A;//tons/in^2
theta = 0.5*atan(2*q/p);//radians
theta1 = theta*180/%pi;//degrees
theta2 = theta1+90;//degrees
printf('The inclination of principal planes to the axis of the bolt will be %.2f d... |
ebcdb9213e0e2a64a1b137a1aed5d0e6d7e2f0ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH8/EX8.9/Example8_9.sce | 6eb6e417a8d2da4446363b090d45ffd333628f90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,322 | sce | Example8_9.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 8: AC DYNAMO TORQUE RELATIONS - SYNCHRONOUS MOTORS
// Example 8-9
clear; clc; close; // Clear the work space and console.
// Given data
P_o = 2000 ; // Total power consumed by a factory in kW
co... |
5c036f2b56c2a0c40fdb1794d42987e77291eca2 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.7_19.tst | 15140e789735478ad749616d2420cdd48ff0dfc8 | [] | 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 | 502,488 | tst | 5.7_19.tst | 7 276:1 327:1 437:1 984:1 1235:1 1394:1 1539:1 1653:1 1827:1 1848:1 1879:1 1964:1 1967:1 2091:1 2181:1 2378:1 2445:1 2460:1 2590:2 2893:1 2948:1 3332:1 3782:1 4082:1 4284:1 4414:1 4429:1 4430:1 4765:1 5275:1 5600:1 5625:1 5818:1 5847:2 6246:1 6723:1 6803:1 6824:2 7180:1 7201:1 7219:2 7611:1 7790:1 7835:2 8498:1 8748:1 ... |
8dc16d3f34763cf0906869773aa7fba88202058d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH6/EX6.10/6_10.sce | 60989fb1125b72ff93e9b38ed4ed4cc1391cafc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | sce | 6_10.sce | clear all; clc;
disp("Ex 6_10")
disp("THe free body diagrams are shown in figures 6-22c and 6-22d")
|
0b824ef0c5f8e4687f2399329fa30cc00c4d92d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH10/EX10.3/3.sce | 2f31750ad8a54dadf947ab8bee6f4c6b52249a2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 877 | sce | 3.sce | clc; funcprot(0);//Example 10.3
//Initializing the variables
mu = 1.14*10^-3;
rho = 1000;
d = 0.04;
Q = 4*10^-3/60; //Flow in m^3 per second
l = 750;
ReCrit = 2000;
g = 9.81;
k = 0.00008; // Absolute Roughness
//Calculations
A = (%pi*d^2)/4;
MeanVel = Q/A;
Re = rho*MeanVel*d/mu;
Dp = 128*mu*l*Q/(%pi*... |
60a93a816385208ef8274079115e02b5ca487e86 | 8b210e6f6e2f87f65df21faf9b942059d0ce5103 | /ass3.sce | ff60a7ee35fe3490bdfae4be4b6d945660e5e763 | [] | no_license | Rapidash99/DSPAss3 | d6d1a5a9a074eb76f2c4074aec85c4b59a887359 | f65f129e32b7db44a668b22880a5340f4cf59cfb | refs/heads/master | 2021-03-21T14:27:18.766765 | 2020-03-14T18:31:35 | 2020-03-14T18:31:35 | 247,303,198 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,631 | sce | ass3.sce | function f = my_filter(name, method)
tic()
if (method == "convol") then
f = convol(IRC_resized, record)
else
f = ifft(fft(IRC_resized) .* fft(record))
end
time = toc()
mprintf('filtering with %s by %s: %f seconds\n', name, method, time)
f = trim_zeros(f)
// ... |
e506a457d26e50b2397d77990913e96767035a0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH6/EX6.18/ex18.sce | 839584d79d7b81e51496ae617dcd13dd02daed87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | ex18.sce | clc
clear
//Input data
L=0.3;//Thickness of the wall in m
ti=320;//Inner surface temperature in degree centigrade
to=38;//Outer surface temperature in degree centigrade
A=1;//Assume unit area in m^2
//Calculations
Q=(A/L)*((0.01256/2)*(ti^2-to^2)-(4.2/3)*10^-6*(ti^3-to^3));//Heat loss per sq metre of surface ... |
74f56d07d3ba665657bab3c81d249826053660ef | 6e8df5b4cc6a12833566b3b67b0160d1937be025 | /Multimorphic_testing_data_code/results/OpenCV/stability/50_times/evolution_reduction.sce | dbd4f176e887f407c0c23864cbd186e4729cea21 | [] | no_license | templep/TSE_MM_test | 2b2cc79b9e6d46a80bf692227f367438adeca3f3 | 4d3c08489c182b77418fc5d4e55377d5b68e8334 | refs/heads/master | 2020-03-22T22:01:12.897309 | 2019-06-13T07:50:42 | 2019-06-13T07:50:42 | 140,728,734 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,470 | sce | evolution_reduction.sce | function save_result(m,filename)
csvWrite(m,filename);
endfunction
//display results with three different curves
// first curve is the curve representing the mean of computed data
// second and third are respectively data-std_dev and data+std_dev
function [a,b] = display(m,legs,colors,pos)
//clf();
... |
a78fffd27815f6c0e5b48227af0ba57b07405666 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH8/EX8.9/Example8_9.sce | 92565c3de83bfe94ff5f90179665edb11d182e4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | Example8_9.sce | //clear//
//Caption: Percent overhead to the inforamtion stream Using Reed-Solomon code for error correction
//Example8.9
//page 309
clear;
clc;
close;
S =8; //Reed-Solomon code with 1 byte
n = (2^S-1); // length of coded sequence
k = 239; //length of message sequence
r = n-k;
disp(r,'number of redundant byt... |
23b7b6c85d1c0d658b60512eafd8ef8c53c66688 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH13/EX13.3/Ex13_3.sce | 5109df3e6ae19a8be5d3e94574c952843e6ae14a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,131 | sce | Ex13_3.sce | clc
rk = 16 // Compression ratio
T1 = 15 // Air inlet temperature in degree Celsius
P1 = 0.1 // Air inlet pressure in MPa
T3 = 1480 // Highest temperature in cycle in degree Celsius
g = 1.4 // Heat capacity ratio
R = 0.287 // Gas constant
T2 = (T1+273)*(rk^(g-1)) // Temperature after compression
rc = (T3+273)/... |
67054c7ec2a9f70b3a911e7ceadefca1bfeacfd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3764/CH4/EX4.04/Ex4_04.sce | cf4cf3aa0dcf453a6ff15a1fce19648d7f23b1c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,422 | sce | Ex4_04.sce | clc
//
//Variable declaration
depth=10 // Depth(mm)
width=60 // Width(mm)
thickness=9 // Thickness(mm)
Smax=150 ... |
51fb4375cf83ecc7b026d551f7371626d7566c26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH1/EX1.9.a/ex_1_9_a.sce | 0a62626b4f08fca69f85404a75c74526a3095578 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | ex_1_9_a.sce | //example 1.9(a)//
clc
//clears the screen//
clear
//clears already existing variables//
disp('when one of the logic input of 2-input NOR gate is 0, then when A=1, Y=0 and if A=0, Y=1')
disp('Y=A''') |
39716794772f2b44dfbcb9795f7ce1c81fb79a12 | 48d313982e11468e3406524c01f1cba2700a2db5 | /Calcul numeric/ResurseTemaCalculNumeric/New folder/Integ22/var2/integr.sci | a270ad2bc644f4bf076c1b22d2c22616e478e4f5 | [] | no_license | albanionut/University | b8e918a192c131647099c57e1b2caa231de98d6d | b3d3dfe3cf64d0cddfaeb570151adf7d4c9ad0b7 | refs/heads/master | 2021-07-13T11:31:29.880681 | 2020-10-10T15:07:00 | 2020-10-10T15:07:00 | 214,223,943 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,529 | sci | integr.sci | function [integ,er]=integr(fct,a,b,finf,fsup,tol)
n=3
u=init(n)
old=integ2(u)
nmi=10
cont=0
ni=0
while cont==0 do
ni=ni+1
v=tab(u)
new=integ2(v)
nrm=abs(new-old)
old=new
u=v
if nrm<tol then
cont=1
er=0;
else
er=1
... |
8b4f552af43719bbcdbfe5f19bc73b2efff6f165 | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/physique/mecanique/ressort_osc/main.sce | d46dc6b79563e7bef92d43e3370d967201154957 | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 723 | sce | main.sce | // Oscillations d'une masse reliée à un ressort
// S. CELLES - 09/02/2007
// x.. + h/m x. + k/m x = 0
// x.. + 2 %lambda x. + %omega0^2 x = 0
// x.. = - 2 %lambda x. - %omega0^2 x
clear;
m = 0.050; // kg
k = 10; // N/m
h = 0.01; // N*s/m (f = h*v)
%omega0 = sqrt(k/m);
%lambda = h/(2*m);
// on pose u1=x et u2=x'=v
... |
f09a53cd57b5aa8179c537b659e0600890e4f6ac | 5523237709a6b6082f723934030bd36314a3b267 | /frontend/newMenu.sce | 8aa21e86138989d4bd9e121520029ceee1b092e8 | [] | no_license | mode777/retrolove | 54d8bd852ed67f4b6c27cdee63f35a5195fadc8c | 4626062c98797f3d4b3c7510ce4d5de1cf3b66e2 | refs/heads/master | 2021-06-01T22:36:42.600874 | 2017-12-18T09:40:50 | 2017-12-18T09:40:50 | 19,409,879 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,413 | sce | newMenu.sce | local OS = require("frontend/OS")
local cfg = require("frontend/config")
local bLeft, bRight, bStart = cine.input.getVirtualInput("Left"),cine.input.getVirtualInput("Right"),cine.input.getVirtualInput("Start")
local scene = {}
local sw,sh = love.window.getDimensions()
--I. General definitions and asset loading
local... |
f092ed15d8fca7ec9b300b4d50676bd712563b1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH8/EX8.17/Ex8_17.sce | d1099ee95c5b2617293f42b610d034a22d141945 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,543 | sce | Ex8_17.sce | clear;
clc;
disp('Example 8.17');
// aim : To determine
// (a) the partial pressure of each gas in the vessel
// (b) the volume of the vessel
// (c) the total pressure in the gas when temperature is raised to228 C
// given values
MO2 = 8;// mass of O2, [kg]
MN2 = 7;// mass of N2, [kg]
MCO2 = 22;// mas... |
a321565c65545ed2010bcd92ae1de28cd9564772 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.8/ch12_8.sce | 6e813b63b27ec2a72883dfeeff33a092dd169ee5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | ch12_8.sce | clear;
clc;
K_m=1.5;
T_e=50;
I_a=T_e/K_m;
r_a=0.9;
a=45;
V_s=415;
V_ml=sqrt(2)*V_s;
w_m=((3*V_ml*(1+cosd(a))/(2*%pi))-I_a*r_a)/K_m;
N=w_m*60/(2*%pi); printf("motor speed=%.2f rpm",N);
|
4453e7da1bde622f92dcb234a48820eaf136b30e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH4/EX4.6/Ex4_6.sce | 9a40f546658c2dce34ad06d16dc2cebada025e00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | Ex4_6.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 4.4.2\n')
//given data
m=0.9//mass in kg
K=1960//stiffness in N/m
Y=5//amp of vibration of support in m
N=1150//frequency in cycles per min
//calculations
Wn=sqrt(K/m)
W=N*2*%pi/60//frequency of vibration of support
bet=(W/Wn)
//case 1
zeta=... |
f6eb7897be523edb06c3b0d0bfc523a817c85784 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/jmp.instr.tst | db41abf5f216f83f2ed378abe00c0b6e15e6a076 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,158 | tst | jmp.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x0000010c vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000140 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x0d 0x94 0x00 0x00 jmp 0x20000
0x4: 0x0c ... |
8222cb050ad683466f81a362165e720103c43a6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH5/EX5.9/Ex5_9.sce | 1a4fc356aea443ba507fb363bb530c051be5edeb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,152 | sce | Ex5_9.sce | clc
// initialization of variables
T1=350+273 // initial temperature in kelvin
P1=1200 // initial pressure in kPa
P2=140 // final pressure in kPa
k=1.4 // polytopic index for air
//solution
// The values are taken from table E.1
Pr660=23.13// relative pressure @ 660K
Pr620=18.36// relative pressure @ 620K
P... |
201c7b47b12f20e3bfaddc531590e0e2e2cef356 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/Pruning_strategy/footholdPruning.sce | 634f5699346bb8b5aab89211e5470ebac24ab668 | [] | 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,035 | sce | footholdPruning.sce | clear;clc;getd(".");
close();
l1 = 0.1;
l2 = 0.15;
l3 = 0.3;
fact = 1;
rHS = fact*(l2+l3);
filen = mopen("./points.txt","r");
disp("File opened")
p = zeros(1,3)
i = 1
while ~meof(filen) do
p(i,1:3) = mfscanf(1,filen,"%f %f %f");
i = i+1;
end
mclose(filen);
disp("File closed")
pIni = zeros(4,3); // initial ... |
028f6862b023121e2f6dab8198ffd2dbd1529c6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH11/EX11.8/Ex11_8.sce | 24bfab0297e518fb17e68df056ec35d22543ff6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | Ex11_8.sce | // Chapter 11 example 8
//------------------------------------------------------------------------------
clc;
clear;
// Given data
Apogee = 30000; // Apogee pt of satellite elliptical orbit
Perige = 1000; // perigee pt of satellite elliptical orbit
// Calculations
a = (Apogee + Perige)/... |
fe3d2fb5952161cf8a64b80621998b705818dee0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH13/EX13.4.a/Example13_4a.sce | fcfd14de3ebfc6cba4dd5b04e53f31c7b468cd44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | Example13_4a.sce | clear;
clc;
//Caption: To find gain and resistance of Voltage Shunt Feedback
//Given Values
Rc=4;//in K
r=40;//in K
Rs=10;//in K
hie=1.1;//in K
hfe=50;
hre=0;
hoe=0;
//Required Formulae
rc=(Rc*r)/(Rc+r);
R=(Rs*r)/(Rs+r);
Rm=-(hfe*rc*R)/(R+hie);
disp('K',Rm,'Rm=');
B=-1/r;//in mA/V
D=1+(B*Rm);
Rmf=... |
aa51e67d5d7c637d23fe7fd80f0385696ef9c0f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH5/EX5.3/5_3.sce | 69afa72f76e1256a4b94af227150bcff8249e760 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | 5_3.sce | //cubic splines
//example 5.3
//page 188
clc;clear;close;
X=[1 2 3];
y=[-8 -1 18];
M1=0,M2=8,M3=0;
h=1;
deff('y=s1(x)','y=3*(x-1)^3-8*(2-x)-4*(x-1)')
deff('y=s2(x)','y=3*(3-x)^3+22*x-48');
h=0.0001;n=2.0;
D=(s2(n+h)-s2(n))/h;
a=poly(0,'x');
disp(s1(a),' s1(x)=');
disp(s2(a),'s2(x)=');
disp(s2(2.5),'y(2.5... |
35a0e04d8b8e4ad4dc3abda48038f3709f8e7bdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /37/CH2/EX2.2/Solved2.sci | 3bb51ed850b5bafd311106e617d8f21c400caf74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sci | Solved2.sci | //Solved Example 2:
//Implementing Stack using union:
function[stack]=sta_union(etype,a)
stackelement=struct('etype',etype);
[k,l]=size(a);
select stackelement.etype,
case 'int' then
a=int32(a);
stack=struct('top',l,'items',a);,
case 'float' then
a=double(a);
stack=struct('top',l,'items',a);,
... |
b69c78ed4c1e8a6c807b34bcc7c800f3bed58ae1 | b67defe3c1cae63dd1a79578f840d069568034e6 | /scilab/test_mulluck.sci | 17da38a87d3bf72440159e7d020945772d5f203a | [] | no_license | wmacevoy/luck | bf5d93ce00e8136634d715057a97706d3aa804b3 | 47e5c8eb1782a1b4f3f5b9e7583290d9a842532e | refs/heads/master | 2023-05-03T14:46:51.353817 | 2023-04-25T03:13:44 | 2023-04-25T03:13:44 | 33,452,250 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sci | test_mulluck.sci | function ok=test_mulluck()
ok=%F;
x=[1;5;7;5];
p=[0.1;0.2;0.3;0.4];
ans1=mulluck(x,p);
ans2=0.396540127837419;
assert_checkalmostequal(ans1,ans2);
x=[4 3
4 5];
p=[0.5
0.5];
ans1=mulluck(x,p);
ans2=[(0.5)*(0.5^8*(gamma(8+1)/(gamma(4+1)*gamma(4+1)))),...
(0.5^8)*(gamma(8+1)/(gamma... |
2ec632cde50202b899b9ab4ed2d41980a9c47c0d | 44dccf35d0d05580e3fc20af3b7697b3c638d82d | /testcases/detectHarrisFeatures/2.sce | 5b35075881ee6eafc0bbcd7fe28a3ad7c9f88fad | [] | no_license | surirohit/Scilab-Image-Processing-Toolbox-Unclean | 213caacd69badd81ec0f99a800f44a2cf8f79b5d | 3a8057f8a8d05e7efd83704a0e732bdda23fa3a0 | refs/heads/master | 2020-04-09T07:31:20.042501 | 2016-06-28T09:33:57 | 2016-06-28T09:33:57 | 60,406,367 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | sce | 2.sce | i = imread('test2.jpg');
corners = detectHarrisFeatures(i,'MinQuality',0.5);
disp(corners);
|
b2718d061f72f67cfc09254a08d59ef3ec4d6c9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH2/EX2.11/example_2_11.sce | cd85ad755dc79c7222f55504041c661aa745a87b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,630 | sce | example_2_11.sce | // exmple 2.11
clc
clear
close
a=[0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1];
b=[0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1];
c=[0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1];
d=[0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1];
for i=1:16
x=bitor(a(i),b(i));
y=bitor(c(i),d(i));
r(i)=bitand(x,y);
end
Y=r
ap=1;
bp=1;
cp=1;
dp=1;Yp=1;
for i... |
04817c2f490769fbb570337f7c38381a6e004d56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH13/EX13.6/Ex13_6.sce | b2ae6e05845119eb05eea22656a957ed868e7ba6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,271 | sce | Ex13_6.sce |
// Variable Declaration
x_G1 = 0.15 //Sub-transient reactance of generator 1(p.u)
x_G2 = 0.15 //Sub-transient reactance of generator 2(p.u)
x_T1 = 0.12 //Leakage reactance of transformer 1(p.u)
x_T2 = 0.12 //Leakage reactance of transformer 2(p.u)
x_s = 0... |
ceef3ea57dac8a331e827b5cf516e7011d841039 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH2/EX2.11.a/2_11a.sce | 4aea78977e96f4d1c805a49ef9f5fd6bd87a97ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | 2_11a.sce | clear
//Initialization of variables
Gf=11.57 //lb per lb of fuel
tg=500 //F
ta=70 //F
//calculations
Q1=0.24*Gf*(tg-ta)
//results
printf("Heat loss = %d Btu per lb of fuel",Q1)
|
668742e2d1e763f0248c6e7d25fdc5b1d16fb2b9 | c7ae4be7c00d277ebf8f41b417dac91c03fea434 | /optimization/gradient_descent_fix_optimal/optim_gfo.sce | b25363a95b9880eff9a198ed89fceeafc86f3668 | [] | no_license | xsher/data_science | dfa829f2cbb68822f356afcf32dbd967b63675b8 | bf4e619f361d27c635a2c99e903df6b25e071f90 | refs/heads/master | 2020-09-09T17:59:41.318865 | 2019-12-03T09:26:50 | 2019-12-03T09:26:50 | 221,519,239 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,201 | sce | optim_gfo.sce | // load the cost functions
exec('/Users/sherly/Documents/EIT-UNS/uns/S2P1/optim_fonctions.sci', -1)
function [u0, couts]=pasfixe(EPSG, kmax, rho0, u0, cost)
if cost == "costR" then
cost_fn = costR
elseif cost == "cost1" then
cost_fn = cost1
elseif cost == "cost2" then
cost_fn = cost... |
5080cdee79d4bcb24d75a8906687ad165f8013c9 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /macros/open_serial.sci | 980e8527847780387474849ffcc9974a3785bac1 | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,282 | sci | open_serial.sci | //
// This file is part of Arduino toolbox
// Copyright (C) 2012-2012 - DEMOSCIENCES - Alain CAIGNOT
//
// 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 availa... |
3f8a62a5083f20c510ab50f71c640b6e1247ab86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH8/EX8.28/Example8_28.sce | d4d0b68a6aed82d261c23894f8b036a91b1a70b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | Example8_28.sce | close();
clear;
clc;
Vbe = 0.7;
alpha = 0.99;
Icbo = 0;
Vb = 1;//V
Re = 100;
Rc = 1000;
Vcc = 10;
Icbo = 0;
Beta = alpha/(1-alpha);
//Part (i)
Rb = 1000;
Ic = Beta*(Vb-Vbe)/(Rb+(1+Beta)*Re)+(Rb+Re)/(Rb+(1+Beta)*Re)*(1+Beta)*Icbo;
//Quiescent value of Vce is
Vce1 = Vcc - Ic*(Rc+Re);
//Part (ii)
Rb = 10... |
6c57b75c9a602298446c11112a0d2544dea8a2f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH6/EX6.7/ex6_7.sce | e04698b35e47e26c9d45f6101d2affe1b7e77d2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | ex6_7.sce | Ndemitter=1*10^19; // donor concentration in emitter
Nabase=1*10^17; //acceptor concentration in base
de=0.8*10^-6; //spatial extent of the emitter
db=1.2*10^-6; //spatial extent of the base
alpha=2.8125;
beta=(alpha*Ndemitter*de)/(Nabase*db);
disp(beta,"Maximum forward current gain"); |
9e0a008498f88fd34a624e68491210e0147fe2dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH2/EX2.2/EX2.sce | ec101240ec333f9230a0a6610ea181b70e7afa31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | EX2.sce | // Example 2.2: Change in diode voltage
clc, clear
ID1=1; // Let the initial diode current be 1 A
ID2=15*ID1; // Final diode current
VT=25e-3; // Voltage equivalent to temperatue at room temperature in volts
eta=1; // for Ge
deltaVD=eta*VT*log(ID2/ID1); // Change in diode voltage in volts
deltaVD=deltaVD*1e3; //... |
c1642efadadc723f019fa232e5e11ee20a653b44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.1/EX3_1.sce | 3ef633c68ddd8cbde7098fe5e7b5b8b99445b4c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | EX3_1.sce | //EXAMPLE 3-1 PG NO-172
VL=400;
Vp=400/sqrt(3);
Z=8-%i*10;
IL=Vp/Z;
S=sqrt(3)*(VL*IL);
P=S*(cos(-51.34));
Q=S*(sin(-51.34));
Von=230.94+%i*0;
Vbn=-115.47-%i*99.99
disp('i) RMS = '+string (S)+'A ')
|
b76b7d2768df030e453aa1ceb48d07423e64d209 | a462bcee025e79a52ab23586a86d1f831d48c682 | /Lab 3/quartus/db/soc_system.sld_design_entry.sci | 89299edaf5f1f961f53bb3978ba9b46a5175dc8c | [] | no_license | bettencb/cmp_sci_design | 930de4d4ff50e1b068e52f3ac14ce057dd58cc44 | 4edd7197c0f15255110ffc2b2d054c79b47ced85 | refs/heads/main | 2023-01-02T23:57:06.782563 | 2020-10-12T07:58:52 | 2020-10-12T07:58:52 | 300,545,067 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | soc_system.sld_design_entry.sci | version https://git-lfs.github.com/spec/v1
oid sha256:11eddbdd27e856c427babd22ff25869da6a08c15c6aa8e9b7dcfe87c37923574
size 223
|
2f9fe569c817bc7f344f15b9a87e2958c2f0ee33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH2/EX2.2.4/Example2_2_4.sce | 10b7931c37b6a6f72471bc54c76b943534902fb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example2_2_4.sce | //Example 2.2.4 page 2.6
clc;
clear;
z=12; //fibre length
alpha = 1.5;
p0= 0.3;
pz= p0/10^(alpha*z/10);
pz=pz*1000; //formatting pz in nano watts...
printf("The power at the output of the cable is:%.2fx10^-9 W",pz);
alpha_new= 2.5;
pz=pz/1000; //pz in uWatts...
p0_new= 10^(alpha_new*z/10)*pz;
printf("\... |
0b59dcb9587a69a33ee79a3925d8349af44f58d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH1/EX1.5/Exa1_5.sce | 10852962c86b8e386a56971cce2ea12bd453a4b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | Exa1_5.sce | //Exa 1.5
clc;
clear;
close;
//given data
a=4.75;//lattice constant in Angstrum
a=a*10^-10;//in meter
disp("Surface density in FCC on (111)Plane : dp = 2.31/a^2");
dp=2.31/a^2;//in atom/m^2
dp=dp/10^6;//in atom/mm^2
disp(dp,"Surface density in FCC on (111)Plane in atoms/mm^2: "); |
cc2ab6645c8052814f63433327a7e8289d4f8dad | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH14/EX14.2/Ex14_2.sce | 55272601b73edb1d17a489010a9b3dd40a6db343 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | Ex14_2.sce | clc;
//page 741
//problem 14.2
//The Antenna noise temperature is T_ant = 10 K
T_ant = 10;
//The reciever noise temperature is Te = 140 K
Te = 140;
//Midband available gain of reciever gao = 10^10
gao = 10^10;
//Noise bandwidth is BN = 1.5 * 10^5 Hz
BN = 1.5 * 10^5;
//Boltzman constant k = 1.38064... |
ffd7352485e79e7d864e0ff987453c71b3537ef0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH7/EX7.1/example7_1.sce | a4744993543ac42fb86d3e877ca8a24ba0844525 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | example7_1.sce | clc
// Given that
E = 1.024e-3 // total energy of particle in J
T = 2 * %pi // time period of S.H.M. in sec
x = 0.08 * sqrt(2) // distance of partile in meter
t = %pi / 4 // time in second
// Sample Problem 1 on page no. 7.22
printf("\n # PROBLEM 1 # \n")
A = x / sin((2 * %pi * t) / T)
M = (E * T^2) / (2 * %pi^2 * A^2... |
5ea62c6b69576d0d47a6489edf926a2b01cb0db6 | e0fcb1aede35832965ea980460a3a2bdade5adee | /task1.sce | 8f0b8885bbe5c05f6fdac503b6ede468e4ca680b | [] | no_license | fatawesome/dsp-ass4 | e06bcae70f93bb54b439bb0abb6d48e77e26fd86 | 2cfcb0d8be06e91231d12ff10648542ed76c0e1d | refs/heads/master | 2022-04-19T04:29:57.088781 | 2020-04-15T19:14:03 | 2020-04-15T19:14:03 | 256,013,336 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,388 | sce | task1.sce | clear()
clf()
// Read signal
//[s, Fs, _] = wavread("signal_with_low_freq_noise_2.wav")
load("signal_with_noise_and_filtered.sod");
// Take the first channel
s = signal_with_noise(1, :)
// Plot
//plot(s)
//xlabel("Time, n", 'fontsize', 2)
//ylabel("Amplitude", 'fontsize', 2)
//title("Signal with noise in time domain",... |
55245f12d7753b41fb10234f016766118b0d0161 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH8/EX8.2/ex_8_2.sce | 8628e9b463c08c2418a53c6fdc3ad13609bcdbb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | ex_8_2.sce | //Example 8.2 // Dipole moment of slab
clc;
clear;
//given data :
D=5D-4;// displacement vector magnitude in m2
P=4D-4;// Polarisation vector magnitude in m2
E=D-P;// Field Intensity in m2
V=.5;// volume of slab in m3
k=D/E;// dielectric contant
p=P*V;//total dipole moment in m5
disp(k,"Dielectric constan... |
cefdd0c61ac9a9b36c6ac56ad9c213cea26a95bf | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/unr_enum_02.tst | 3590ed8ecfbb3a99ca1b1ce6cfae762839978886 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | tst | unr_enum_02.tst | // @Harness: verifier
// @Purpose: "Test for unresolved enumerations"
// @Result: "UnresolvedEnum @ 7:19"
architecture unr_enum_02 {
operand-type A[5]: int [0,31];
enum-subset E: A {
r = 0
}
}
|
3a902a97f39205d33b0608cbe22295081a8c4819 | 117d2e73730351cc15ef378cd319a907c507e476 | /localização de raízes/bissecao.sci | d5710e9c61ab89d721c5a2343a6f080827b39a8b | [
"Apache-2.0"
] | permissive | Trindad/algoritmos-calculo-numerico | b900768350277a46da636a3d0da9b8c83c4da780 | 1dcafd39d2281cb3065ba9742c693e5e49e2a08c | refs/heads/master | 2021-01-22T21:28:09.251265 | 2014-07-23T14:08:55 | 2014-07-23T14:08:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 956 | sci | bissecao.sci | // Metodo de Bisseção para e^x-x^2
clear;clc;
format (25)
E = 0.01;
w = 0;
//entradas serão as variaveis a e b
function [x]=PONTOMEDIO(a,b)
x = (a+b)/2;
endfunction
i = 0;
fxn = 1.00;
m = 0.0;
//diferença entre XN anterior e atual
dif = 0.00;
//temporário para XN anterior
temp = 0.0;
a = -2;
b = 0;
// rep... |
4a9ccc5d6f1b62fe63f00ebeb9abc4f6ce20c88d | 75cf6ce95abd5da4e21da4612362097cce9810a6 | /NUBIA.SCE | 2595c84725c65705f357c03233989ea35b453734 | [] | no_license | petervillar/Nubia | 1da3aea394db52e647319de8c8a495d36d92da66 | 6b3dd9f82f777952fd68ebb965fea09cd0ce63b4 | refs/heads/master | 2022-04-21T02:34:31.291531 | 2020-04-13T20:03:06 | 2020-04-13T20:03:06 | 187,095,042 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22,932 | sce | NUBIA.SCE | ;------------------------------------------------------------------------------
;
; Nubia the Priestess - Demo version
;
; (C) Peter Villar
; Stockholm, at the end of May 2019
;
;------------------------------------------------------------------------------
;
;
#include symbols.sce
/CTL ;Control Section (null char i... |
f821f1744350ed65a801c36c4d053a21bf8e64ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH6/EX6.8.1/EX6_8_1.sce | ddb7c85e8552bafc673cb632f22b77da3dd51559 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,177 | sce | EX6_8_1.sce | //Example No. 6.8.1
clc;
clear;
close;
format('v',5);
n=4;//(No. of elements)
//d=lambda/2;(spacing)
dBYlambda=1/2;//(spacing/wavelength)
theta=0;//degree(angle)
//Beta=2*%pi/lambda
disp("Part (i)");
Beta_into_lambda=2*%pi;//(Coefficient)
//alfa=-Beta*d
alfa=-Beta_into_lambda*dBYlambda;//radian(Progressive... |
b73b6252c1917e1f1505f5735b402bb72a9d62e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH11/EX11.6a/eg11_6a.sce | cd2bc29b03c17e40514c6c2c562b5ab89917cdc1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | eg11_6a.sce | X= [66 72 81 94 112 116 124 140 145 155];
D= 0.4831487;
n= 10;
Dgiven = 1.480;
Dstar = (sqrt(n) + 0.12 + (0.11/sqrt(n)))*D;
disp(Dstar, "Dstar is ");
if(Dstar>Dgiven)
disp("Null hypothesis is rejected at 2.5% level of significance")
else
disp("Null hypothesis is accepted at 2.5% level of significance")... |
b41be9af25677f48f3de4f67986b2b51f2b95293 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH7/EX7.2/example7_2.sce | a9f859443001b4b057ac1ca21657f05d0fb65ccc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | example7_2.sce | // Find amplification
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 7-2 in page 312
clear; clc; close;
// Given data
mu=30; // FET parameter
rd=5; // FET parameter
Rd=10; // FET parameter value in ohms
R=50; // Resistor value in ohms
// ... |
fcf68cc520f42c10b9e65cf37f2bc062ab88ef66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH2/EX2.27/Ex2_27.sce | 2a12e9ec204812203250062d88175e99fa5fbf3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | Ex2_27.sce | clc
Nd=6*10^16
disp("Nd = "+string(Nd)+" cm^-3") //initializing the value of donor concentration.
Na=10^17
disp("Na = "+string(Na)+" cm^-3")//initializing the value of acceptor concentration.
no=1.5*10^10
disp("no = "+string(no)+" cm^-3")//initializing the value of electron and hole per cm^3.
p=((Na-Nd)+sqrt((Na... |
824b59fd04483217f9c0bae448b2a8eefdced7e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH13/EX13.11/Example13_11.sce | 77b115ae2309faea2434f1730a236114541a84b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 968 | sce | Example13_11.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 13: RATINGS,SELECTION,AND MAINTENANCE OF ELECTRIC MACHINERY
// Example 13-11
clear; clc; close; // Clear the work space and console.
// Given data
// 3-phase distribution system
V = 2300 ; // Lin... |
16434f52c12dbd23d334fdd210cd7411bb8c40fb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.19/Ex1_19.sce | 76eafda646dd640bf61cea09a55abc201438c1cd | [] | 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 | 275 | sce | Ex1_19.sce | errcatch(-1,"stop");mode(2);//Example 1_19
;
;
//To find the diameter of 20th ring
D4=0.4 //units in cm
D12=0.7 //units in cm
D20=sqrt(2*(D12^2-D4^2)+D4^2)
printf("The diameter of the 20th dark ring is %.4f cm",D20)
exit();
|
5f2de45abd4ddd7d2086cdbb8f92050c10aa250c | 08fe4df45181e37cb84ba1610cdfb219b4142434 | /macros/SciDesSet.sci | df0fb3a8260e4aff3a7dc3daf533ba60d1f60dbf | [] | 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 | 16,466 | sci | SciDesSet.sci | function SciDesSet()
global bOK;
bOK = %f;
global AutoGenHelpToolbox_root;
screen_area = get(0, "screensize_px")
SciDesUI_wight = 540;
SciDesUI_high = 465;
SciDesUI_x = (screen_area(3)-SciDesUI_wight)/2;
SciDesUI_y = (screen_area(4)-SciDesUI_high)/2;
//R = 255;G = 233; B = 220;
R... |
e5313daa69e8bd3074c3e25a69056409d85484f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH7/EX7.4/Ex7_4.sce | 8e6515acdbf6c1eeee52e2096437f2ef306b6a93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | Ex7_4.sce |
// Example 7.4
r=0.75*10^-2; // Radius of Solenoid
A=%pi*r*r; // area of Solenoid
N=900; // No,of turns
l=0.3; // Length of Solenoid
mo=4*%pi*10^-7; // Permeability of free Space
L=(N*N*mo*A)/l; // Formula of Induction of a Coil
I=5; //... |
15cf06af030ea8f8df364e305920cf1fc3f6789a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH3/EX3.11/Example3_11.sce | efce44a8d659159345affd6d3cb1ef0ec605745e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | Example3_11.sce | //Example 3.11
clc;
clear;
close;
format('v',6);
//Given data :
g=9.81;//gravity
D=4;//meter
xbar=(10+7)/2;//meter
A=%pi*D^2/4;//meter^2
w=g*1000;//in N/m^3
p=w*A*xbar/10^6;//in MN
disp(p,"Total pressure in MN : ");
BC=3;//meter
AB=4;//mete
sin_theta=BC/AB;
IG=%pi*D^4/64;//in m^4
h_bar=IG/A/xbar*sin_th... |
d71cb6aefc2ce4fb244b1868d7344de07fc1ef3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3813/CH3/EX3.9/Ex3_9.sce | cc8e010e5e54fbfc2b4873c9170544c758059957 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_9.sce | //Electric Drives:concepts and applications by V.subrahmanyam
//Publisher:Tata McGraw-Hill
//Edition:Second
//Ex3_9
clc;
clear;
L=0.003;//Inductance in mH
Id=64.9;//Current in A
V=162.25;//voltage in V
Vs=150;//Supply voltage in V
f=50;//Frequency in Hz
Rd=2.5;//Resistance in ohm
Eb=-250;//Back emf in V
... |
ab32a0573bf19956ed91f68e0068aee3bd3c580a | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH4/EX4.2.3/4_2_3.sce | 564f1c19e6084912d0ad5fd81d50c947afba4129 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | 4_2_3.sce | clc
pathname=get_absolute_file_path('4_2_3.sce')
filename=pathname+filesep()+'423.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
m=m1+m2
printf(" \n Total mass after mixing m=%d g",m)
x=(m1*x1 + m2*x2)/m
printf(" \n The composit... |
e08660eaa7e0974f9750a7cabc5d963a79d79eaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH15/EX15.1/Ex15_1.sce | 51910d2d5ab3aa0e561159c7530e12983fc5f576 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | Ex15_1.sce | //=====================================================================================
//Chapter 15 example 1
clc;clear all;
//variable declaration
Ip = 25; //power level ot the third-order intercept in dBm
M = -85; //minimum detectable signal in dBm
//calculations
Rd = (2/3)*(Ip-M... |
964c5027d36ee3cfc798e2aa8112929e209aa703 | da61229fdeb9703e2f3d8a7ff11c4cb8fe3c38bd | /T3/tst5_sv.tst | 58a34377e21436943e9abf2c47726b2597e4b5dc | [] | no_license | andreianghel/ACS | 152eb64c14064ff7c88a1afd64ea370445764996 | 837c2ec0265b8d0d9ab4008385fc25cf29e65e98 | refs/heads/master | 2021-05-27T18:25:12.818905 | 2013-03-19T17:12:30 | 2013-03-19T17:12:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 77 | tst | tst5_sv.tst | a = 3
c = true
b = a + c
b = a + c * 1
b = c * true
b = a + 1
d = 1 + b |
bd4c9d2db844f73168548222ad05adceba4c6022 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH1/EX1.9/1_9.sce | 8b05173d00a93bd365a4dee005c241aab62bc473 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1_9.sce |
clc
//initialisation of variables
clear
Hb= 20 //in
Ha= 1 //in
a= 20 //degrees
//CALCULATIONS
hb= Hb*sind(a)
dh= hb+Ha
dP= dh/(12*2.309)
//RESULTS
printf ('Pressure difference between tapping points = %.3f lb/in^2 ',dP)
|
aa5f472fe6b115f7a02c1668f2cbff7afcf539bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH5/EX5.8/Ex5_8.sce | 9194eff06d1ede1d7c4a58bff4d577bc7ce38f64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | Ex5_8.sce | //Example 5.8
clc;clear;close;
format('v',6);
C=4000;//MW
f=50;//Hz
L=2500;//MW//Load
R=2;//Hz/p.u.MW////Speed regulation constant
H=5;//sec////Inertia constant
delPL=2;//%////change in load
delf=1;//%////change in frequency
disp("Part(a)");
D=delPL/delf*L/f;//MW/Hz
D=D/C;//p.u.MW/Hz
Beta=D+1/R;//p.u.MW/Hz... |
bcad20b359d13c2e7ad1280ce9d1cdb4094e2a97 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_U._Mukherji_1026.zip/Engineering_Physics_U._Mukherji_1026/CH6/EX6.19/Example6_19.sce | 4f46f229f15dceb26dc542029d3797a909490354 | [] | 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 | 182 | sce | Example6_19.sce | errcatch(-1,"stop");mode(2);//chapter6,Example6_19,pg 148
Ie=1*10^-3
Ib=0.04*10^-3
Ic=Ie-Ib
alpha=Ic/Ie
printf("current gain\n")
printf("alpha=%.2f",alpha)
exit();
|
e5c3a8268d21af01f6611b9b98d1fc8dd7dc29af | ceac2c6b2806b34953849b33ded7f72540b9a075 | /ro05_tp00/expo2.sce | 552c09b3568f0830650696a0716d29d802dde309 | [] | no_license | ahars/ro05 | ff9a5c97bd5501b01e5b4f5a40e0a2761ed92e0a | c326c09e8388cd32506c90da44e93ab7cd8b43bc | refs/heads/master | 2021-01-01T15:59:37.716364 | 2014-01-23T13:31:28 | 2014-01-23T13:31:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | expo2.sce | // expo2.sce
clear;
rand("uniform");
lambda = 1;
N = 1600;
a = 0;
b = 5;
// les N tirages
data = - log( rand(1,N) ) / lambda;
// subdivision pour l'histogramme
s = a:0.20:b;
// la densite
x = a:0.01:b;
px = lambda*exp(-lambda*x);
clf;
xtitle( "Histogramme: loi exponentielle de parametre " + ..
string... |
d09ed6eb2cb1063c65aefddf08282fe2164b5697 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH19/EX19.2/19_2.sce | aae1907f3a7694125d5a3413390ab8659e42f1d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 687 | sce | 19_2.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 19.2
//calculation of the angular magnification and the length of the microscope tube
//given data
fo=1*10^-2//focal length(in m) of the objective lens
fe=2.5*10^-2//focal length(in m) of the eyepiece
u=-1.2*10^-2//o... |
03430e5f566032cc7ad967506df4feb52e3ad946 | 99602a3df67f0bf806ffb5e714bbafcdd7d6ae88 | /tp/tp5/NB.sci | 2054e47a75678bfb2fbd0bee05f27f12e3bdcbc2 | [] | no_license | BenjaminVanRyseghem/RDF | cbe77b76bb18680c03f16360fdad40723de25a68 | e9ed372d66fa4152426b3b1115448323ed0e9b58 | refs/heads/master | 2023-08-31T14:15:37.668811 | 2013-04-11T15:49:58 | 2013-04-11T15:49:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,066 | sci | NB.sci | //stacksize('max')
//loadmatfile('mnist_all.mat');
function frequences = frequencesMatrix(x_train)
frequences = ones(10, 256)
for i = 0 : 9
sub = x_train((i*n+1):(i+1)*n,:)
sorted = (tabul(sub,'i'))
sub = sorted(:,2)
tsub = sub'
frequences(i+1,:) = tsub
end
frequ... |
6381be9715644ce5f38d6367e1af5ed8b4033220 | 53938ad1172790849e9fc4c5db5bec8478c91bc7 | /SimpsonCompuesta.sci | 644dc25240b46de9c4bcd24e49fa59c50c390502 | [] | no_license | JonasBarcat/metodos-numericos | ef1a8696d4d699011b44d7c49de2e4885c67797c | cb57c49e426e7d41374a40cb9f93713071c0fe31 | refs/heads/master | 2020-08-09T21:32:27.424462 | 2019-11-29T13:34:32 | 2019-11-29T13:34:32 | 214,179,750 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sci | SimpsonCompuesta.sci | function []=Simpson(x,funcioncita)
h=x(2)-x(1);
//suma de pares
i=2;
sumapares=0;
while (i<length(x))
sumapares=sumapares+funcioncita(x(i));
i=i+2;
end
// printf('resultado %f',sumapares);
//suma de impares
i=3;
sumaimpares=0;
while ... |
18a7375b7ce6e944e82779da3cb362b3084780a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH6/EX6.11/Ch06Ex11.sce | 10e9ef8553b81d91f7824425f734cfc66e1b786d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch06Ex11.sce | // Scilab code Ex6.11: Pg:261 (2008)
clc;clear;
mu_O = 1.55336; // Refractive index for an ordinary beam
mu_E = 1.54425; // Refractive index for an extra-ordinary beam
lambda_O = 5.893e-05; // Wavelength of ordinary light, cm
lambda = 4.358e-005; // Given wavelength of light, cm
PR = 2*%pi/lambda*lamb... |
906e9a820afca9f8190fb3a9f46f75978d3b6d9f | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/101.tst | 4af71cf0ce624013dee491416ddbc5717dc12b68 | [] | 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 | 126 | tst | 101.tst | int f(int, int b);
int f(int a, int b);
int a, b, c, d;
int f(int c, int d)
{
c = d;
}
void main(void)
{
f(a=b,c=d);
}
|
66ba39442919ba6e71cf29ea792df85644248547 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_hp8_usi_d/~BivLCM-SR-bfi_hp8_usi_d-PLin-VLin.tst | cbca541bab7c1fe188ec425244f7158e65a30182 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_hp8_usi_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.234989D+00
... |
f527d4f08cda1a0be9d22618bcf3b504da4145b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH6/EX6.11/Ex6_11.sce | dd1763409a35f5e14156a887fbba1ee28f7c958a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,278 | sce | Ex6_11.sce | // chapter 6
// example 6.11
// Find displacement factor, harmonic factor and input power factor
// page-301
clear;
clc;
// given
E=120; // in V (voltage supply)
f=50; // supply frequency
alpha=%pi/6; // in radian (firing angle)
// calculate
DF=cos(-alpha/2); // calculation of displacement factor
// Since HF=sqrt((Irms... |
84a8fbf70e7cb787c787a1c9ef87c8e1a38b282c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH5/EX5.29/Chapter5_Exampl29.sce | 7660d51e03fd178a738ec4b8025030977968e573 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,546 | sce | Chapter5_Exampl29.sce | clc
clear
//INPUT DATA
p1=1;//initial pressure in bar
pd=16;//delivery pressure in bar
n=1.25;//index of compression
m=10;//mass flow rate
R=0.287;//gas constant
t1=288;//temperature in K
cp=1.005;//specific pressure
k1=0.04;//clearance retio
k2=0.06;//clearance ratio
N=400;//speed in rpm
g=1.4;//constant... |
ed3d06447aa1527b6d94c81f115fb900c8b5f718 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH5/EX5.20/Ex5_20.sce | bacecede41c2855eb2d377030aa2d13e4598beaf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | Ex5_20.sce | clear;
clc;
b1 = 7/2;// inches
d1 = 7/2;// inches
t1 = 3/8;// inches
l = 18;// inches
I_xx1 = 2.80;// in^4
I_yy1 = 2.80;// in^4
J = 1;// inch
A = 2.49;// in^2
I_xx = 4*(I_xx1 + A*(l/2 - J)^2);// in^4
k_xx = sqrt(I_xx/(4*A));// inches
printf('I_xx = %.2f in^4\n k_xx = %.1f inches',I_xx,k_xx);
|
9beee9112343e24eb039bb15bd53cc908204e4ab | 2eac84edf941c64588fef76f10d02309aabcb2fb | /DemoApplication/Blinky_TI_TM4C123GH6_LaunchPad/X2CCode/ModelParameter.sce | d3ba6b414eb9e6068f0fe68caa4e8cc1ef9d5d78 | [
"BSD-3-Clause"
] | permissive | AlexisTM/X2C | fdd93bd33b931ea448ba516f5e3f9af6a5149a6a | 31f39b598afe271a7fd46ef1ee9e06c410b1120c | refs/heads/master | 2021-08-07T04:26:24.391617 | 2017-11-07T14:34:33 | 2017-11-07T14:34:33 | 109,844,123 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sce | ModelParameter.sce | // File with model parameters such as sample time, scaling factors, etc...
//
// Copyright (c) 2016, Linz Center of Mechatronics GmbH (LCM) http://www.lcm.at/
// All rights reserved.
//
// $LastChangedRevision: 1013 $
// $LastChangedDate:: 2016-09-01 10:52:56 +0200#$
//
// This file is part of X2C. http://www.m... |
a956b6b72c3d187c8457ef2a206388693183f078 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH13/EX13.5/ex13_5.sce | 51ff9b0e4943c79da91b9e415125670e1ec694b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 645 | sce | ex13_5.sce | //Chapter-13, Example 13.5, Page 389
//=============================================================================
clc
clear
//INPUT DATA
a=0.97//common-base DC current gain
b=200;//common-emitter DC current gain
//CALCULATIONS
b1=a/(1-a);//common-emitter DC current gain when a=0.97
a1=b/(b+1);//common-base ... |
58bc70def54597b593fce96ea7e9d8092f7b3128 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH3/EX3.20/Ex3_20.sce | 945eccd96f40fa9effb439b156638206114c65a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Ex3_20.sce | //Ex:3.20
clc;
clear;
close;
a=25;// max radius in um
y=0.8;// operating wavelength in um
NA=0.343;// numerical aperture
v=(2*%pi*a*NA)/y;// v-number
M=v^2/2;//number of modes
printf("The v-number =%f", v);
printf("\n The number of modes =%f", M); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.