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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
27b0c529b21faf56ba3c1ac57d79462cab273643 | 7c8f8373b8f5e06d3ebe218c8485afadb95cf70f | /scilab/fibonacci.sci | 9aead034183fe6a5ce5fbf5dbba79902a319566f | [] | no_license | invalidCorgi/polibuda | 432b41e3ebbd169812017f0fd462b59f428b9516 | 4a4cd16efee42e010140bd991fbd5cf034955507 | refs/heads/master | 2021-09-24T11:50:05.097437 | 2018-10-09T11:12:10 | 2018-10-09T11:12:10 | 119,171,250 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sci | fibonacci.sci | function F = fibonacci(n)
if n<1 then
F=[0]
return
end
if n==1 then
F=[1]
return
end
F=[1 1]
j=3
while(j<=n)
F(1,j)=F(1,j-1)+F(1,j-2)
j=j+1
end
endfunction
|
aaef3dc3c092456375af3f5aae61732612c008a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH7/EX7.6/exm7_6.sce | 636d57ab3b55c93bf1d50ed2b837f0a73b7c04de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exm7_6.sce | //page no 228
//example no 7.6
// ARITHEMETIC OPERATIONS.
clc;
disp('A-->30H');
disp('2040H-->68H');
disp('2041H-->7FH');
disp('LXI H,2040H'); // loads HL register pair.
disp('H=20H L=40H M=68H');
disp('ADD M');
A=hex2dec(['30']);
M=hex2dec(['68']);
S=A+M; // adds the contents of A and data at memory... |
38cf3630fbf78cdb03399fd5ec06f7f2ae5e28ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1844/CH5/EX5.8/8.sce | 066e6c3fc94820485c92ae729c029edf7ef487fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | sce | 8.sce | clc
TB=180
MB=184
MD=TB-MB
printf('Declination = %f E\n',MD)
TB=360
MB=350+2/6
MD=TB-MB
printf(' Declination = %f E',MD)
|
614e4021fff553e904808d4d1b2b182f2a822a06 | af86eb5dd11a276a153a618491fd2a0af057d237 | /Communication Engineering - Scilab/PCM with Bit depth 4.sce | 356154b8e4de8da841b482fb378c90a0206f9f3e | [] | no_license | gsiddhad/Mathematics | c2b2b78536e0769ea65791128b12aceea3c6f720 | 4bf16c674d84d1498b874c0f3b3d4b31785aae47 | refs/heads/master | 2023-03-06T02:52:46.933057 | 2021-02-20T11:17:58 | 2021-02-20T11:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,508 | sce | PCM with Bit depth 4.sce | clc;
close all;
clear all;
n=input('Enter n value for n-bit PCM system : ');
n1=input('Enter number of samples in a period : ');
L=2^n;
% % Signal Generation
% x=0:1/100:4*pi;
% y=8*sin(x); % Amplitude Of signal is 8v
% subplot(2,2,1);
% plot(x,y);grid on;
% Sampling Operation
x=0:2*pi/n1:... |
be4da61d296dde58fc707a154678778a46e7c97a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH5/EX5.3/Chapter5_Example3.sce | 1b2174c9cb3c8079c637387ad6d541fb6f7b55a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 834 | sce | Chapter5_Example3.sce | //Chapter-5, Illustration 3, Page 251
//Title: Air Compressors
//=============================================================================
clc
clear
//INPUT DATA
IP=11;//Indicated power in kW
P1=1;//Pressure at entry in bar
P2=7;//Pressure at exit in bar
n=1.2;//Adiabatic gas constant
Ps=150;//Piston sp... |
da244bf0deb312c1274a204abfd275bdac57f8cd | d5b4be7d0da3a9d903ec38f474328851d994e48e | /AV_Speech_Study.sce | eaceeee76424df52e49e70e2acbbdd9c824a117c | [
"BSD-3-Clause"
] | permissive | mickcrosse/AV_speech_Presentation_code_EEG | 75d852aaed7a737e1f7e8bafe67f6815d8b99d98 | 856b715237926c9afcd958cb4820457d83db3d43 | refs/heads/master | 2020-04-03T23:13:57.985835 | 2018-10-31T22:18:51 | 2018-10-31T22:18:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,436 | sce | AV_Speech_Study.sce | pcl_file = "Incongruent_Speech_Study.pcl";
default_path = "C://Users//TCDUSER//Documents//Experiments//Incongruent Speech Study//Stimuli//";
response_matching = simple_matching;
response_logging = log_active;
active_buttons = 1;
button_codes = 125;
write_codes = true;
pulse_width = 10;
begin;
picture {} default;
... |
20bb2680a0ced9207d2895d58a189eac5b300025 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/demos/data_acquisition/microdaq.dem.gateway.sce | 5f9fdaf6023e4f73873bb41525d7feaa4c358a25 | [
"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 | 999 | sce | microdaq.dem.gateway.sce | // Copyright (c) 2015, Embedded Solutions
// All rights reserved.
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function subdemolist = demo_gateway()
demopath = get_absolute_file_path("microdaq.dem.gateway.sce");
subdemolist = ["Analog input scanning (script)", "ai_scan.dem.sce" ... |
e13a42fdaff28e06239870f60a902fffa4a1ae9d | 89828b3675566659bf5daddc18fa5b3f22e93dd6 | /01_Signal_processing/01_Fourier_series_analysis/02_symmetric_triangle_wave/symmetric_triangle_wave.sce | bfd2defb29c886cb81eb8dff5653c30ef6ebeb9c | [] | no_license | EfrenDRF/scilab_DSP | c7671ac11535771bbbf9491150610c1bc2e19304 | 71f015ad0aab2dd84c0d7b5922f7bc9ff31f4743 | refs/heads/master | 2022-11-14T05:32:38.907614 | 2020-06-28T23:29:34 | 2020-06-28T23:29:34 | 272,041,014 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,174 | sce | symmetric_triangle_wave.sce | /*
*
* Author: Efren Del Real Frias
* File_name: symmetric_triangle_wave.sce
* Date: June 13th 2020
* Software tool: scilab 6.0.2
* Description: Displays the graphical representation of trigonometric Fourier
* series.
* Using coefficients have already calculated of triangle wave
*... |
e14178cd7893205dd087db6e0cd9296edea4d48d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH4/EX4.7.5/Ex4_5.sce | a004b932fa47c639860cef0637a74159ad6de023 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_5.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 4:Metal-Semiconductor Contacts
clc
clear
//given
e=1.6*10^-19//e=charge of an electron in C
V=0.32//V =applied forward bias in V
kB=1.38*10^(-23)//kB=Boltzmann's constant in J/K
T=300//T=Temperature in Kelvin
Js=0.61//Js=reverse saturation current density... |
0d02edf8aebb889e0f77497d7e8e0653d38cc628 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rms/rms10.sce | 181965af998a39cb4ef125213bdf8a9c8637fd96 | [] | 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 | 55 | sce | rms10.sce | y=[%i 2 4];
Y=rms(y,2);
disp(Y);
//output
// 2.6457513
|
51e788b9d59d399d9b0bb16aed90387c43070c0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH7/EX7.8/example_7_8.sce | 668ac6dc56b7664ae8cdb3e74912909bd97e3f71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_7_8.sce | q=poly([1 1.105 0.1055 0.0005],'s','coeff');
G=20000/q //gain FACTOR=20000
H=1
y=G*H
p=poly([0 1],'s','coeff');
R=1000/p
Kp=limit(s*y/s,s,0)
Ess=1000/(1+Kp)
Css=1000-Ess
disp(Css," Css = ")
|
7325cba8b0235c7aa570c32a60626aaddc5a60d1 | d4378f69494bc2d6737ffe45bc04a9a7b9cc63fc | /EEG/presentation/ws15_pilot1.sce | b4d4b153322b954f3f607e143e89cd58f01de0da | [
"Apache-2.0"
] | permissive | ws15code/prob-trans | 5bafc45b2afc99ade356f3b42ad08210068e0496 | 57969a8dce8fc29b11227bf3bc9e7ac26071ce63 | refs/heads/master | 2020-06-02T18:00:19.639273 | 2016-11-30T22:12:46 | 2016-11-30T22:12:46 | 31,018,603 | 5 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 35,016 | sce | ws15_pilot1.sce | # WS15 - EEG pilot 1
# Authors: Giovanni Di Liberto, Trinity College Dublin, Ireland
# Date: 20/02/2015
# Description: This pilot experiment consists in a repeated presentation of isolated syllables,
# randomly picked from a group of 28 syllables. In particular, the syllables are:
# (m,n,... |
f32b4c5e3dbb05f238771833bf604d8eb794471f | 0dd46f764213376689f04c662c7bef9c1517ae8b | /sin/sin.sci | d0ee7f71548f634d4cf01bbaf2445c0d78b49092 | [] | no_license | hospitaler17/NumMeth | 85d174e6f8adfb488b577855b0f5b9977a87438b | 283677e9f47df559febaab33cc216e3634b95612 | refs/heads/master | 2021-09-12T12:43:55.522029 | 2018-04-16T20:09:09 | 2018-04-16T20:09:09 | 109,737,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,021 | sci | sin.sci | x = -%pi*5:0.1:%pi*5;
xlabel('X(мм)');
ylabel('Y(мм)');
title('Графики синуса и синусов, разложенных в ряды Тейлора')
xset("thickness",3);
y1 = x;
y3 = x-(x.^3)/6;
y5 = x-(x.^3)/6+(x.^5)/factorial(5);
y7 = x-(x.^3)/6+(x.^5)/factorial(5)-(x.^7)/factorial(7);
y9 = x-(x.^3)/6+(x.^5)/factorial(5)-(x.^7)/factorial(... |
0ddd39104423c22fd2fd2b5e7221a42c74c38550 | 5c99f90e816244fbea65c73357432fb54ac25d09 | /dynamic_channel_alloc.sce | 7d6bc383d61ac77b1867b0e5dac982d82b54bd29 | [] | no_license | varunkamble/story_book | 6301153ce6898a4275f99017facd814ea1df1633 | 0bc1f9d059b9cc718e36ea0b8da4a53dd24812d3 | refs/heads/master | 2020-03-26T05:27:21.794874 | 2018-10-21T17:15:34 | 2018-10-21T17:15:34 | 144,558,147 | 0 | 1 | null | 2018-09-18T13:33:23 | 2018-08-13T09:31:05 | Python | UTF-8 | Scilab | false | false | 1,951 | sce | dynamic_channel_alloc.sce | clc;
total_ch = 50;
control_ch = 12;
traffic_ch = 38;
prior(1:38) = grand(38,1,"uin",1,10);
x = zeros(1,38);
for i = 1:38
x(i) = prior(i);
end
count_high = 1;
count_low = 1;
for i = 1:traffic_ch
if (x(i) <= 5) then
high_index(count_high) = i;
high_priority(count_high) = prior(i);
coun... |
66d84e4834541259d765d1478918cbef4c345db8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH20/EX20.11/20_11.sce | 1f1868ec44eb3462dd96bea45e38206708822e2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 20_11.sce | clear//
//Variables
VSmin = 19.5 //Minimum source voltage (in volts)
VSmax = 22.5 //Maximum source voltage (in volts)
RL = 6.0 * 10**3 //Load resistance (in ohm)
VZ = 18.0 //Zener voltage (in volts)
IZmi... |
d44559298a94522655b9c54fc96f45ea538be3b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH3/EX3.3/Example3_3.sce | f225f9ca66d03abb7937ba18bf6b60aaa7a7338b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | Example3_3.sce | clear ;
clc;
// Example 3.3
printf('Example 3.3\n\n');
//Page no. 81
// Solution
// Basis 1 hour
rc = 5000 ;//[cpm-counts per minute]
cg = 10000/24 ;//[cells/hr]
k = cg/rc ;//[cells/cpm]
n_rc = 8000 ;//[cpm]
n_cg = k*n_rc ;//[cells/hr]
printf('New average cell growth rate is %.0f cells/hr.\n',n_cg);
in... |
fed5dea9bdf17e0c122bce7b420c724a24725707 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH2/EX2.2/Ex2_2.sce | 8f000c9f133d9aad90df15c40df4255adc697fde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | Ex2_2.sce | clear all; clc;
disp("Scilab Code Ex 2.2 : ")
//Given:
theta = 0.002; //radians
bc=1; //m
ba = 0.5;//m
//Calculations:
bb_dash = theta*ba;
avg_normal_strain = bb_dash/bc;//m/m
//Display:
printf("\n\nThe average normal strain =%10.3f m/m",avg_normal_strain);
//---------------------------------... |
60579ad959eae540e676a0377e2079c7c15193f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH27/EX27.9/Example27_9.sce | 06277625e7b264075c45695e959ea2bf410151ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,628 | sce | Example27_9.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 1: SYMMETRICAL SHORT CIRCUIT CAPACITY CALCULATIONS
// EXAMPLE : 1.9 :
// Page number 472
clear ; clc ; close ; // Clear the... |
2e65a772059af30a32d55dc3922e6af7aa6394eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH3/EX3.4/example3_4.sce | 84e6e1341cb5c962448e7220d4545c513ff2c304 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | example3_4.sce |
//example 3.4
//calculate
//Depth of water required to irrigate the soil
clc;
//Given
Sg=1.6; //Apparent specific gravity
Fc=0.2; //Field capacity
M1=150; //mass of sample soil
M2=136; //mass of sample after drying
d=0.9; //depth of soil to be irrigated
Mc=(M1-M2)/M2;
D=Sg... |
066ed24916d92c9a69353b2562653078e2bfcea5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.9_1.tst | 5a57557ef18fe27117b6e5c348f07f3ab8520e81 | [] | 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 | 799,694 | tst | 5.9_1.tst | 9 83:1 150:1 162:1 295:2 333:1 424:2 442:1 596:1 643:1 843:1 879:3 892:1 1148:2 1160:1 1276:1 1457:1 1477:1 1543:1 1562:1 1627:1 1699:1 1895:2 1993:1 2006:1 2216:1 2219:1 2485:2 2780:1 2867:1 2888:1 2936:1 2965:1 3266:1 3271:1 3357:1 3459:1 3478:1 3489:1 3574:1 3599:1 3688:1 3742:1 3790:1 3838:1 3918:2 3998:1 4093:1 42... |
29c009cbac1e00614f48f4e874c3d75da2a69bc3 | f98e6eb45cba97e51f3e190748f75d277fc4c38d | /Lab/Lab4/testwhile.sce | bf5be96e57961ab11b64ea321b1552385b546f95 | [] | 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 | 708 | sce | testwhile.sce | // รับค่าของตัวแปร x ทาง keyboard
x = input("Please enter a positive integer: ");
// แสดงข้อความส่วนหัวของตาราง
printf("-----------------------\n")
printf("x\t\ln(x)\n") // \t หมายถึง tab
printf("-----------------------\n")
// แสดงค่า x และ ln(x) ทีละบรรทัด ตราบเท่าที่ x ยังคงมีค่าเป็นบวก
while x>0
printf("%d\t%.... |
04ed539577fb9c3d74f39188986d7d1ee5340d27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH1/EX1.24/Ex1_24.sce | 51f83352d8e7ab3f0a7830aa3c0a6b3e62a217e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | Ex1_24.sce |
clc
//Given that
r = 0.5 // Bohr radius of hydrogen in angstrom
m = 9.1e-31 // Mass of neutron in Kg
h = 6.6e-34 // Plank constant
printf("Example 1.24")
v = h/(2*%pi*r*1e-10*m) // velocity of electron in ground state
printf("\n Velocity of electron in ground state is %e m/s.\n\n\n",v)
// Answer in book is 2... |
152753d24b67d7d1ed028500c050f9c8ee5b120a | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH12/EX12.1/ex12_1.sce | db5b80f2f4b321c85127466112a1e2662209b3ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | ex12_1.sce | //Example 12.1
clc;
chart_speed=40; //Given Chart speed in mm/s
time_base=5; //one cycle of signal recorded in mm
period=time_base/chart_speed;
f=invr(period);
printf('\nFrequency of signal is %.2f cycles/s\n',f) |
ad6b20565f4e834b5c8c3a5d5cfde8979cec3cfe | 26a5c1af73f4a38015facdbd9a056d7b61bce694 | /test_create_employee.tst | deba3414656228553c0444b1698a2719a54cfb86 | [] | no_license | csnailadi/test-ldms | 79113ae8f3e1d3b96ea73677ac892bcbccffffa7 | 3bebc5fa9ff873317bc2ce8eb98b7f53415034bb | refs/heads/main | 2023-05-04T02:02:51.442521 | 2021-05-27T11:50:39 | 2021-05-27T11:50:39 | 371,157,094 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 740 | tst | test_create_employee.tst | PL/SQL Developer Test script 3.0
17
declare
-- Non-scalar parameters require additional processing
p_emp_record employees%rowtype;
begin
p_emp_record.employee_id := 90011;
p_emp_record.employee_name := 'Chandra Test2';
p_emp_record.job_title_id := 3;
p_emp_record.manager_id := 90002;
p_em... |
1fcd8cd9f2de9cd89813ef6adebee188851afb2d | d7087cf730b37f76170323e080c090f8094979ac | /test/parser/t4.tst | 5574d21d5928d5e73682d092c7c08b2699687444 | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | tst | t4.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
if true
then
echo toto | cat -e;
echo tutu; echo toutou; echo tata;
fi;
</stdin>
|
ae74b60ca8d5fb968216744b8d92fe1e9d6ae3a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH11/EX11.3.1/11_3_1.sce | 5ee91443f73607eb2f05c46074c348f5d22dd123 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | 11_3_1.sce |
//chapter_no.-11, page_no.-507
//Example_no.11-3-1
clc;
Pavg=250*(10^-3);//average_power_flowing_in_the_positive_z_direction
Io=100*(10^-3);//total_peak_current
Z0=(2*Pavg)/(Io^2);
disp(Z0,'the_characteristic_impedance_of_the_coplanar_strip_line(in ohms)is =');
|
bb41780dc61dd8e09642be2801d88534b90ef3fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH6/EX6.4/6_4.sce | b81167de2326cf37f41a30dba2172fd2ff6720f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 153 | sce | 6_4.sce | clc
//initialisation of variables
Kp= 1.06*10^-2 //atm
a= 0.990
//CALCULATIONS
P= Kp*(1-a^2)/(4*a^2)
//RESULTS
printf (' pressure = %.2e atm',P)
|
5c4d7904f6ca57756410c0a5ed0d7ddcaad22c88 | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /main/vsCatenary/testCatProjSeveral.sce | 4030f3a3827541cc82eae74cadddf213a670a098 | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,281 | sce | testCatProjSeveral.sce | // test catenary projection in an image
// when the attached points are mobile
clear;
//close;
exec('../../Load.sce');
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
// USE... |
15af2471e8d8e07e2f44041c7bcd899d81e1d239 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH17/EX17.6/Example_6.sce | f138207aad2c6f5d0909fb68c0585803ef783825 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | Example_6.sce | //Chapter-17,Example 6,Page 371
clc();
close();
v= 10^6 //volume of water
m1 = 40 //mass of Ca+2
m2 = 24 //mass of Mg+2
m3 = 44 //mass of CO2
m4 = 122 //mass of HCO3-
amnt_1 = 20 //amount of Ca+2 in ppm
amnt_2 = 25 //amount of Mg+2 in ppm
amnt_3 = 30 //amount of CO2 in p... |
b63ce85882fc12741d2532dbae348294586ea31d | c88f425345e1bef1a882d37f1759c2d438113204 | /2d_conflict-cylinder.sci | b07afdd4cc300ee5b208d341aedc3954e8d7f78b | [] | no_license | NnataKha/Fire-Water-Model | fb2550e59d41bac5f0bab70659f49e11694ec4d9 | ecfb61b9593583678991c22dac7da11857f4c4ae | refs/heads/master | 2020-03-16T18:42:15.863932 | 2018-05-10T10:47:21 | 2018-05-10T10:47:21 | 132,883,725 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,931 | sci | 2d_conflict-cylinder.sci | clear;
n = 7; // # of cells in a row
m =310; // # of steps
cp = 1;
cr = -1;
con_coef = 0; //coefficient for the competing neighbours influence
pos_coef = 0; //coefficient for the helping neighbours influence
x = linspace(0,9,n);// initial values
y = linspace(0,9,n);// initial values
for i=1:n
for j=1:n
... |
f98b89c54417f25cf7ebb827b2f1d7830c5594cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH21/EX21.5/Ex21_5.sce | b4b18bb558d65799a40fdeb089a060e9bdbc6df2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,042 | sce | Ex21_5.sce | // Initilization of Variables
r=0.12 // m // length of the crank
l=0.6 // m // length of the connecting rod
N=300 // r.p.m // angular velocity of the crank
theta=30 // degree // angle made by the crank with the horizontal
// Calculations
// Now let the angle between the connecting rod and the horizontal rod be ph... |
d377f4cdb5e848f4764039807c34b961d0d8f9ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH12/EX12.13/Ex12_13.sce | 728af1fc7adc180d05d8640b515f62c1280ef729 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | Ex12_13.sce | clc
clear
printf("Example 12.13 | Page number 441 \n\n");
//Find adiabatic combustion temperature when methane is burnt
//Part(a) using average Cp values
//Part(b) using ideal gas enthalpy
//Part(a)
printf("Part(a)\n")
//Picking up various Cp values from Table 12.1
tB = (16*50010)/(44*0.842+2*18*1.86+3*32*0.... |
cc6b2475c5e384bd85d4f2e7724f05bdf17d13a0 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /robLongRangeHs.sce | 42a1a3e08b7e25b95817894e71e1e6e77ad764d6 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 30,913 | sce | robLongRangeHs.sce | Name=robLongRangeHs
PlayerCharacters=Gamer
BotCharacters=Quaker Bot Fast Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Gamer
AddedBots=Quaker Bot Fast Strafes.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=longrange.map
MapScale=3.8125
BlockProjectilePredictors=true
BlockCheats=true
Invi... |
725fa065c79faadc93dd8e8e523760abe455c8d7 | 3c9ed378363a111d20ce027e85cbc5ac9629bbb9 | /Bisección.sce | a93815d3ed5b8099a7bf84f1e90c3625d6cf049a | [] | no_license | JeG99/scilab-code | 2b9eade6e57730a6274fb7ffc3f723bfd26d6153 | eae76b665688e04a5de2af8b56d0357ab0de340b | refs/heads/master | 2022-10-09T06:33:39.463575 | 2020-06-06T03:52:43 | 2020-06-06T03:52:43 | 269,859,512 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,055 | sce | Bisección.sce | clear
///////////////////////////////////////////////////////
// Bisección.sce
//
// Este programa aproxima la solucion de una función
// de volumen utilizando el método de bisección, dado
// un rango [xl, xu], un error aproximado máximo y un
// número máximo de iteraciones
//
// José Elías Garza Vázquez
// ... |
b5afc0e1afad47a25c777f2b7d2c479f47fe643c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH9/EX9.1/Ex9_1.sce | 74f3aa18c9840a55efd6da7ea7baa6cafbfdc1a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Ex9_1.sce | //Calculations
//Simplifying equation (3) after substituting value of Nb in it we get
//m_u^2+m_u*2*tand(50)-1=0
//Solution of the equation
a=1
b=2*tand(50)
c=-1
g=sqrt(b^2-(4*a*c))
//solution
x1=(-b+g)/(2*a)
x2=(-b-g)/(2*a)
//As x2 does not make any physical sense x1 is the answer
//Result
clc
printf('T... |
b761a56b9055b4b5ad8ca7a5adfd518cd0a8acf5 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/B02.prev.tst | 2a4d0fb74914ff2def518092dd8bb22dfbb178a8 | [
"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,804 | tst | B02.prev.tst | [0/1.0] a^3 + b^3 - c^3 - d^3
a0 b0 c0 d0: a_0^3+b_0^3-c_0^3-d_0^3; success 0
{a=0, b=0, c=0, d=0} - trivial SOLUTION
a1 b0 c0 d0: 1+6*a_0+12*a_0^2+8*a_0^3+8*b_0^3-8*c_0^3-8*d_0^3; failure constant=1, vgcd=2 ?
a0 b1 c0 d0: 1+8*a_0^3+6*b_0+12*b_0^2+8*b_0^3-8*c_0^3-8*d_0^3; failure constant=1, vgcd=2 ?
a1 b1 c0 d0: 1+3*a... |
b2b4eaa30eed02d9b909927278f65fcfe2e8133c | 74084a1c6ef810ee05785941963c7dc1725783cf | /test/UR0.prev.tst | 709355734e6d4d2eb737be088fb8ce2418e8201b | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/common | 338d245dc6a1ef093748fa577129ac30822ec70b | da1e36931decdbdfe201d88207d5a01c207f8c5a | refs/heads/master | 2022-03-21T14:56:42.582874 | 2022-02-07T10:39:22 | 2022-02-07T10:39:22 | 59,970,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | tst | UR0.prev.tst | URL http://www.teherba.org/index.html ok
URL mailto:punctum@punctum.com&subject=Test URIReader ok
URL jar:file:///home/gfis/work/gits/dbat/dist/dbat.jar!/META-INF/LICENSE ok
URL news://news.netcologne.de/alt.free.newsservers failed
URL gopher://gopher.rbfh.de/0/Fun/500miles.txt failed
URL file:///home/gfis/work/gits/db... |
c76534b367072339c5c449c7b50478d2f4fa4d93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH7/EX7.2/example7_2.sce | 78cf49f53c15c087c5a56a20562c2bd98ba7c5fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | example7_2.sce | clc
// Given that
A = 0.05 // amplitude in meter
T = 10 // time period of S.H.M. in sec
// Sample Problem 2 on page no. 7.22
printf("\n # PROBLEM 2 # \n")
v = (A * 2 * %pi) / T
printf("\n Standard formula used \n v = (A * 2 * pi) / T")
printf("\n Maximum amplitude of velocity = %f meter/sec",v)
|
a563ab946e8bb6d2b4b0b65194cefe561263cec5 | f5bb8d58446077a551e4d9a6461a55255db523fe | /integracao_numerica/calc3.sce | d6602b124bc1f2bbb152b64c3f7ac1e4f6476eb6 | [] | no_license | appositum/numerical-calculus | 6be1a9990a1621c705af6ba5694cf8c7b891d06e | 7759e74ce9ce5c5826f96be7de84a2f7ecb97c91 | refs/heads/master | 2021-07-19T18:19:09.336819 | 2018-11-27T21:52:36 | 2018-11-27T21:52:36 | 143,060,426 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | calc3.sce | // regra 3/8 de Simpson
function y=f(x)
y = cos(x)
endfunction
// derivada de ordem 4
function y=df(x)
y = cos(x)
endfunction
a = 0
b = 0.6
h = (b-a)./3
x1 = a
x2 = x1+h
x3 = x1 + 2.*h
x4 = b
//R = (h./3).*(f(x1) + 4.*f(x2) + f(x3))
//printf("Aproximacao da integral: %g\n", R)
// calculo do erro
x = a:0.05:... |
bc074efe828693bfdaae2c365684ffe67037639f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH5/EX5.4/5_4.sce | c0975add00a2008738a86d41d98688c864157fab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_4.sce | clc
clear
//Initialization of variables
h1=1172 //Btu/lb
hf1=355.36 //Btu/lb
hfg1=843 //Btu/lb
//calculations
h2=h1
x1= (h2-hf1)/hfg1
//results
printf("Quality of steam = %.1f percent",x1*100)
|
f730e6d3c9c4ee4a55e58b28f5a62e46dbe13eab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH21/EX21.4/EX21_4.sce | 531242c8f5fe19056be1b2fd262695d0bca85d8a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,069 | sce | EX21_4.sce | clc;funcprot(0);//EXAMPLE 21.4
// Initialisation of Variables
t1=300;........//Temperature of air entering the turbine in K
t3=1148;..............//Temperature before expansion in turbine in K
etac=0.8;....//Efficiency of compressor
etat=0.852;.....//Efficiency of turbine
rp=4;...........//Pressure ratio
p1=1;..... |
11a73e1aa5672f10f0ba552984a909fde2d8d814 | ebeb01647d8befa67b61bb30a7503abd26cc518e | /add.sce | d809696cbdf7d365467671f645db2fa186826e40 | [] | no_license | ciarap/Scilab_Labs | 153903c46c94492672c1da9497a030f548d3940e | af994c56ae44c4872a969cab376056dd18871f3c | refs/heads/master | 2021-07-04T20:12:39.635697 | 2017-09-25T22:53:15 | 2017-09-25T22:53:15 | 104,810,103 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 35 | sce | add.sce | for i=1:4
a(i)=i^2
end
disp(a)
|
487845d8fd8f4d95eeb61de982ffa41f5d544ad6 | e86f908be00c4a3a017e81d12588d76562c56b75 | /macros/buttord.sci | bb8c85c8411f96d389f51711fef4641a55c01c8e | [] | no_license | ShashikiranYadalam/FOSSEE_SP_task | 8869a14f664329625b76e15e771058b90b69b1e1 | 601ca7b7c91587a430c69c9ceb1f87b196c8e566 | refs/heads/master | 2020-03-20T06:38:26.598686 | 2019-03-01T12:31:10 | 2019-03-01T12:31:10 | 137,255,176 | 0 | 0 | null | 2018-06-14T05:16:17 | 2018-06-13T18:27:32 | HTML | UTF-8 | Scilab | false | false | 1,655 | sci | buttord.sci | function [n, Wc] = buttord(Wp, Ws, Rp, Rs)
///This function computes the minimum filter order of a Butterworth filter with the desired response characteristics.
//Calling Sequence
//n = buttord(Wp, Ws, Rp, Rs)
//[n, Wc] = buttord(Wp, Ws, Rp, Rs)
//Parameters
//Wp: scalar or vector of length 2
//Ws: scalar or vector o... |
c81ca34ec0a112b00fa6a9d985bbf2be11b4b49b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH8/EX8.5/Ex8_5.sce | e9087a4e7414d49fe5f7121bace66d28feddf360 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | Ex8_5.sce |
//To determine the weights of Nickel and Silver Deposited
//Page 456
clc;
clear;
F=96500; //One Farad of Charge
//Equivalent Weights of the Following metals
EWAg= 108; //silver
EWNi= 58.6/2; //Nickel
I=20; //Current Passed
T=1*60*60; //Time for which the current is passed
TC=T*I; //Total Charge produced
... |
9af5c23778146cdf46c50934b4d7eacdb91443f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH11/EX11.3/Example11_3.sce | e2cb4b15d0d0fb992215da8d6a3b3a0a45026227 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | Example11_3.sce | //Given that
W1 = 3.40 //in rad/s
W2 = 2.00 //in rad/s
rev_taken = 20
//Sample Problem 11-3a
printf("**Sample Problem 11-3a**\n")
angle_traversed = 2*%pi*rev_taken
//Using newton's third equation of motion
//Wf^2 = Wi^2 + 2*alpha*theta
alpha = (W2^2 - W1^2)/(2*angle_traversed)
printf("The angular accelera... |
ffed8d5cdb0fd55919947266e72bfbf2bf1c015c | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH17/EX17.2/17_2.sce | 2f8e6478c9399a4ea692fe23085a77f208a85cb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 960 | sce | 17_2.sce | //clc()
x = [1,2,3,4,5,6,7];
y = [0.5,2.5,2,4,3.5,6,5.5];
n = 7;
s = 0;
ssum = 0;
xsq = 0;
xsum = 0;
ysum = 0;
msum = 0;
for i = 1:7
s = s + (det(x(1,i)))*(det(y(1,i)));
xsq = xsq + (det(x(1,i))^2);
xsum = xsum + det(x(1,i));
ysum = ysum + det(y(1,i));
end
a = xsum/n;
b = ysum/n;
a1 = ... |
852a0b8c626495b2f5940ffd0196bf1da35cf105 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH5/EX5.06/5_06.sce | 3798bdba539794c71ee8ff82bb5a57e75ff4f393 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_06.sce | //Problem 5.06:
//initializing the variables:
P = 1; // in atm
tm = 68.6
//calculation:
perO2bymol = 7*100/tm
perHClbymol = 1*100/tm
perH2Obymol = 2*100/tm
ppO2 = perO2bymol/100
ppHCl = perHClbymol/100
ppH2O = perH2Obymol/100
printf("\n\nResult\n\n")
printf("\n patial pressures (for O2 = %.3f atm for ... |
3d1fe81df22889e76be185f9445527eb77a760a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH10/EX10.2/10_2.sce | 13348740a3558f91269fe4a485cb8ca21d629e59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_2.sce | pathname=get_absolute_file_path('10_2.sce')
filename=pathname+filesep()+'10_2data.sci'
exec(filename)
lambda=(m*l^3)/(6*EI);//λ
a=188,b=-44,c=1
m1=(-b+(b*b -4*a*c)^0.5)/(2*a);
m2=(-b-(b*b -4*a*c)^0.5)/(2*a);
omega1=(m1/lambda)^0.5;//ω1
omega2=(m2/lambda)^0.5;//ω2
f1=[omega1;omega2];
f=min(f1)/(2*%pi);
printf... |
5d7b4189aad6feb7a359801519ac6e718e7340da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH10/EX10.4/S_10_4.sce | b6e80d1e5d39f388b2f0e0cc08d9ee2cba87ad9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | S_10_4.sce | clc;
m=10;//kg, mass of rim
r=300;//mm, radius of disk
a=0.08;//m
b=0.3;//m
k=4;//kN/m
g=9.81;//m/s^2 gravity
//From theory we get
//sin(theta)=k*a^2/m/g/b*theta
dif=1;
for theta=0:0.001:1
dif=sin(theta)-k*a^2/m/g/b*theta;
if dif<=0.001 then printf("theta= %.3f rad or %.1f degrees\n",theta,theta/... |
26838b1f1fbf6e8d207dbf92c93dfc11e4de7020 | 117d2e73730351cc15ef378cd319a907c507e476 | /ajuste de curvas/ajusteMultiplo.sce | 12aa724fe59bcff02953bc77bbfcee490634265d | [
"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 | 6,964 | sce | ajusteMultiplo.sce | clc
clear
format (10)
//
//printf("\n\nMetodo do Ajuste Multiplo:\n");
//
////A = [4, 6 ,10;
//// 6, 14, 20;
//// 10 ,20 ,30];
////z = [24 46 70];
//
////A = [ 8 22 8;22 108 57; 8 57 36];
////z = [57 92 -5];
//A = [8 22 8;22 108 57;8 57 36];
////z = [57 92 -5];
//A = [1.25 0.25 1.5;0.25 1.25 1.5;... |
865b9a9c8a5189d5ee773e116075bdd879086209 | 181f67b4868e49ca80872d6ac088a51540f90da6 | /186A10/centroid.sce | dc132fdb84d220a0a9b74efaeaad2f4b3be073d4 | [] | no_license | nobody51/AP186 | 567f25ba1ad7f71ad2983860078eeaccffa46080 | cb916fc9b38b508026403a2227ffc76d490fe948 | refs/heads/master | 2021-08-28T09:35:55.488122 | 2017-12-11T21:34:46 | 2017-12-11T21:34:46 | 104,969,401 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | centroid.sce | firstAxis = [];
secondAxis = [];
for count=1:11
I = imread("C:\Users\ADMIN\Documents\PHYSICS\6thYear\186\AP186\186A10\cleaned\cleanPen"+string(count)+".jpg");
[A,BB,centroid]=imblobprop(I);
firstAxis(count)=mean(centroid(1,:));
secondAxis(count)=mean(centroid(2,:));
end
disp('x-axis values in pixel coo... |
f900a8296ff1f19656dccc708bad19e9467e24aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH2/EX2.3/Ex2_3.sce | ca88641f45c098b708bc75e31ba08471629874dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | Ex2_3.sce | //Example 2.3
displacement_a=+2;//Displacement in part (a) (km), See Example 2.2
distance_a=abs(displacement_a);//Distance traveled in part (a) (km)
printf('Distance travelled in part (a) = %0.2f km',distance_a)
displacement_b=-1.5;//Displacement in part (b) (km), See Example 2.2
distance_b=abs(displacement_b);//D... |
79ca5848b6793f3c3853f2232cefd329148341ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH3/EX3.4/ex3_4.sce | c173ae4e881df32b967c0db00f32eadcae8ee1d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_4.sce | //ex3.4
P_D_max=400*10^-3; //power in watts
df=3.2*10^-3 //derating factor in watts per celsius
del_T=(90-50); //in celsius, temperature difference
P_D_derated=P_D_max-df*del_T;
disp(P_D_derated,'maximum power dissipated at 90 degree celsius') |
1426155513206c41e6525dccbe589b7a3bb65570 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH3/EX3.17/Ex3_17.sce | 695a877b9f3bba788bfd37f641294a451e0710ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | Ex3_17.sce | //Ex3_17 Pg-192
clc
C=20 //capacitance in pF
V=5 //supply voltage in V
K=C*sqrt(V)
C_V1=K/sqrt(V+1)
printf("Capacitance for 1V increase =%.1f pF",C_V1)
|
40142545e9dd24dae216e5da2a3ace9484c4362b | b61214213da59c049ec1a018e815f4feb95bccca | /lexers/Scilab/example_ZDT3.sce | a402b48d9a074e52b3a2d0d0ab7efece74a584d0 | [] | no_license | Alexey-T/lexer_tests | 25ab893f928fe2ac073c153e349c140fd3bd8678 | 3d26a98a4f9a2ae12c4074ea90b9416d75736b83 | refs/heads/master | 2023-08-17T13:07:10.432096 | 2023-08-13T06:51:15 | 2023-08-13T06:51:15 | 74,854,492 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,142 | sce | example_ZDT3.sce | // Copyright 2012 Manolo Venturin, EnginSoft S.P.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... |
be2bfb7ea42ce0191a211d10604ad5f58543cd8f | fe8d8fdfd76a35c2c7840989d444c052e301728a | /basic_statistics/make_histogram.sce | 77dc15a8b115e0c2f321eb72e9309f5a97c8b1d6 | [
"MIT"
] | permissive | KASHIHARAAkira/scilab_signal_analysis | a7522d678f6255aaa43e5a0ea14dec2387955712 | 20036ad50f7e099b52066ad8d4f439d412927984 | refs/heads/main | 2023-03-21T05:11:32.372462 | 2021-03-23T00:22:43 | 2021-03-23T00:22:43 | 348,306,832 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | make_histogram.sce | rangeData = 2:1001; // 1から1000の範囲を示します。
DATA = csvRead("./src/data.csv",',', [], 'string'); // data.csvを読み込みます。
TEMP = DATA(rangeData, 2).'; // 読み込んだデータの中から、気温データだけを抽出します。
TEMP = strtod(TEMP); // 文字列データとして読み込んだので、数値に変換します。
// データを線グラフに描画する
histplot([16:36],TEMP, normalization=%f) // 気温データをヒストグラムで表示する
ylabe... |
ed3601199e62b65f017d5c4841cd4c2e5f122127 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH9/EX9.6/Ex9_6.sce | 097f9a8e1a7eec2462ade718143ff25a33e19351 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | sce | Ex9_6.sce | clc
T0=110//degree C
T=27+T0*log(2)
disp(T,"T in degree C is= ")
|
83479d9a120af5b85bccc8e38576318662560918 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH10/EX10.15/ex10_15.sce | 57fdc3a0d503dec166a0b58afbb290f84d8474cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | sce | ex10_15.sce | //ex10.15
f_cu=2000;
f_cl=200;
BW=f_cu-f_cl;
disp(BW,'bandwidth in hertz') |
adbca73f57f77806bee45c9757c2aafec53535bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.31/Ex5_31.sce | 41e7e39db4c9df2cbc1fbeac6f22da4973c0e888 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,304 | sce | Ex5_31.sce | clc
// capstan lathe
tc1 = 300 // total cost in Rs
mc1 = 2.5 // material cost per piece in Rs
olc1 = 5 // operation labour cost per hour in Rs
ct1 = 5 // cycle time per piece in min.
slc1 = 20 // setting up labour cost in Rs per hour
st1 = 1 // setting up time in hour
mo1 = 300/100 // machine over heads of oper... |
e9e7bacbccd0764f04b471e8fd9c1ad98568e3b7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/scicos/getparpath.sci | 1795a6b349cca6df2703e475b21480b95f0831d7 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 960 | sci | getparpath.sci | function ppath=getparpath(scs_m,bpath,ppath)
// getparpath - computes path to block parameter data structure in scicos structure
//%Syntax
// ppath=getparpath(scs_m) standard call
// ppath=getparpath(scs_m,bpath,ppath) recursive call
//%Parameters
// scs_m : scicos data structure
// bpath : current path to scs_m... |
5318ab0684ce01c1dd34ce2c59f32dcd5c7cdc2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH13/EX13.10/c13_10.sce | fc3c8493d2ebbf59cc838d6ee7fc2cd9bf93abf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,233 | sce | c13_10.sce | //(13.10) Determine the change in entropy of the system of Example 13.6 in kJ/K.
//solution
Rbar = 8.314 //universal gas constant in SI units
//The chemical equation for the complete combustion of methane with oxygen is
//CH4 + 2O2 ----> CO2 +... |
25f40a6fdcb34e094fb0b2bc53c10ef3c6e93b70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH9/EX9.8/example_9_8.sce | 72c96259ad70f75161178cdb41d7ee0ab5f9484a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,056 | sce | example_9_8.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 9
// Mass Transfer
// Example 9.8
// Page 369
printf("Example 9.8, Page 369 \n \n");
V = 0.5 ; // [m/s]
T_h = 30 ; // [C]
T_c = 26 ; // [C]
Tm = (T_h+T_c)/2;
// From table A.2
rho = 1.173 ; // [kg/m^3]
Cp = 1005 ; // [J/kg K]
k... |
47d8dcd05b1e8e0e507b5bcc6c7cbd4af24287f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH1/EX1.2/Example2.sce | b616263309a4c99d9b7bd086e934c92c251f6c66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | Example2.sce | clear()
//clc()
disp("Example 2 : Clear the current session window at the press of a key")
printf("\n**********************************************************\n")
disp("Answer :")
disp("")
disp("Press any key to clear the Session window ")
halt("")
//clc()
|
27ee44ffc8e1a978a3e4892e19edec7a26a8bec9 | fd7a25076f7e59bdd5cf288a37259d52c17275a1 | /TP01/zhang.sce | ff3b954e2ea7b2351fee74a21bc798fa1a9d2ca5 | [
"MIT"
] | permissive | Barchid/VISA | f8d402f9b3b392f2c25a9fe48e26f12443f2d507 | 1b8842e5985ab3f60580c25c9b9563634d4c8708 | refs/heads/master | 2020-07-28T04:44:30.033374 | 2020-01-06T00:10:19 | 2020-01-06T00:10:19 | 209,313,232 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,960 | sce | zhang.sce | []// -----------------------------------------------------------------------
// Methode de Zhang pour la calibration d'une camera
// Copyright (C) 2010-2017 Universite Lille 1
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published... |
bacf12ed63ee8743a03061c6716eff6fb9f68d29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH1/EX1.7/7.sce | b7d15a99cdb71d1d38fa02de84965457ee1f26f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | 7.sce | clc
//Example 1.7
//Calculate the wt of metallic aluminium deposited in an electrolytic cell
I=50000//Ampere or Coulumbs/sec
//1 hr = 3600 sec
I1=50000*3600//C/hr
//96500 C = 1 gm.eq
//1 mole of aluminium = 3 gm.eq
//1 mole of aluminium = 27 gm
m=I1*(1/96500)*(27/3)/1000//Kg/hr
printf("the wt of metallic alum... |
a0098849ad0079eb5d9731cb6afc7fa46f36f519 | cb795495d7cb7e053c51236279bdfedf3e4b7a37 | /Scilab/Iris & Pima India using ANN/pima.sce | 170b93db20b95cff506573c8c84c36a3b0ef27e3 | [
"MIT"
] | permissive | memr5/Machine-Learning-Portfolio | 7b21443912deb8381518fcf0c12b4fd15ecbb9a6 | 31a9430aa957949c3f9e05e696f25f7200e21263 | refs/heads/master | 2021-07-17T15:48:05.964583 | 2020-04-23T12:35:58 | 2020-04-23T12:35:58 | 201,817,591 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,893 | sce | pima.sce | data = csvRead('pima-indians-diabetes.csv')
X = data(:,1:8)'
y = data(:,9)'
// Train-Test split
[X, y] = ann_pat_shuffle(X, y)
split = floor(size(X)(2)*0.7)
X_train = X(:,1:split)
y_train = y(:,1:split)
X_test = X(:,split+1:size(X)(2))
y_test = y(:,split+1:size(X)(2))
// Filling missing values
for i=2:6
temp0 ... |
df4cea733a9bd3682cc181e73940335d486ed72d | c89c3eb73e1c7b9f26076ad36749b4fd9ee2a69d | /My Implementations/OR16Way.tst | a24f0284c571afb9458902ace797456287969a88 | [] | no_license | gvela024/Elements-Of-Computing-Systems | cef0f824a4ca775ff7d2353a49c6510134db83da | 65a2b40979439b0d77e6fab1b3faa4b1a78ddd03 | refs/heads/master | 2021-01-22T03:13:48.244660 | 2015-12-26T00:53:51 | 2015-12-26T00:53:51 | 41,272,979 | 0 | 0 | null | 2015-11-11T22:27:40 | 2015-08-24T00:17:59 | Assembly | UTF-8 | Scilab | false | false | 134 | tst | OR16Way.tst | load OR16Way.hdl,
output-file OR16Way.out,
output-list in0%B1.16.1 out0;
set in0 %X0000, eval, output;
set in0 %X0200, eval, output;
|
e6380958597515fedf94b15d224ba6111b03194d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH8/EX8.1/8_1.sce | 86ebd487ff4faabca1da02ed43b59b280fee3c17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_1.sce | clc
//Initialization of variables
b=4 //m
y=1.2 //m
sf=0.001
n=0.012
gam=9.81*1000
//calculations
A=b*y
R=A/(b+ 2*y)
Q=1/n *A*R^(2/3) *sf^(1/2)
T=gam*R*sf
//results
printf("Discharge = %.3f m^3/s",Q)
printf("\n bed shear = %.2f N/m^2",T)
//The answer in textbook is wrong for discharge. Please use a calcu... |
370cc35b06355c2bd00ebeb9675d35f1d7234c59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH4/EX4.6/46.sce | 1120ad9b6c690e55beb0c33e87de04bc3589dff4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 46.sce | // problem 4.6
b=2
d=3
H1=4
H2=7
H=0.8+H1
Cd=0.62
g=9.81
Q1=(2*Cd*b*((2*g)^0.5)*((H*H*H)^0.5-(H1*H1*H1)^0.5))/3
Q2=Cd*b*(H2-H)*((2*g*H)^0.5)
Q=Q1+Q2
q=Q*1000
disp(q,"Discharge in litres/sec")
|
a55e2459827af4e913a7dae31604376b8ba40e0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH6/EX6.6/EX6_6.sce | 62928e77d52439b4da6bb7291b91451dfe16795e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | EX6_6.sce | //Finding of Pressure Difference
//Given
g=9.81;
spgr=0.9;
spgr1=13.6;
rho=1000;
rho1=spgr*1000*g;
zd=0.3;
gd=25;
x=(spgr1/spgr)-1;
x1=((gd*x)/100)+zd;
//To find
pd=x1*rho1;disp(x1);
disp("Pressure Difference ="+string(pd)+" N/m^2");
pd1=pd/10000;
disp("Pressure Difference ="+string(pd1)+" N/cm^2");
|
3b4b6d24c6dc94b348ce8a6a72ee63f05b62c42a | 9651e8d97efa545ec67b74488e570618d7175865 | /Project/Improved-Ray-Tracer/executables/for_windows_rendering/scenes/glass_w_straw/glass_w_straw.sce | 6305529aeeffb898ec459a3c21179d9ed9c9e0e1 | [] | no_license | Ghalicb/computer-graphic-concepts | ae3f97be77b285e9f222200699c734f7c658b378 | 8995f1ad7e924c062e2df88b0d88db9fe0b5d95c | refs/heads/master | 2022-09-04T18:24:18.315890 | 2020-05-13T13:36:49 | 2020-05-13T13:36:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,061 | sce | glass_w_straw.sce | #The origin is at the center of the box
# maximum recursion depth and number of paths per pixel
max_depth 10
paths_per_pixel 1500
# camera: eye, center, up, fovy, width, height
camera -150 200 600 0 1 -4 0 1 0 80 1000 1000
# background color
background 0 0 0
# AreaLights : center, color, block_side, x_p... |
df641ea72f6674b56fd0bdc874b2c2a7809018a4 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/LocalRegions/Tests/LocProject_Diff3D_Reg_Hex_Lagrange_Basis_P6_Q7.tst | e2ef5492bed3d0f264e476d280a10170c8ccebae | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 633 | tst | LocProject_Diff3D_Reg_Hex_Lagrange_Basis_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>LocProject_Diff3D Reg. Hex Lagrange Basis, P=6, Q=7</description>
<executable>LocProject</executable>
<parameters>-s hexahedron -b GLL_Lagrange GLL_Lagrange GLL_Lagrange -o 6 6 6 -p 7 7 7 -c 0.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 0.0 1.... |
e15f2dbd3a24d48d4720040fafc7d158a87ee7dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.15/Example6_15.sce | baa5c550d07b091b3c52d283c2a0c13fa4cca15c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | Example6_15.sce | //Example 6.15
clc
format(5)
beta_dc=100
alpha_dc=beta_dc/(1+beta_dc)
disp(alpha_dc,"The d.c. current gain of the transistor in CB mode is, alpha_dc = beta_dc/(1+beta_dc) = ") |
936c0b89072621d0bffcf896fc2a28b62d9ec9c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH5/EX5.3/Ex5_3.sce | 71188b43b2f88b7c2d89e9953c60b2640cfd6eb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | Ex5_3.sce | clear;
clc;
disp('Example 5.3');
// aim : To determine
// the new volume of the gas
// Given values
V1 = 10000;// [mm^3]
T1 = 273+18;// [K]
T2 = 273+85;// [K]
// solution
// since pressure exerted on the apparatus is constant so using charle's law V/T=constant
// hence
V2 = V1*T2/T1;// [mm^... |
d91e8037687e1bf23a2f3663d28456bf4b93618f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH14/EX14.5/14_5.sce | 2747af5fc3b623232265ca32a47d3944e2e06cb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | 14_5.sce | clc
//initialisation of variables
s2= 5.7905 //kJ/kg K
s1= 4.4728 //kJ/kg K
s3= 4.64437 //kJ/kg K
s4= 5.7883 //kJ/kg K
s5= 6.2036 //kJ/kg K
s6= 5.9128 //kJ/kg K
//CALCULATIONS
S1= s2-s1
S2= s4-s3
S3= s5-s6
//RESULTS
printf (' Entropy= %.4f kJ/kg K',S1)
printf (' \n Entropy= %.4f kJ/kg K',S2)
printf (' \n... |
e0aa23d1aa33e52363e6aab05b185be92c9b20ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /20/CH2/EX2.29.131/example2_29_pg131.sce | f67a9454f38c96be0bd6eb62d06d1eb813f20a41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,102 | sce | example2_29_pg131.sce | // Example2_29_pg131.sce
// Positive Negative and Zero sequence voltages
// Theory of Alternating Current Machinery by Alexander Langsdorf
// First Edition 1999, Thirty Second reprint
// Tata McGraw Hill Publishing Company
// Example in Page 131
clear; clc; close;
// Given data
V_1 = 1000 + 50*%i;
V_2 = -800 + 100*%... |
591f80211501607e96277f03d2cbb9112a3195b6 | 00e20965b325210cb29d4887402a2d5d7f9368fc | /Labs6_9/Course/test2.tst | d12df90637e1dbeadf1d4200a9e2ab25eb526c58 | [] | no_license | hxnchar/KPIlabs | 375f414b3666d4a09e5aed09cf8f9763ac15f819 | 5d5ebffd18d75e46bc06b194bfac70ec82bf6014 | refs/heads/main | 2023-05-01T06:42:39.814773 | 2021-05-20T10:36:52 | 2021-05-20T10:36:52 | 344,482,733 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,142 | tst | test2.tst | 5
1.Сформулюйте теорему Піфагора
+а)У прямокутному трикутнику квадрат гіпотенузи дорівнює сумі квадратів катетів.
б)У прямокутному трикутнику квадрат гіпотенузи/2 дорівнює сумі квадратів катетів.
в)У прямокутному трикутнику квадрат медіани дорівнює сумі квадратів катетів.
2.Сформулюйте математичний запис теореми П... |
b4b29178f38d158f535cafb4bd30f5e0ccd46dca | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/getblocklink.sci | 51b8f92b36df56c45e8a4c44e02e81de73aee6bd | [
"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 | 480 | sci | getblocklink.sci | function [k,wh]=getblocklink(objs,pt)
// Copyright INRIA
n=size(objs)
wh=[];
x=pt(1);y=pt(2)
data=[]
k=[]
eps=4
for i=2:n //loop on objects
o=objs(i)
if o(1)=='Block' then
graphics=o(2)
[orig,sz]=graphics(1:2)
data=[(orig(1)-x)*(orig(1)+sz(1)-x),(orig(2)-y)*(orig(2)+sz(2)-y)]
if data(1)<0&data(2)<0 ... |
e8c609a5760476921ae643cc4cd26d7a41eae0bd | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/ldpd.instr.tst | 0ebae28423fdb5cbc387464e3e3b5fa0fb703206 | [] | 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 | 1,514 | tst | ldpd.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000046 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x0000007a ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x0e 0x90 ld r0, -X
0x2: 0x1e 0x90 ld r... |
00259133ce25aca1fdc1fcbb6925a5d3d4cb9466 | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH8/EX8.2.2/Freq_Sampling_Technique2.sce | 23ddf28e0fda8e759f85f64447f4160198972000 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 976 | sce | Freq_Sampling_Technique2.sce | //Graphical//
//Example 8.2.2
//Design of FIR Filter using Frequecny Sampling Technique
//Low Pass Filter Design
clear;
clc;
close;
M =32;
T1 = 0.3789795; //for alpha = 0 (Type I)
Hr = [1,1,1,1,1,1,T1,0,0,0,0,0,0,0,0,0];
for k =1:length(Hr)
G(k)=((-1)^(k-1))*Hr(k);
end
h = zeros(1,M);
U = (M-1)/2
for... |
ab854c32ce7d310fd35356f4f3838e4562dea031 | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH12/EX12.1/Ex12_1.sci | 55379e6d475e7489a75c4103bcf6f55098a554b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 799 | sci | Ex12_1.sci | clc();
clear;
// To calculate the heat transfer coefficient
L = 1029; // Heat of evaporation in Btu/lb
n = 0.654*10^-5; // Kinematic viscosity in Btu/hr-ft-F
p = 62; // density in lb/ft^3
k = 0.367; // Thermal conductivity i... |
064bb4e4c24bc5e418a0b0f3442279c886d36866 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH5/EX5.7/5_7.sce | e4f2d8c56ca37d0db679a247f5a467e28c41d41c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,138 | sce | 5_7.sce | clc,clear
printf('Example 5.7\n\n')
//case(i)
V_L=440
V_ph=V_L/sqrt(3)
phi=acos(0.8)
//armature resistance drop from the graph
//RS=1.1 cm and scale =50 V/cm
arm_leak_resis= 1.1*50 //armature leakage resistance
OB=V_ph*cos(phi)
AB=V_ph*sin(phi) + arm_leak_resis
E_1ph= sqrt( OB^2+AB^2 )
F_f1=6.1... |
5ab2430198e4be70e6a506545c782e054c5a6919 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH4/EX4.3/4_3.sce | bf70424fcff0171848539d49fca1b361c8f1b2a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | 4_3.sce | //ques-4.3
//Calculating COD of effluent sample
clc
V=25;//volume of effluent (in mL)
v=8.3;//volume of dichromate (in mL)
M=0.001;//molarity of dichromate
//1000mL of 0.001M dichromate = 6x8x0.001g of oxygen
O=(6*8*M*v)/1000;//oxygen in 25mL sample (in g)
O=O*(1000/25);//oxygen in 1L sample (in g)
printf("COD... |
1223ca9c8b460d17b72dc6916753a21a165adbf3 | a45f93853fdb67523e71e3e7fb88c4298eae1ef7 | /Screens/Connection Failed Bad Game Data Screen.tst | 2e00e2018120cda6c484830cdbfb582b5f6717ec | [] | no_license | voarsh/Disney-Treasure-Planet-Battle-at-Procyon | 68192cbfdf8b823bc8399e3ea1e62d4976b74aed | 99cbbc70701ef6e8f9d95eba1052635de992910f | refs/heads/master | 2020-04-16T01:44:03.761947 | 2016-06-08T10:25:05 | 2016-06-08T10:25:05 | 38,745,932 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,022 | tst | Connection Failed Bad Game Data Screen.tst | ScreenName String 'Connection Failed Bad Game Data Screen'
ImplName String 'Dialog Screen'
ElementChunkArray Int 6
ScreenElementType Int 0
ImplName String 'Front End Dialog Screen Backdrop'
TabIndex Int 1
Selectable Bool False
Enabled Bool True
ReferenceArea Rect( 67, 185, 562, 427 ) # left,top,right,bottom
ScreenElem... |
76ecb99e388f88e01aff4bf08b2ba304ca7d5620 | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/voidtest_runme.sci | 87011a48de86bc0367020f78be1d7a28c6d97129 | [] | no_license | maqalaqil/swag-c- | b8880cfc92424d5bbca1fe15ed98663a41063f27 | 6fd1ba2bf1d353f24c116a3c89a8540292b86a7d | refs/heads/master | 2020-07-06T21:02:08.949652 | 2019-09-01T07:56:55 | 2019-09-01T07:56:55 | 203,137,066 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sci | voidtest_runme.sci | exec("alaqiltest.start", -1);
globalfunc();
f = new_Foo();
Foo_memberfunc(f);
Foo_staticmemberfunc();
v1 = vfunc1(f);
checkequal(alaqil_this(v1), alaqil_this(f), "vfunc1(f) <> f");
v2 = vfunc2(f);
checkequal(alaqil_this(v2), alaqil_this(f), "vfunc2(f) <> f");
v3 = vfunc3(v1);
checkequal(alaqil_this(v3), alaqil_th... |
416b26a35a67530dfd632a0ce7e73b8bbe67f693 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH7/EX7.4/Exa7_4.sce | 5c36424ba48a269290803fc234ce0e051bca0443 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | Exa7_4.sce | //Exa 7.4
clc;
clear;
close;
//given data :
f=3000;//in MHz
f=f*10^6;//in Hz
d=20;//in feet
d=20*0.3048;//in meter
c=3*10^8;//in m/s
lambda=c/f;//in meters
r=2*d^2/lambda;//in meters
disp(r,"Minimum distance between primary and secondary in meters : "); |
c97ef9a32705d81971693080127911e75df476ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH17/EX17.3/3.sce | 40e274eec10a3e2bb4cf4e5ff9f2cc19ebfe6695 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | 3.sce | clc; funcprot(0);
//Example 17.2 Time to Climb Formula
//Variable Initialisation
h1 = 8000;
h2 = 13600;
//Calculation
H = h1^2/(2*h1-h2);
//Results
disp(H,"Ceiling (ft) : ");
|
dd71ae6c1d4b9c2a227c92d6662a29fd4f9ccddc | 29d8820a457f748f5bb162c5a84ce51437271a23 | /discrete-time-signals.sce | fbfac44fb9c5c255b291c599046a17f7120b7ac8 | [] | no_license | pscretn/scilab-dsp | eb79c9ce10292724dc731f8b160dfec515603f96 | ad35c46f6217866da2af8d9b9417a2ab22d71ff0 | refs/heads/master | 2023-02-26T23:22:21.969133 | 2020-11-29T17:25:20 | 2020-11-29T17:25:20 | 317,001,029 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sce | discrete-time-signals.sce | clc
clear
close
x=[0:1:9]
//discrete ramp//
subplot(3,2,1)
title("discrete ramp ")
plot2d3(x,x)
xlabel('time')
ylabel("amplitude")
//discrete step//
y=[ones(1,10)]
subplot(3,2,2)
plot2d3(x,y)
title("discrete step ")
xlabel('time')
ylabel("amplitude")
//discrete exponential//
subplot(3,2,3)
x=[0:0.1:1]
y=exp(x);
plot2d... |
88c769bf17f805fb49b915bfa495b5bd2e451ee9 | 743902c2406b7976cc824458091bd276b916d47c | /test/ACATS/BD/BD8002A.TST | 00bb7726f05bec0d100aa0e5f9bc0c1144de567c | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | OneWingedShark/Byron | f220d419bbe938ed9df588e0a1073f74bbcc03a2 | 18305e400be9a31d1b1e55a6da4d984c6a8926df | refs/heads/master | 2020-12-24T16:33:29.242045 | 2020-05-16T23:29:29 | 2020-05-16T23:29:29 | 41,644,524 | 55 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,665 | tst | BD8002A.TST | -- BD8002A.TST
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
c25aabce792853518eefafae8982bb05761df3ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.59/ex_1_59.sce | 7e0fcbe0201e673d3f23b7ff487cc9d2b07ba1cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_1_59.sce | //Example 1.59://READING
clc;
clear;
q=[5.30,5.73,6.77,5.26,4.33,5.45,6.09,5.64,5.81,5.75];//length in mm
AM= mean(q);//arithematic mean in mm
for i= 1:10
qb(i)= q(i)-AM;
end
Q= [qb(1),qb(2),qb(3),qb(4),qb(5),qb(6),qb(7),qb(8),qb(9),qb(10)];//
AV=(-qb(1)-qb(2)+qb(3)+qb(4)-qb(5)-qb(6)+qb(7)+qb(8)-qb(9)+qb(10))/10;//... |
1920b6b6ebaada7f317342bcf9f9f3cc06e8980f | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH2/EX2.7/Ch2Exa7.sci | 72fd3607471e414c6fa1cd827bd757b64c49eece | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sci | Ch2Exa7.sci |
M= 4.9; //Linear attenuation coefficient for gamma ray in water, m^(-1)
I= 2.0; //Original intensity of gamma ray, MeV
//Part (a)
x= 10; //distance travelled under water, cm
x= x/100; //converting to m
Irel= %e^(-(M*x)); //Relative intensity
disp(Irel,"Relative intensity of the beam is: ")
//Result
//... |
834f186bca9ea14e84e67531c740029abeb91cab | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH8/EX8.10/ex8_10.sce | a65a00a2b93c960755df73bbdf1ef13457ba7a67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | ex8_10.sce | //ex8.10
V_DD=-15; //p=channel MOSFET
g_m=2000*10^-6; //minimum value from datasheets
R_D=10*10^3;
R_L=10*10^3;
R_S=4.7*10^3;
R_d=(R_D*R_L)/(R_D+R_L); //effective drain resistance
A_v=g_m*R_d;
R_in_source=1/g_m;
R_in=(R_in_source*R_S)/(R_in_source+R_S); //signal souce sees R_S in parallel with inpu... |
6ac7987afa5a1eb2065eb2d3213ad89221044d8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH10/EX10.13/ex10_13.sce | f00505456403afbda67109418fd214c2ce4a8268 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 667 | sce | ex10_13.sce | // Exa 10.13
clc;
clear;
close;
format('v',6)
// Given data
R1 = 20;// in k ohm
R1 = R1 * 10^3;// in ohm
R2 = 20;// in k ohm
R2 = R2 * 10^3;// in ohm
h_ie = 2;// in k ohm
h_ie = h_ie * 10^3;// in ohm
R_L = 1;// in k ohm
R_L = R_L * 10^3;// in ohm
R_E = 100;// in ohm
h_fe = 80;
A = (-h_fe*R_L)/h_ie;
dis... |
adce9fb351e72779c45c9b94a4716dcc4978fa44 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/examples/link-examples/ext5c.sce | 7dbe0dbfb5a82ac1c8b990aebccd21f37e701aa8 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | ext5c.sce | host('make /tmp/ext5c.o');
link('/tmp/ext5c.o','ext5c','C');
// reading vector a in scilab internal stack
Amatrix=[1,2,3];b=[2,3,4];
c=fort('ext5c',b,1,'d','out',[1,3],2,'d');
c-(Amatrix+2*b)
|
f5b3ddd2c11e5af392e4786731f96474a0239a79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH11/EX11.8/Example_11_8.sce | 24f7f12ebf87726ac0a06e41519f2e37efc28517 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,782 | sce | Example_11_8.sce | clear;
clc;
printf('Example 11.8'); //Example 11.8
// Find Number of theoretical plates needed and the position of entry for the feed by mccabe thiele method
F = 100; //Feed [kmol]
function[f]=Feed(x)
f(1)=x(1)+x(2)-100; //Overall mass Balance
f(2)=0.9*x(1)+.1*x(2)-(... |
9fcd51fa1f3c9e19f9a5ec186d694899666f7c8c | c90039f74887835096a93884110d643c4823e530 | /doc/oficial/dados para treinamento RNA/RNA_ANALISE_TECNICA/Indicador/Sinal/RNA_SINAL.sce | ef788ee9e14e5363d4894e373a9d47b4e2a28cdc | [] | no_license | igorlima/CellInvest | da991366b329b5d8021e9b949d7b726023489ec8 | c5411247e504b8a8d0ad77d32d41bbd2aee39930 | refs/heads/master | 2020-04-06T03:40:05.614164 | 2012-10-23T12:58:20 | 2012-10-23T12:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 607 | sce | RNA_SINAL.sce | path_rna_sinal = get_absolute_file_path('RNA_SINAL.sce');
exec( path_rna_sinal+"\HISTOGRAMA\RNA_HISTOGRAMA.sce" );
exec( path_rna_sinal+"\MACD\RNA_MACD.sce" );
N_SINAL = getN( path_rna_sinal + "\N_SINAL.txt" );
W_SINAL = getW( path_rna_sinal, "SINAL" );
function saida_da_rna = rna_sinal( macdLine, macdSinal, alphaMac... |
3c41cdd027e309b71237d7e3595e6c9538f46ec4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH1/EX1.5/1_5.sce | af2edcb74d8ab2656a371c77e46c6c0cfaefc5ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | 1_5.sce | //ques-1.5
//Calculating amount of lime required
clc
A=25;//content of Calcium carbonate in water (in ppm)
B=144;//content of Magnesium carbonate in water (in ppm)
C=95;//content of Magnesium chloride in water (in ppm)
V=50000;//volume of water given (in L)
a1=(A/100)*100;//CaCO3 equivalent of A (in ppm)
a2=(B/... |
c20064d371df8d4799c72db572f29e9c6155f705 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH11/EX11.6/Ex11_6.sce | 5276ef8b143835e0f3ac7576ce9af6a2b487d8c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | Ex11_6.sce | clear;
clc;
Beff=250 //effective gain
B1=25 //current gain of transistor
B2=8.65 //effective gain of Darlington-pair
iB=50*10^-3 //in A
//Calculation
iC2=iB*(Beff-B1)
iE2=(1+(1/B2))*iC2
mprintf("Emitter current= %2.2f A",iE2)
|
af2e018ae7017ec223d03bcd5476bec5eece0ae5 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-InverseCumulativeDistribuionFunctions/FLInvCDFGamma-Netezza-01.tst | d6b2ef23caeeff6b03e825446b1fc861fe3439c9 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,284 | tst | FLInvCDFGamma-Netezza-01.tst |
-- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.... |
f9a3954ec430085953aa0dd266a024b0d72371b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH5/EX5.1/ex_1.sce | 2974635e84f4d3fc16cb37a3b2fd95447398374b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | ex_1.sce | //Example 1 // wavelength
clc;
clear;
close;
//given data :
v=960;// in m/s
n=3600/60;// in per sec
lamda=v/n;
disp(lamda,"The wavelength,lamda(m) = ")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.